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 13Sampling:Recording <strong>and</strong> playbackThe most obvious way to use the play~ object is to send it a linearly increasing (ordecreasing) signal from a line~ object, as shown in the tutorial patch.Read through a buffer~, from one position to another, in a given amount of timeReading from 0 to 2000 (millisecond position in the buffer~) in a time of 2000 msproduces normal playback. Reading from 0 to 2000 in 4000 ms produces half-speedplayback, <strong>and</strong> so on.• Click on the different message box objects to hear the sound played in variousspeed/direction combinations. Turn audio off when you have finished.Although not demonstrated in this tutorial patch, it’s worth noting that you could useother signals as input to play~ in order to achieve accelerations <strong>and</strong> decelerations, such asan exponential curve from a curve~ object or even an appropriately scaled sinusoid from acycle~ object.SummarySound coming into the computer enters MSP via the adc~ object. The record~ objectstores the incoming sound—or any other signal—in a buffer~. You can record into theentire buffer~, or you can record into any portion of it by specifying start <strong>and</strong> end bufferpositions in the two rightmost inlets of record~. For simple normal-speed playback of thesound in a buffer~, you can use the count~ <strong>and</strong> index~ objects to read through it at thecurrent sampling rate. Use the line~ <strong>and</strong> play~ objects for variable-speed playback <strong>and</strong>/orfor reading through the buffer~ in both directions.128

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

Saved successfully!

Ooh no, something went wrong!