Audio signal max/average amplitude

Hello, I suppose this is an easy question for some. Can anyone provide me with matlab coding on finding max amplitude/max samples/average amplitudes/amplitude range from a .wav audio signal?
Thank you in advance

4 Comments

What have you tried so far and which problems occur?
I tried to get some clues on the internet but I found nothing regarding this matter.
First you have to define what you mean by "amplitude". See another related question from earlier today: http://www.mathworks.com/matlabcentral/answers/21825-what-is-amplitudes-of-a-wav-signal
I'm trying to get the max/average amplitude in terms of the voltage that pass by the microphone to the 'line in' connector.

Sign in to comment.

 Accepted Answer

>> doc wavread
>> doc max
>> doc min
>> doc mean

1 Comment

The 'native' option of wavread() will likely be desired.
Voltage calculation would be assisted by reference to http://en.wikipedia.org/wiki/Line_level#Nominal_levels

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!