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.

Audio I/O: Audio input <strong>and</strong> output with MSPMSP interfaces with your computer's audio hardware via the dac~ <strong>and</strong> adc~ objects <strong>and</strong>their easy-to-use equivalents ezdac~ <strong>and</strong> ezadc~. If you don't have any special audiohardware <strong>and</strong> have no need for inter-application audio routing, the default driver on yoursystem will give you stereo full-duplex audio I/O with no special configuration on yourpart.In addition to Core Audio or MME on Windows, there are a number of other ways to getaudio into <strong>and</strong> out of Max/MSP. Each of these methods involves using what we call adriver, which is actually a special type of Max object. Some of these drivers facilitate theuse of MSP with third- party audio hardware. Also, a non real-time driver allows you touse MSP as a disk-based audio processing <strong>and</strong> synthesis system, removing the limit ofhow much processing you can do with your CPU in real time.MSP audio driver objects are located in the ad folder located in the /Library/ApplicationSupport/ Cycling '74 folder on Macintosh or in the C:\Program Files\CommonFiles\Cycling '74\ad folder on Windows. These object files must be in this folder called ad(which st<strong>and</strong>s for audio driver), otherwise MSP will be unable to locate them.We will begin with a discussion of audio input/output in MSP in general. Later in thischapter we will discuss aspects of specific audio drivers that are available to you in MSP.First we'll discuss the DSP Status window <strong>and</strong> how to use it to get information about youraudio hardware <strong>and</strong> set parameters for how MSP h<strong>and</strong>les audio input <strong>and</strong> output.The DSP Status WindowAll global audio parameters in MSP are displayed in the DSP Status window. To open theDSP Status window, just double-click on any dac~ or adc~ object in a locked Patcherwindow. Alternately, you can choose DSP Status… from the Options menu.The DSP Status window is arranged as a group of menus <strong>and</strong> checkboxes that set all ofthe parameters of the audio input <strong>and</strong> output in MSP. Since all of these options can bechanged from within your patch (see below), the DSP Status window serves as a monitorfor your current audio settings as well.36

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

Saved successfully!

Ooh no, something went wrong!