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.

Multisample<br />

Sampling Category<br />

This provides a quick way to select from a number of samples. <strong>The</strong> sample files are listed in the Samples<br />

field, and the Index field is used to determine which sample file to play whenever the Gate changes to a<br />

positive value.<br />

Frequency<br />

Use 0 hz here if you want the Frequency to equal the pitch of the recorded sample. <strong>The</strong> frequency can<br />

be specified in units of pitch or frequency. Different frequencies are obtained by changing the size of the<br />

increment through the recorded sample. <strong>The</strong> following are all ways to specify the A above middle C:<br />

440 hz (in hertz or cycles per second)<br />

4 a (as the 4th octave A)<br />

69 nn (as a MIDI notenumber)<br />

4 c + 9 nn (as 9 half steps above middle C)<br />

1.0 / 0.00227273 s (inverse of a period at 44.1 kHz sample rate)<br />

<strong>The</strong> following are examples of how to control the frequency using MIDI, the virtual control surface, or a<br />

third-party program:<br />

!Pitch (key number plus pitch bend)<br />

!KeyNumber nn (MIDI notenumber)<br />

4 c + (!Frequency * 9 nn) (continuous controller from 4 c to 4 a)<br />

Gate<br />

Enter a 1 in this field to play the <strong>Sound</strong> exactly once <strong>for</strong> the duration you have specified in the Duration<br />

field.<br />

If you use an EventValue (<strong>for</strong> example, !KeyDown) in this field, the <strong>Sound</strong> can be retriggered as often as<br />

you like within the duration specified in the Duration field.<br />

When Gate becomes positive, the <strong>Sound</strong> is heard; when Gate becomes zero, the <strong>Sound</strong> is released. If<br />

the sample file has loop points stored in its header, <strong>Kyma</strong> will loop the sample <strong>for</strong> as long as Gate<br />

remains positive (so, <strong>for</strong> example, as long as the MIDI key is held down).<br />

Samples<br />

Takes a list of samples file names, each within single quotes.<br />

Index<br />

An expression whose value is the index into the list of filenames: 0 selects the first file in the list, 1 the<br />

second, and so on.<br />

AttackTime<br />

Duration of the attack of an envelope applied to the sample.<br />

ReleaseTime<br />

Duration of the release of an envelope applied to the sample.<br />

Scale<br />

302

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

Saved successfully!

Ooh no, something went wrong!