Plotting the volume of an audio file

2

2

Most applications that play sound display its volume graphically. I need that information (the sound volume as it changes over time) written to a text file so I can plot it myself and use it for analysis purposes. Thus far I haven't found any application that offers this as a feature, although sox seems to come close: its --plot function and stat effect offer more advanced functionality. I'm not sure how to google for it, either.

Can you suggest an easy way to generate such text files, on Linux or Windows? I can do some programming if that's what it takes.

reinierpost

Posted 2010-06-30T08:34:07.803

Reputation: 1 904

Answers

2

Matlab has audio processing feature. With Matlab, you can import/export audio data. I have no experience with this functionality of Matlab but the following links may help you.

alt text

Mehper C. Palavuzlar

Posted 2010-06-30T08:34:07.803

Reputation: 51 093

Thanks, but Matlab is big and I've never used it, so I'm a little afraid of the learning curve. – reinierpost – 2010-06-30T09:54:50.510

1Also, Expensive! – Fake Name – 2010-06-30T10:43:53.183

1Try Octave instead - it's Matlab-compatible and free – Paul R – 2010-06-30T13:51:28.667

Wow! I have no idea Octave could process audio! Looks like this will be my answer.

http://www.network-theory.co.uk/docs/octave3/octave_263.html

– reinierpost – 2010-07-08T10:00:16.647

1@pnuts the project finished before I found the time to figure it out, but I bear it in mind for future projects – reinierpost – 2012-10-23T08:29:14.960