Forums > MaxMSP

Generating Magnitudes for IFFT Synthesis

November 4, 2012 | 7:35 am

I’m trying to perform IFFT synthesis in Max/MSP, meaning that I’d like to
feed a list of magnitudes into the ifft~ object to determine the resulting
spectrum. For example, I am using a 4096 point FFT, so let’s say I have a
list of length 4096, which the index of each value corresponding to a bin
number. At 44.1kz, each bin is 5.38hz, so now lets say my list is full of
zeros except bin 100- I would like to hear a 538hz tone. (I’m taking
phases from a noise~ object as seen in the patch below)

The problem I’m having is converting my list of magnitudes into something
that the ifft~ object can read. Using sig~ seems to only spit out the
first value of my list. Basically, I need to imitate what comes out of
the fft~ object followed by a cartopol~

– Pasted Max Patch, click to expand. –

November 4, 2012 | 8:30 am

have a look at the ‘forbidden planet’ example patch (examples/fft fun) — it does exactly what you are wanting to do


November 4, 2012 | 4:26 pm

Ah, perfect! Thanks!


Viewing 3 posts - 1 through 3 (of 3 total)