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.