Generating Magnitudes for IFFT Synthesis

Nov 4, 2012 at 7:35am

Generating Magnitudes for IFFT Synthesis

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. –
#56939
Nov 4, 2012 at 8:30am

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

#204069
Nov 4, 2012 at 4:26pm

Ah, perfect! Thanks!

#204070

You must be logged in to reply to this topic.