Convert audioread file to obtain spl

조회 수: 3 (최근 30일)
Justin
Justin 2022년 10월 29일
댓글: Star Strider 2022년 10월 29일
I have an audio recording of.wav file type that i want to obtain the spl for it. the audioread() function returns 2 columns with doubles. how do i convert that into spl and plot a graph of spl vs time?
My goal is to obtain the L50 level of the sound recording

채택된 답변

Star Strider
Star Strider 2022년 10월 29일
Use the Audio Toolbox function splMeter.
  댓글 수: 2
Justin
Justin 2022년 10월 29일
yeap i managed to get my graph up and running. But do you know how I can obtain the L50 sound level from it? or from the audioread() file?
Star Strider
Star Strider 2022년 10월 29일
I do not have the Audio Toolbox, so I have no experience with it. I am not certain what all its options are.
The median function can return 50th percentile value of a vector, and the prctile function can return the percentiles of a data set. See the documentation on each for details.

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

추가 답변 (0개)

카테고리

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