06-04-2014 03:26 PM
Hello,
I am aquaring a signal from a referenced microphone with "Sound Input Read.vi". i get a PCM data (doubl) between -1 and 1. I would like to know how to convert this data to dB SPL
the main prupose of the vi is to get the volume generated by a speaker. I would like to have the volume in dB SPL.
Is there someone who know how to do that ?
thanks in advance
06-05-2014 09:32 AM
Hello Redzouz,
I think this thread could guide you in the right direction, please refer to the link below:
http://forums.ni.com/t5/LabVIEW/Calculating-dB-in-sound-pressure-level/td-p/871078
Best regards,
Daniel Cabezas
Applications Engineering
National Instruments
06-05-2014 12:41 PM
i did read that post..but i didn't find a final solution.
so i am getting data with "Sound Input Read.vi", lets call it x(t).
So then I am calculating :
dB = 20 log ( RMS(x(t)) )
how i convert this value to dB SPL..in the microphone spec, it says the sensitivity is: 10 mV/Pa