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.

Similarly, if you would like to trans<strong>for</strong>m only the inputs (that is, you would like the trans<strong>for</strong>mation to<br />

skip over the current <strong>Sound</strong>), you would use<br />

snd doNotTrans<strong>for</strong>mThis<strong>Sound</strong>.<br />

Controlling Expansion<br />

Most of the system prototypes provided in <strong>Kyma</strong> are actually combinations of several <strong>Sound</strong>s. When one<br />

of these prototype <strong>Sound</strong>s is played, it is first expanded. When you apply a trans<strong>for</strong>mation to the parameters<br />

of a <strong>Sound</strong>, it may make a difference whether you trans<strong>for</strong>m the parameters be<strong>for</strong>e or after the<br />

<strong>Sound</strong> has been fully expanded.<br />

When you create a new <strong>Sound</strong> class from an example (see <strong>The</strong> Class Editor on page 536), you can choose<br />

whether the new kind of <strong>Sound</strong> should expand be<strong>for</strong>e trans<strong>for</strong>mations are applied to its parameters. If<br />

you check the Expand box, the <strong>Sound</strong> will expand be<strong>for</strong>e trans<strong>for</strong>mation; if the box is not checked, parameter<br />

trans<strong>for</strong>mations will be applied to the <strong>Sound</strong> parameters be<strong>for</strong>e the <strong>Sound</strong> expands.<br />

For example, a RhythmicCellularAutomaton takes a single input and repeats it in a rhythmic pattern<br />

generated algorithmically according to the Rule that you supply. (See the Prototypes Reference on page<br />

218 or the on-line help <strong>for</strong> a more detailed explanation of how the Rule is used to generate the pattern.)<br />

A RhythmicCellularAutomaton expands to a Concatenation of TimeOffsets. Each TimeOffset contains a<br />

copy of the RhythmicCellularAutomaton’s input.<br />

545

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

Saved successfully!

Ooh no, something went wrong!