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.

In both of these expressions, !Vowel is used as an index into an array of possible frequencies and amplitudes.<br />

‡ For example, if !Vowel is 0, the <strong>for</strong>mant frequency is 2450 hz and its amplitude is -12 dB (the<br />

values <strong>for</strong> the vowel A). If !Vowel is 7, the <strong>for</strong>mant frequency will be 2200 hz and its amplitude will be<br />

-19 dB.<br />

When a new frequency and amplitude are selected, they are approached smoothly over the course of 0.25<br />

seconds, rather than jumping immediately to their new values (this is due to the<br />

smooth: 0.25 s<br />

following each array.<br />

Next, play the <strong>Sound</strong> called wow, and play some low notes on a MIDI keyboard. This is a FormantBank-<br />

Oscillator synthesizing the vowels OO and A. If you open wow, you will see that it is a Formant-<br />

BankOscillator whose Spectrum comes from two, interpolated SyntheticSpectrumFromArrays: one<br />

containing the frequencies, amplitudes and bandwidths <strong>for</strong> an A, and the other containing the same in<strong>for</strong>mation<br />

<strong>for</strong> an OO. A FunctionGenerator on a Gaussian wavetable, triggered by !KeyDown, controls<br />

the interpolation between the parameters <strong>for</strong> OO and A, making a smooth transition between the two.<br />

‡ <strong>The</strong> <strong>for</strong>mant amplitudes and frequencies <strong>for</strong> these examples were found in Computer Music, written by Charles<br />

Dodge and Thomas Jerse, published by Shirmer Books.<br />

123

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

Saved successfully!

Ooh no, something went wrong!