What is the amplitude unit when we plot wav. files?

조회 수: 31 (최근 30일)
Lis
Lis 2013년 9월 3일
댓글: Mohammed Alkhatib 2022년 6월 12일
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

채택된 답변

Walter Roberson
Walter Roberson 2013년 9월 3일
편집: Walter Roberson 2013년 9월 3일
  댓글 수: 2
Lis
Lis 2013년 9월 3일
Thank you for reading my question. I understand that the amplitude range is –1.0 <= y <= +1.0. What I would like to know is if the values contained in this range are voltage values or if they are a normalized plot of voltage values that must be converted before the SPL calculation.
Lis
Walter Roberson
Walter Roberson 2013년 9월 3일
They are normalized, with -1 to correspond to the minimum voltage that can be produced by the line driver, and +1 to correspond to the maximum voltage that can be produced by the line driver.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Daniel Shub
Daniel Shub 2013년 9월 3일
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
Zhuoyi Ma 2020년 9월 20일
You forgot to divide the x by P0= 20e-6
Mohammed Alkhatib
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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simulation, Tuning, and Visualization에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by