LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert PCM to dB/ dB SPL

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

0 Kudos
Message 1 of 3
(5,497 Views)

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

www.ni.com/support 

0 Kudos
Message 2 of 3
(5,457 Views)

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

 

 

0 Kudos
Message 3 of 3
(5,449 Views)