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.

Constant<br />

Math Category<br />

<strong>The</strong> output of a Constant is its Value. If Value is set to a number, the output of the Constant is the same<br />

number over its entire duration.<br />

If you paste an Event Value into the Value field of a Constant, the Constant’s output is equal to the Event<br />

Value. This is useful <strong>for</strong> processing Event Values as if they were <strong>Sound</strong>s. For example, if you were to<br />

paste !cc07 into the Value field of this Constant, you could then feed the Constant into a delay, put it into<br />

a waveshaper, multiply it by a sine wave oscillator, or per<strong>for</strong>m any number of other signal processing<br />

operations on it.<br />

Value<br />

Enter a value from -1.0 to 1.0. You can also paste Event Values or <strong>Sound</strong>s into this field (since their<br />

values fall within the range of -1 to 1).<br />

If you paste !Pitch or !KeyNumber into this field, you must divide it by 127 in order to scale it down to the<br />

range of 0 to 1; if you then use this Constant in the Frequency field of another <strong>Sound</strong>, remember to<br />

multiply the Constant by 127 nn in order to scale it back into the range of 0 nn to 127 nn.<br />

239

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

Saved successfully!

Ooh no, something went wrong!