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.

that can be used as waveshapers by the Waveshaper <strong>Sound</strong>. For example, if you typed in the coefficients<br />

5, 4, and -2.5 you would be specifying the polynomial<br />

4 + 4x − 2.5x 2<br />

If the interval you enter is -1 to 1, then the editor will evaluate this polynomial <strong>for</strong> x values ranging from -<br />

1 to 1.<br />

Random<br />

This generates a random wave<strong>for</strong>m whose amplitude ranges from -1 to 1. Specify a seed so that you can<br />

get repeatable results. Change the seed when you want to generate a different random wave<strong>for</strong>m. To<br />

generate different kinds of noise, modify the Random Program template.<br />

Window Selection<br />

This template applies a fade-in and fade-out curve to the selection in the graphic editor. <strong>The</strong> Transition<br />

Duration is the duration of the fade in and fade out.<br />

Viewing the Template Code<br />

<strong>The</strong> hierarchical list of templates also contains the subheading Programs, which contains Smalltalk code<br />

<strong>for</strong> each of the template types. If you like a particular template but want to make a minor change in the<br />

algorithm, you can modify (but not save) its Smalltalk implementation. If you are not sure you understand<br />

one of the templates, you can read its Smalltalk code to see what it does.<br />

If you want to write your own Smalltalk code <strong>for</strong> generating a wavetable, you can use the existing<br />

Smalltalk programs as models or starting points <strong>for</strong> your own code. To save your modified wavetable<br />

generator, copy the text and paste it into a newly created text file.<br />

Wavetables Provided with <strong>Kyma</strong><br />

Compress<br />

Control<br />

When used in a MultiplyingWaveshaper, this wave<strong>for</strong>m can be used to do computationally inexpensive<br />

compression and expansion. Think of the curves as output-attenuation-as-a-function-of-input-amplitude.<br />

To create new curves, use the InputOutputCharacteristic Program template in the sample editor.<br />

C5_01_1<br />

<strong>The</strong>se are typically used in FunctionGenerators to generate envelopes or “control signals” <strong>for</strong> hot parameters.<br />

If you want a periodically repeating control signal, use one of these samples in a low frequency<br />

oscillator. To generate your own, use any of the templates in the sample editor or modify template code<br />

to compute an arbitrary mathematical function and store it as a sample.<br />

Exponential<br />

ExponRev<br />

FourExpons<br />

504

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

Saved successfully!

Ooh no, something went wrong!