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.

Random Numbers<br />

random is a message sent to a time. It generates a new random number between -1 and 1 at the periodic<br />

rate. For example,<br />

2 s random<br />

would generate a new number once every 2 seconds.<br />

nextRandom is typically sent to an Event Value that is acting as a trigger. It generates a random number<br />

between -1 and 1 each time the trigger becomes positive. For example,<br />

!KeyDown nextRandom<br />

would generate a new random number each time you pressed a key on the MIDI keyboard.<br />

Smoothing<br />

<strong>The</strong>re are two operations that smooth out or filter the changes between sequential real-time expression<br />

values.<br />

!Fader1 smooth: 2 s<br />

will take two seconds to get from the old value of !Fader1 to its new value, rather than jumping instantly<br />

to its new value.<br />

!Fader1 smoothed<br />

will use a default value of 100 milliseconds as the time it takes to get from the old value to the new value.<br />

For example, to add portamento to a <strong>Sound</strong>, you can smooth its frequency parameter using<br />

!Pitch smoothed<br />

or,<br />

!Pitch smooth: 25 ms<br />

<strong>for</strong> a quicker portamento.<br />

Virtual Control Surface<br />

To open the virtual control surface, choose Virtual control surface from the File menu. § <strong>The</strong> virtual control<br />

surface allows you to monitor and control Event Values in the currently loaded <strong>Sound</strong>. <strong>The</strong> virtual<br />

control surface is global; it will change whenever you load a different <strong>Sound</strong>.<br />

<strong>The</strong> faders, toggles and gates in the virtual control surface serve two functions: they can be used to control<br />

Event Values directly from the virtual control surface; they also display any changes made to the<br />

§ By default, <strong>Kyma</strong> opens the virtual control surface automatically <strong>for</strong> you whenever a <strong>Sound</strong> is played, see<br />

Per<strong>for</strong>mance… on page 430.<br />

481

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

Saved successfully!

Ooh no, something went wrong!