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.

MultifileDiskPlayer<br />

Sampling Category<br />

This is similar to DiskPlayer except that you specify an array of disk file names rather than a single disk<br />

file name.<br />

<strong>The</strong> value of Index determines which file will play on the next retrigger. (An index of 0 chooses the first<br />

file in the array, an index of 1 chooses the second, etc.) Only one disk file will play at any one time, but<br />

the choice of file can be made in real time. (To get more than one disk file to play simultaneously, feed<br />

this <strong>Sound</strong> into a MIDIVoice and set the desired polyphony).<br />

You can use a single Rate <strong>for</strong> all disk files, or make Rate a function of the Index if you want different files<br />

to play at different rates.<br />

<strong>The</strong> MultiFileDiskPlayer can be used whenever you need real-time random access to several different<br />

disk recordings through a keyboard or MIDI controller. For example, it can be used to choose from a set<br />

of live sound effects and synchronize them by hand to a film, to create a disk-based sampler with a<br />

different sample <strong>for</strong> every key on the keyboard, to per<strong>for</strong>m a composition made up of several, long disk<br />

recordings, or (if the trigger is linked to the FrequencyTracker or EnvelopeFollower) as a synchronizable<br />

"tape part" that responds to a live per<strong>for</strong>mer.<br />

FileNames<br />

List each of the file names that could be triggered, enclosing each of them within single quotes. <strong>The</strong><br />

Index corresponds to the placement of the filename in this field. In other words, an index of 0 selects the<br />

first filename in the field, and index of 1 selects the second filename, etc.<br />

RateScale<br />

This is the rate of playback. For example, use 1 to play back at the original rate, 0.5 <strong>for</strong> half speed, 2 <strong>for</strong><br />

twice as fast, etc.<br />

Trigger<br />

When the Trigger becomes nonzero, one event is triggered. You can trigger several events over the<br />

course of the total Duration of this program as long as the value of Trigger returns to zero be<strong>for</strong>e the next<br />

trigger. Some example values <strong>for</strong> Trigger are:<br />

1 (plays once with no retriggering)<br />

0 (the sound is silent, never triggered)<br />

!KeyDown (trigger on MIDI key down)<br />

!cc64 (trigger when controller 64 > 0)<br />

You can also paste another signal into this field, and events will be triggered every time that signal<br />

changes from zero to a positive value. (See the manual <strong>for</strong> a complete description of hot parameters,<br />

Event Values, and the Global map files).<br />

Gated<br />

NOT IMPLEMENTED YET.<br />

Index<br />

This is an integer that selects which of the disk files should be played when the next trigger is received.<br />

An index of 0 selects the first file. If the index is less than 0, it selects the 0th file (the first file in the list).<br />

If the index is larger than the length of the file list, it selects the last file in the list.<br />

300

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

Saved successfully!

Ooh no, something went wrong!