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.


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

  • Thanks, but Matlab is big and I've never used it, so I'm a little afraid of the learning curve. – reinierpost Jun 30 '10 at 9:54
  • 1
    Also, Expensive! – Fake Name Jun 30 '10 at 10:43
  • 1
    Try Octave instead - it's Matlab-compatible and free – Paul R Jun 30 '10 at 13:51
  • Wow! I have no idea Octave could process audio! Looks like this will be my answer. network-theory.co.uk/docs/octave3/octave_263.html – reinierpost Jul 8 '10 at 10:00
  • 1
    @pnuts the project finished before I found the time to figure it out, but I bear it in mind for future projects – reinierpost Oct 23 '12 at 8:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.