09.12.2012 Views

The Kyma Language for Sound Design, Version 4.5

The Kyma Language for Sound Design, Version 4.5

The Kyma Language for Sound Design, Version 4.5

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Now double-click on the <strong>Sound</strong> to see how it is put together.<br />

A GenericSource is fed into a FrequencyScale <strong>Sound</strong> and a FrequencyTracker. Look at the parameters of<br />

the FrequencyScale. It takes the GenericSource and an estimate of the frequency of the GenericSource as<br />

inputs. <strong>The</strong>n it scales the frequency of the GenericSource by<br />

!Pitch hz / 4 d sharp hz<br />

which is the ratio of the frequency as supplied from the MIDI keyboard to the original frequency of the<br />

sample. Notice that both !Pitch and 4 d sharp are not frequencies but pitches, so they have to be converted<br />

into units of frequency in hertz. <strong>The</strong> ratio between two MIDI note numbers is quite different from<br />

the ratio of the two note numbers expressed in hertz; <strong>for</strong> example the ratio between 4 a and 3 a would be<br />

69/57 (about 1.2) in note numbers but 440/220 (exactly 2) in hertz. You can convert between most<br />

units of frequency or duration by typing the name of the desired units after the value in the original units.<br />

In MaxScale, enter the largest frequency ratio required. In this case it is 8/1 or a maximum shift of 3<br />

octaves up.<br />

For Window, select a wavetable that can serve as a nice, smooth granular amplitude envelope. In this case<br />

we have chosen Hann <strong>for</strong> a Hanning window. To see the shape of the grain envelope, hold down the<br />

Control or Command key and click on the disk button to the right of the Window parameter field. Any<br />

smooth up and down shape like this can be used as the Window, <strong>for</strong> example, you can try Gaussian, and<br />

even LinearEnvelope out to hear how they might affect the sound.<br />

How is Window function used? Take a look at the wave<strong>for</strong>m of the trombone.<br />

125

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

Saved successfully!

Ooh no, something went wrong!