0% found this document useful (0 votes)
39 views1 page

Emsd1 001 188

This document provides an algorithm for programming with Max/MSP that uses a patch to manipulate sound files. The patch loads a sound file and uses ksliders to multiply the pitch and speed of the sound file playback. The values of the ksliders range from -24 to 24, with 0 corresponding to middle C. The patch allows non-standard transpositions so successive keys do not correspond to successive semitones. For example, a factor of 2 transposes up an octave and doubles the speed. A factor of 0.5 halves the frequency, while a factor of 0.25 takes it to 1/4 of the original frequency.

Uploaded by

jackim123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views1 page

Emsd1 001 188

This document provides an algorithm for programming with Max/MSP that uses a patch to manipulate sound files. The patch loads a sound file and uses ksliders to multiply the pitch and speed of the sound file playback. The values of the ksliders range from -24 to 24, with 0 corresponding to middle C. The patch allows non-standard transpositions so successive keys do not correspond to successive semitones. For example, a factor of 2 transposes up an octave and doubles the speed. A factor of 0.5 halves the frequency, while a factor of 0.25 takes it to 1/4 of the original frequency.

Uploaded by

jackim123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Inter lude A - Programming with Max/MSP IA

ACTIVITY-ANALYZING ALGORITHMS

Examine this patch:

W"
nImInImInIm~
24

/ 12.
1

loadbang
T
loop 1
~
.. ~~
sig-

.
.. sig-
.... sig-

.
~--
.......sound-
............- groove~
groove- sound ciroove- soun;.t,
~ -
groove~ sound
...........
·•·•···•·
.•:·:::.-
....
,#:_•····•••••·
replace
J.
2_uffer-sound vs_harp_ri,!!.

Fig. IA.72

Now construct th is algor ithm on your computer and describe its funct ion,
detailing the various sets of sounds that are emitted by key presses and
multiplication factors. To obtain a clearer understanding of what is happening
in the patch, think about the values of the mult ipliers wh ile reviewing Table D of
Theory Section 1.4T. Note that the values of the kslider keys in th is algorithm
go from -24 to 24, and that the value associated with the midd le C key is 0.
Consider the result of using th is non-standard keyboard: successive keys do
not correspond to successive semitones. For example, the facto r 2, triggered by
the highest C, transposes up one octave and doubles the speed of the sound
played fr om an audio fi le. Which key halves the frequency? Wh ich ta kes it to
1/4 of the original?

173

You might also like