13.07.2015 Views

Tutorials and Topics - Peabody Computer Music

Tutorials and Topics - Peabody Computer Music

Tutorials and Topics - Peabody Computer Music

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tutorial 26Frequency domain signalprocessing using pfft~out the left outlet of the pfft~ <strong>and</strong> the part that is higher than the crossover frequency issent out the right. Here is how this subpatcher might be used with pfft~ in a patch:One way of using the xover~ subpatchNote that we can send integers, floats, <strong>and</strong> any other Max message to <strong>and</strong> from a subpatchloaded by pfft~ by using the in <strong>and</strong> out objects. (See Tutorial 21, Using the poly~ object fordetails. Keep in mind, however, that the signal objects in~ <strong>and</strong> out~ currently do notfunction inside a pfft~.)As we have already learned, the first two outlets of fftin~ put out a stream of real <strong>and</strong>imaginary numbers for the bin response for each sample of the FFT analysis (similarly,fftout~ expects these numbers). These are not the amplitude <strong>and</strong> phase of each bin, butshould be thought of instead as pairs of Cartesian coordinates, where x is the real part <strong>and</strong>y is the imaginary, representing points on a 2-dimensional plane.209

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!