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.

A class editor has several parts:<br />

♦ An icon editor <strong>for</strong> designing the class icon<br />

♦ An icon editor <strong>for</strong> designing the class small icon<br />

♦ Field Layout: a miniature version of the <strong>Sound</strong> editor<br />

♦ A text editor <strong>for</strong> the new <strong>Sound</strong> class name<br />

♦ A text editor <strong>for</strong> the class description<br />

♦ Parameter: a list of the class parameters<br />

♦ Type: the parameter type of the selected parameter<br />

♦ Field: a list of the legal field types <strong>for</strong> the selected parameter<br />

♦ Field Rectangle: the relative position of the selected parameter’s field within the <strong>Sound</strong> editor<br />

♦ Comment: a text editor <strong>for</strong> editing the selected parameter’s description<br />

♦ A check box <strong>for</strong> specifying that a <strong>Sound</strong> should expand be<strong>for</strong>e trans<strong>for</strong>mations are applied to it<br />

Using the Icon Editors<br />

Click in a white area to draw a black dot, and click in a black area to erase. If you hold the mouse button<br />

down as you move the mouse, you can draw or erase continuously. While you are designing the icon,<br />

you can also see an actual size version of it below or to the left of the large version.<br />

<strong>The</strong>re are two icons <strong>for</strong> each class. <strong>The</strong> small icon is used whenever you select Small icon in the dialog<br />

under View in the Edit menu. <strong>The</strong> other icon is the one you see by default.<br />

To set the large and small icons to be the same as those of another <strong>Sound</strong>, drag that <strong>Sound</strong> into the icon<br />

editor.<br />

Parameter Types and Fields<br />

When you select a name from the Parameter list, you see its type selected in the Type list and the kind<br />

of parameter field it uses selected in the Field list. <strong>The</strong> position of the parameter field is shown highlighted<br />

in the miniature <strong>Sound</strong> editor labeled Field Layout.<br />

Parameter Types<br />

Each variable name in the example <strong>Sound</strong> becomes a parameter name in this new class. You can set parameter<br />

types to be the same as those in another <strong>Sound</strong> by dragging that <strong>Sound</strong> icon onto the Parameter<br />

list in the Class editor.<br />

To manually set the type of a parameter, first select the parameter name in the list labeled Parameter.<br />

<strong>The</strong>n choose from among the given list of types under the Type heading. <strong>The</strong> type of a parameter defines<br />

537

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

Saved successfully!

Ooh no, something went wrong!