06-28-2021 10:59 PM
Hi,
I'm testing the audio from a product for High and Low Settings, and I think I already have the test working, but I would like to fully understand what I'm doing.
this is the test process that I'm following:
I'm getting the highest amplitude around 0.129 at 1200 Hz
but thru the exported spectrum data I'm getting as a High Value -22.173 dB at 1200 Hz too.
My question is why in the detected amplitude is getting a value (0.129) and other value in the exported spectrum data (-22.13dB). probably they are at different scale/units but I don't understand the math behind.
in advanced thanks for the support
Solved! Go to Solution.
06-29-2021 01:19 AM
Hi Luis,
@LuisFuentes wrote:
My question is why in the detected amplitude is getting a value (0.129) and other value in the exported spectrum data (-22.13dB). probably they are at different scale/units but I don't understand the math behind.
Let's see: all we get from you is a cryptic description and an image of the frontpanel of your VI. Two values are marked in that image…
What kind of answer do you expect with so little information?
How should we comment on your VI when you aren't willing to attach your VI?
06-29-2021 03:22 PM
Adding VI
Regards
Luis Fuentes
06-29-2021 06:14 PM - edited 06-29-2021 06:15 PM
Important things to note - read HELP first!
This is what I found by reading the help of the functions used,
06-30-2021 01:58 AM
The tone detection vi doens't rely on the single frequency bin 🙂
Have a look at the residual signal, IF the amplitude would be wrong, it would show in the residual signal.
Some information on how the tone detection vi works can be found in the presentation linked here.
I like to use the tone detection vi , however since the actual code isn't available, I use the validated sine approximation (LSME fit)
P. Händel, Evaluation of a standardized sine wave fit algorithm, 2000 IEEE Nordic Signal Processing Symposium, Kolmården, Sweden, 13-15 June 2000, pp. 453-456, http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.35.3486 other paper easy to get: https://www.ippt.pan.pl/repository/open/o3063.pdf