[LAU] sndfile-waveform PNG generator ?

Robin Gareus robin at gareus.org
Tue Jan 10 14:38:39 UTC 2012


[re-arranged top-posted]
On 01/10/2012 02:59 PM, Vytautas Jancauskas wrote:
> On Tue, Jan 10, 2012 at 2:47 PM, Robin Gareus <robin at gareus.org> wrote:
> 
>> Hi *,
>>
>> Is there a command-line tool akin to `sndfile-spectrogram` that
>> generates an image (preferably PNG) of an audio wave-form?
>>
>> I found endless GUI apps, but command-line tools are scarce.
>>
>> TIA
>> robin
>>
> It's fairly trivial to write one your own with python using scipy.
> Should be in the ballpark of 20 lines or so.

Thanks, indeed. Python's also the only solution I found:
https://github.com/endolith/freesound-thumbnailer/blob/master/wav2png.py

It's also pretty straight-forward in C; but before whipping up
`sndfile-waveform`, I'd thought I ask around.

robin



More information about the Linux-audio-user mailing list