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.

Table of ContentsTutorial 16: Sampling—Record <strong>and</strong> play audio files...................................................................... 139Playing from memory vs. playing from disk ......................................................................139Record audio files: sfrecord~.................................................................................................139Play audio files: sfplay~...........................................................................................................140Play excerpts on cue ................................................................................................................140Try different file excerpts .......................................................................................................141Trigger an event at the end of a file......................................................................................141Tutorial 17: Sampling: Review .................................................................................................... 143A sampling exercise .................................................................................................................143Hints ...........................................................................................................................................143Solution......................................................................................................................................145Tutorial 18: MIDI control—Mapping MIDI to MSP ......................................................................... 148MIDI range vs. MSP range.....................................................................................................148Controlling synthesis parameters with MIDI ....................................................................149Linear mapping ........................................................................................................................150Mapping MIDI to amplitude.................................................................................................151Mapping MIDI to frequency .................................................................................................151Mapping MIDI to modulation index...................................................................................152Mapping MIDI to vibrato.......................................................................................................153Tutorial 19: MIDI control—Synthesizer ....................................................................................... 154Implementing st<strong>and</strong>ard MIDI messages.............................................................................154Polyphony..................................................................................................................................154Pitch bend..................................................................................................................................155Mod wheel .................................................................................................................................156The FM synthesizer .................................................................................................................156MIDI-to-frequency conversion.............................................................................................156Velocity control of amplitude envelope ..............................................................................157MIDI control of timbre...........................................................................................................159Tutorial 20: MIDI control—Sampler ............................................................................................ 162Basic sampler features.............................................................................................................162Playing a sample: the samplervoice~ subpatch..................................................................165MSP sample rate vs. audio file sample rate.........................................................................165Playing samples with MIDI....................................................................................................167Tutorial 21: MIDI control—Using the poly~ object........................................................................ 169A different approach to polyphony......................................................................................169The poly~ object.......................................................................................................................170Tutorial 22—MIDI control: Panning ............................................................................................ 178Panning for localization <strong>and</strong> distance effects .....................................................................178Patch for testing panning methods ......................................................................................178Linear crossfade........................................................................................................................180Equal distance crossfade.........................................................................................................1816

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

Saved successfully!

Ooh no, something went wrong!