Page 1 of 1

Create a sound from spectrogram with sox and convert

Posted: 2013-12-19T15:42:53-07:00
by qolund
Hello,

I think it's possible to combine imagemagick with sox and create a sound from the associate spectrogram (in shades of grey, keeping it simple).
I think that some kind of iFFT of the matrix and piping to sox in some kind of raw format should conviene.

I then decided to ask the experts, which is the reason of my question here (I think this one will sink in the deepest abysses of the internet : http://stackoverflow.com/questions/2069 ... ck-and-sox).

Re: Create a sound from spectrogram with sox and convert

Posted: 2013-12-19T21:39:52-07:00
by snibgo
I've created images from sound but never sound from images. It should be simple enough if you know exactly what the spectrogram represents.

You could probably do it with Sox, although it would be awkward with multiple invocations of the command to generate the sounds and mix them. Csound would be easier but it has a steeper learning curve if you don't know it already.