How do I calculate the SPL from a .wav file with a calibrated value?
11 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have a signal that I need to calculate the SPL for.
I have a calibrated signal recording a 1kHz tone at 94dB SPL.
I've found that the Fs=44100.
Both are a wav file and I don't know where to start, I'd really appreciate a push in the right direction.
0 Commenti
Risposte (1)
Mathieu NOE
il 10 Dic 2020
hello
you can simply compare the rms value of the two wav files
to know the SPL of the signal vs the calibrated signal :
SPL = SPL(signal_cal) + 20*log10(rms(signal) / rms(signal_cal))
2 Commenti
Md Saiful Islam
il 7 Apr 2022
Hello Mathieu,
Thanks a lot for your response. However, the amplitude of the wav file is not in pressure. Can you suggest an way how can I find the pressure value from the wav file. Consider I have both the signals from calibrator and noise measurement.
Mathieu NOE
il 7 Apr 2022
hello
look at the fft dB amplitude you get with the wav file from the calibrator
so for example, assuming the calibrator genrates 94 dB SPL et the fft plot shows -20 dB , then your dB shift fatcor is 94 +20 = 114 dB. You have to add this factor to all fft plots (in dB) when running the code on wav files.
Vedere anche
Categorie
Scopri di più su Measurements and Spatial Audio in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!