Rect-Sfp Ay-: Activity - Substituting Part

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

1P Practice Act ivity

~ ACTIVITY - SUBSTITUTING PARTS OF ALGORITHMS

Open the patch 01 _ 17_pan.maxp at (seen in figure 1.68), and delete the
rect- object. In its place, insert a sampled soun d using sfp l ay- (with-
out an argument, in a manner that uses only the left channel), with control
over loop ing, th ree differe nt playback speeds (0.125 , 1, and 50), an "ope n"
command for openi ng the f ile " vs_piano_tango. wav " (that you will fin d in the
"virtualsound macros/soundfiles" fo lder), a toggle to activat e and deactivate
the reading of t he aud io fi le, and a button th at wi ll signal reading the end of
the f ile. Once you have completed th is substitu tion, it shou ld be possible to con-
tro l t he stereo posit ion of the "vs_piano_tango . wav " playback (or of w hatever
audio f ile has been loaded) using t he slider .

move the slider to contro l --~-------


the position of the sound '----=--------'
in the stereo image
,-1--.._ cont rol value for sound position :
~- -- ~ 0 0.5 = centered, 1 = right
= ·=25= ~0.:=~le~ft::_;,
1 minus the
control value !- 1 ·

left multip lication


factor
~
F 0.25 right multipl ication
factor

square root sqrt ---


square wave
reel- 440 sqrt square root

1) .s66o1 ./\ . l:L J


app~nd 20 : \ append 20
l;e- .: \ 17ne.:"'the numerical values are
- ••'='••••.._ i •:_ J.it• • •• • ,. smoothedusing line~

the mu ltiplication
-...
*~
••""
*- -

the mu ltiplication
factor is applied facto r is applied
to the amplit ude to the amp litude
of the osci llator of the oscillator
panning
algorithm

dac-

Fig. 1.68

116

You might also like