What is the amplitude unit when we plot wav. files?
显示 更早的评论
Hello, I work with bioacoustics and in my analysis I usually use softwares like Raven 1.4 and Adobe Audition. However, I've been urged to apply Matlab in my analysis.
I need to calculate underwater sound pressure levels. I usually take the values provided by Adobe (in dBFS) and perform the necessary conversions and calculations to obtain SPL. In Matlab I need to what is the amplitude unit when I open wav. files.
Can I calculate SPL directly from the wav. file using the amplitude levels and calibration data or do I need to insert a calibration file separately?
Thank you, Lis
采纳的回答
更多回答(1 个)
Daniel Shub
2013-9-3
0 个投票
Wav files come in two varieties. The first has a range -1 to 1 and the second has the range 0 to 255. For the first 20*log10(x) corresponds to dB FS while for the second 20*log10((x-128)/255) gives dB FS.
2 个评论
Zhuoyi Ma
2020-9-20
You forgot to divide the x by P0= 20e-6
Mohammed Alkhatib
2022-6-12
he is right you are wrong. he said its dB FS in that case you dont need to divide but if its dBSPL then you have to divide by P0
类别
在 帮助中心 和 File Exchange 中查找有关 Simulation, Tuning, and Visualization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!