Spectrogram FFT as Matrix (back and forth)

frank desben's icon

Dear all,
I am trying to convert a sound into a 2D spectrogram (via FFT) where the X-axis is the FFT per frame and the Y-axis is the time.
Basically I want to create a matrix that captures the sound of one second.

In the next step I want to also play back from that matrix - without noticable/strong quality loss.
So the temporal resolution should be good.

So far I didn't manage to solve it.
I looked at fft~ and jit.poke and also jit.catch - but didn't get it to work yet.

This is what I have so far:

Max Patch
Copy patch and select New From Clipboard in Max.

Can anybody point me to a solution for this?
Best, Frank

Martin Beck's icon

Maybe this here is of interest for you

Download link to patches and dissertation

http://www.tadej-droljc.org/portfolio/sonographic-sound-processing/

tmhglnd's icon

Check out the spectral processing tutorials from Jean-Francois Charles

Francisco Riffo's icon

hey, does anyone got the patches and dissertation from tadej? His webpage is not working atm :(