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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Audio I/OAudio input <strong>and</strong>output with MSPIf you are not doing anything where precise synchronization between the control <strong>and</strong>audio is important, leave Scheduler in Audio Interrupt unchecked. You’ll get a bit moreoverall CPU performance for signal processingThe pop-up menus labeled Input Channel 1, Input Channel 2, Output Channel 1, <strong>and</strong>Output Channel 2 allow you to map the first two logical channels of I/O in MSP (i.e. thefirst two outlets of the adc~ object <strong>and</strong> the first two inlets of the dac~ object) to physicalchannels used by your audiodriver. Different audio drivers give you different options, forexample, the MME driver on Windows only supports two channels, so you will normallyuse the default options. To map additional logical channels, use the I/O Mappingswindow, which you can view by clicking the I/O Mappings button at the bottom of theDSP Status window (see below for more information about the I/O Mappings window).In addition, you can use the adstatus object from within your patch to map any of the 512logical audio I/O channels.The Optimize pop-up menu is found only on the Macintosh version of MSP. It allows youto select whether G4 (Altivec) vector optimization will be used by MSP when computingaudio. Vector optimization allows four samples to be processed within the space of asingle instruction. However, not all audio signal processing algorithms can be optimizedin this way (for example, recursive filter algorithms are substantially immune from vectoroptimization). Leaving this option on when using MSP on a G4 machine will enhanceCPU utilization <strong>and</strong> performance, although the exact performance gain depends on thealgorithm you are using <strong>and</strong> the number of MSP objects that implement it that have beenvector-optimized. If you are using a pre-G4 Macintosh turning the option on will have noeffect.The CPU Limit option allows you to set a limit (expressed in terms of a percentage ofyour computer's CPU) to how much signal processing MSP is allowed to do. MSP will notgo above the set CPU limit for a sustained period, allowing your computer to perform42

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

Saved successfully!

Ooh no, something went wrong!