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.

Delay emulates reflectionTutorial 28: Processing—Delay lines with feedbackYou can delay a signal for a specific amount of time using the tapin~ <strong>and</strong> tapout~ objects.The tapin~ object is a continually updated buffer that stores the most recent signal it hasreceived, <strong>and</strong> tapout~ accesses that buffer at one or more specific points in the past.Delaying a signal with tapin~ <strong>and</strong> tapout~Combining a sound with a delayed version of itself is a simple way of emulating a soundwave reflecting off of a wall before reaching our ears; we hear the direct sound followedclosely by the reflected sound. In the real world some of the sound energy is actuallyabsorbed by the reflecting wall, <strong>and</strong> we can emulate that fact by reducing the amplitude ofthe delayed sound, as shown in the following example.Scaling the amplitude of a delayed signal, to emulate absorptionTechnical detail: Different materials absorb sound to varying degrees, <strong>and</strong>most materials absorb sound in a way that is frequency-dependent. Ingeneral, high frequencies get absorbed more than low frequencies. Thatfact is being ignored here.223

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

Saved successfully!

Ooh no, something went wrong!