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.

MultisegmentEnvelope<br />

Envelopes & Control Signals Category<br />

Similar to the ADSR envelope, except that you can specify an arbitrary number of segments and can<br />

specify loop points. See also MultiSlopeFunctionGenerator and GraphicalEnvelope. Use the<br />

GraphicalEnvelope except in those cases where you need hot BreakPoints or Levels.<br />

Typical uses include amplitude envelopes, pitch envelopes, and time index functions.<br />

Durations<br />

Enter the durations of each segment of the envelope. You must include the units of time and enclose the<br />

duration and its units within curly braces, <strong>for</strong> example<br />

{!Length s} or {2 s}<br />

<strong>The</strong> number of Durations must be one less than the number of BreakPoints.<br />

BreakPoints<br />

<strong>The</strong>se are the amplitude values at the endpoints of each segment. <strong>The</strong>re should always be one more<br />

breakpoint than there are segment durations. Every time there is a change in slope or a "break" in the<br />

line corresponding to the envelope, you have to specify the amplitude at that point (including the very last<br />

point in the envelope, since it does not necessarily have to end on a zero). <strong>The</strong>se numbers can be any<br />

value from 0 to 1. If you enter a larger value, the amplitude of the envelope will approach that number at<br />

the rate required to reach that number in the given duration, but it will stick at the value of 1 once that has<br />

been reached.<br />

StartLoop<br />

<strong>The</strong> number of the first segment included in the loop (where the segments are numbered from 1 to the<br />

number of segments).<br />

EndLoop<br />

<strong>The</strong> number of the last segment included in the loop (where the segments are numbered from 1 to the<br />

number of segments).<br />

Level<br />

This is a scale factor (from 0 to 1) <strong>for</strong> attenuating the overall output level.<br />

Gate<br />

When Gate changes from zero to a nonzero, the envelope will be triggered. Gate must return to zero<br />

again be<strong>for</strong>e the envelope can be retriggered. If you have specified beginning and ending segments <strong>for</strong> a<br />

loop, the envelope will repeat the loop segments <strong>for</strong> as long as the Gate is nonzero. If the ending loop<br />

segment ends on a higher or lower value than the start of the beginning segment, the entire looped<br />

portion will get larger or smaller each time it is repeated (because each segment has a *slope* associated<br />

with it, not the absolute values at each point).<br />

304

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

Saved successfully!

Ooh no, something went wrong!