programming with max/msp - Virtual Sound
programming with max/msp - Virtual Sound
programming with max/msp - Virtual Sound
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
3.1<br />
360<br />
Practice<br />
Fig. 3.6 The rand~ object<br />
Paragraph 3.1 - <strong>Sound</strong> sources for subtractive synthesis<br />
Obviously, this generator produces a spectrum that varies according to the<br />
frequency setting; it shows a primary band of frequencies that range from 0<br />
Hz up to the frequency setting, followed by additional bands that are gradually<br />
attenuated and whose width are also equal to the frequency setting. Figure 3.7<br />
shows this interesting spectrum.<br />
Fig. 3.7 The spectrum generated by the rand~ object<br />
In the example, we can see that the frequency of the rand~ object is 5,512.5 Hz<br />
(a quarter of the <strong>max</strong>imum frequency visible in the spectroscope in the figure),<br />
and the first band goes from 0 to 5,512.5 Hz. After this come secondary bands,<br />
progressively attenuated, all 5,512.5 Hz wide. Changing the frequency of rand~<br />
changes the width of the bands as well as their number. If you double the<br />
frequency to 11,025 Hz, for example, you will see precisely two wide bands, both<br />
11,025 Hz wide.<br />
Another noise generator is vs.rand0~ 5 (the last character before the tilde is<br />
a zero), which generates random samples at a given frequency like rand~, but<br />
that doesn’t interpolate. Instead, it maintains the value of each sample until a<br />
new sample is generated, producing stepped changes in value. The spectrum of<br />
5 You should know from preceding chapters that the “vs” at the beginning of this object’s name<br />
means that it a part of the <strong>Virtual</strong> <strong>Sound</strong> Macros library.<br />
from “Electronic Music and <strong>Sound</strong> Design” Vol. 1 by Alessandro Cipriani and Maurizio Giri<br />
© ConTempoNet 2010 - All rights reserved