Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Which parameter of my audio file does Y refer to, where Y=wavread('sound.wav') ? Is it the volume or any other parameter?

Asked by Janani on 6 Jan 2013

I need the pitch contour plotted for two audio files. I used wavread() function but i am unsure which parameter of the audio data 'Y' represents. Kindly guide me.

I need to compare the pitches of two audio files.

0 Comments

Janani

Products

No products are associated with this question.

1 Answer

Answer by Walter Roberson on 6 Jan 2013

Y represents amplitude, probably in the scale -1 <= Y < 1 .

2 Comments

Jan Simon on 6 Jan 2013

@Walter: This answer is absolutely clear on first sight. But which amplitude is this exactly? The mean over the time of 1/Freq of the voltage measured by the AD converter? Does it linearly depend on pressure at the membrane of the microphone?

Walter Roberson on 7 Jan 2013

No volts are necessarily harmed in the creation of the file. Could be on any arbitrary scale, created by any arbitrary process. Recordings of water levels over an aeon for example.

Walter Roberson

Contact us