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.

SampleAndHold<br />

Sampling Category<br />

A SampleAndHold holds onto the current value of its Input <strong>for</strong> the duration specified in HoldTime. While it<br />

is holding onto this value, it ignores any changes in its Input’s value. When HoldTime has expired, a<br />

SampleAndHold looks at its Input’s value again, and holds onto THAT value <strong>for</strong> HoldTime and so on.<br />

This effectively lowers the sample rate on the Input.<br />

Try pasting this <strong>Sound</strong> into another <strong>Sound</strong>’s Frequency field and multiplying it by the desired range of<br />

frequencies and adding an offset frequency to it, <strong>for</strong> example:<br />

4 c + ([SampleAndHold] * 12 nn)<br />

where [SampleAndHold] is a this <strong>Sound</strong> copied and pasted into another <strong>Sound</strong>’s Frequency field.<br />

Input<br />

This is the <strong>Sound</strong> whose output is periodically sampled by the SampleAndHold.<br />

HoldTime<br />

<strong>The</strong> amount of time that each sampled value is held be<strong>for</strong>e the Input is sampled again. If you think of the<br />

SampleAndHold as downsampling its input, then this is the period of the new, lower sample rate.<br />

OffsetTime<br />

This is the amount of time to initially wait be<strong>for</strong>e starting the process of sampling and holding.<br />

336

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

Saved successfully!

Ooh no, something went wrong!