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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ParameterTrans<strong>for</strong>mer<br />

Scripts Category<br />

Parameters of the Input can be altered or set by statements made in the Trans<strong>for</strong>mation field (<strong>for</strong> full<br />

details, see the corresponding tutorial and chapter in the manual). All trans<strong>for</strong>mations take place<br />

symbolically (in other words, these are not signal processing trans<strong>for</strong>mations but trans<strong>for</strong>mations to the<br />

parameters fields *be<strong>for</strong>e* the Input is compiled and loaded into the signal processor--be<strong>for</strong>e it has<br />

started generating sound).<br />

Input<br />

<strong>The</strong> parameters of this <strong>Sound</strong> (and, in turn, any inputs *it* might have) can be set or modified by<br />

statements in the Trans<strong>for</strong>mation field.<br />

Trans<strong>for</strong>mation<br />

Here are two examples of simple modifications. For examples of more elaborate trans<strong>for</strong>mations, see the<br />

manual.<br />

To set the all parameters named "frequency" to 400 hz, type:<br />

snd frequency: 400 hz.<br />

To double all frequencies, type:<br />

snd frequency isNil ifFalse: [snd frequency: snd frequency * 2].<br />

315

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

Saved successfully!

Ooh no, something went wrong!