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.

Syntax<br />

Like the Variable <strong>Sound</strong>, you can refer to a <strong>Sound</strong>CollectionVariable by name elsewhere in the structure.<br />

See <strong>The</strong> Smalltalk-80 <strong>Language</strong> on page 513 or one of the recommended Smalltalk texts listed there <strong>for</strong><br />

messages that you can send to collections.<br />

Despite the fact that a <strong>Sound</strong>CollectionVariable is not a <strong>Sound</strong> (it represents a collection of <strong>Sound</strong>s), it<br />

will appear as a <strong>Sound</strong> in the <strong>Sound</strong> structure, and you can edit its name just as you would edit a <strong>Sound</strong>’s<br />

name.<br />

Variables typed into parameter fields are indicated by a leading ? character followed by a string of numbers<br />

or letters; the first character in the string must be a letter. Variable names should contain no internal<br />

spaces. Variables are displayed with a green color in the <strong>Kyma</strong> user interface.<br />

<strong>The</strong> names of Variables and <strong>Sound</strong>CollectionVariables are not preceded by question marks, since it is<br />

clear from the context that these are variables. Otherwise, they should follow the same syntactical guidelines<br />

as typed variables.<br />

Some examples of legal variables are:<br />

?freq<br />

?<strong>for</strong>mant2<br />

?theDaysAreAhead123456789<br />

?syntheseVirtuelle<br />

?fumoBianco<br />

and some illegal examples would be:<br />

gaaf<br />

?20Jahrhunderts<br />

?table Lookup<br />

511

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

Saved successfully!

Ooh no, something went wrong!