Non Realtime FFT on Buffers

stygmate's icon

Hello All,

I'm searching a way to do offline fft on buffers.
basicly i want to do (fir/convolution reverb) impulses analysis and correction (like linearize phase or killing some resonances, ...).
i've seen we can use jitter fft and jit.buffer but i may not understanding some things about jitter ... !

4195.impulsealea.aif
aif
volker böhm's icon
Max Patch
Copy patch and select New From Clipboard in Max.

you have to specify the correct number of samples you want to output form jit.buffer~ using the 'outputlast' message.
phases are not clipped. they typically fall into a range of -π to +π, but the default view of buffer~ only shows a range of -1 to 1.

stygmate's icon

thank you :)

Ben ++

Nicholas Solem's icon

@Volker Böhm, sorry to bring up an old thread but I have a questions about this, as I'm a jitter noob.
Is there a simple way to adapt this so that the magnitude+phase buffer is an STFT of the entire original time-domain buffer? The difference would be that, every 2048 (or other window size) samples in the new buffer, it would be an FFT of the next 1024 (or other hop size) samples of the time domain buffer.
If this is possible, how would you apply a windowing function to each frame?

volker böhm's icon