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.

DiskPlayer<br />

Sampling Category<br />

This <strong>Sound</strong> plays back recordings from the disk file specified in FileName, starting at the time specified in<br />

FilePosition and continuing <strong>for</strong> the amount of time specified in Duration and at the rate specified in<br />

RateScale. Whenever Trigger changes to a positive number, the playback restarts from FilePosition and<br />

plays again.<br />

To treat this as a sample controlled from the MIDI keyboard, set FileName to the name of the sample, set<br />

Duration to the total time during which you would like to be able to trigger the sample, set Trigger to<br />

!KeyDown (or a MIDI switch), and set RateScale to the ratio of the desired frequency to the original<br />

recorded frequency, <strong>for</strong> example<br />

!Pitch hz / 2 a hz<br />

to use the MIDI keyboard to control a sample whose recorded pitch was 2 a.<br />

FileName<br />

Enter the name of a Samples file or use the Browse button to select a file from the standard file list dialog.<br />

<strong>The</strong> file can be a recording made in <strong>Kyma</strong>, a recording imported from another program, or a sample from<br />

a CD-ROM (as long as the file is in one of the <strong>for</strong>mats listed in the <strong>Kyma</strong> manual).<br />

FilePosition<br />

This is the start time within the recording. In other words, you don’t have to start playback at the<br />

beginning of the file; instead, you can start some amount of time into the file.<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 />

247

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

Saved successfully!

Ooh no, something went wrong!