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.

So if you see a parameter field that asks <strong>for</strong> a duration (e.g. Period, HoldTime or Delay) and you<br />

would like to specify the duration that corresponds to one cycle of some particular frequency, you can<br />

enter the desired frequency and take the inverse of it.<br />

Likewise, in a Frequency parameter, you can enter a duration and take its inverse in order to get a frequency<br />

in hertz. For example, if you are using an Oscillator as a repeating envelope and prefer to specify<br />

the duration of each pass through the envelope wave<strong>for</strong>m, you can put the inverse of that duration in<br />

seconds into the Frequency field of the Oscillator.<br />

Avoiding Carpal Tunnel<br />

Many of these expressions are available in a list of hot expressions. Choose Paste hot… from the Edit<br />

menu or use Ctrl+H to paste one of these expressions into a parameter field, saving yourself some typing.<br />

Fun<br />

You now have the bits and pieces to do most of the arithmetic you will need <strong>for</strong> <strong>Kyma</strong>. Given this, you<br />

can figure out everything else by puzzling through it, piecing together subexpressions that you have figured<br />

out be<strong>for</strong>e, drawing a few little sketches and trying a few things out. (Everyone does it like that, so<br />

there’s no reason to feel inhibited about drawing a sketch or trying out a few test values in order to experiment).<br />

And the little secret your high school teachers may just have <strong>for</strong>gotten to tell you is that it is<br />

kind of fun to puzzle this stuff out — especially when the result is sound (and not just numbers scratched<br />

in pencil on a blue-ruled sheet of paper).<br />

<strong>The</strong> Real-time Evaluator<br />

<strong>The</strong> arithmetic and other operations that you per<strong>for</strong>m on <strong>Sound</strong>s or Event Values (the red names preceded<br />

by exclamation points) in parameter fields may look like a cross between ordinary arithmetic and<br />

the Smalltalk programming language. In fact, these expressions are evaluated in real time by an eventdriven<br />

evaluator that runs on the Capybara. In other words, the expressions involving Event Values or<br />

<strong>Sound</strong>s that you write in <strong>Kyma</strong> parameter fields are not evaluated on the host PC or Macintosh. <strong>The</strong>y are<br />

evaluated in real time on the Capybara; this means that the timing is unaffected by the other tasks being<br />

per<strong>for</strong>med by your computer (such as running your sequencer, wave editor, and operating system).<br />

For a list of all functions understood by the real-time evaluator, along with an explanation and example<br />

of how to use each one, see Real-Time Expressions in Parameter Fields on page 211.<br />

Making More Room in the Parameter Fields<br />

Once you start doing arithmetic in the parameter fields, you can run out of room pretty quickly. To enlarge<br />

a parameter field to the full screen size, use Ctrl+L (<strong>for</strong> large window). You can also use the mouse<br />

to pull up the center line that separates the signal flow graph from the parameter fields in the <strong>Sound</strong> editor,<br />

thus giving more room to the parameters:<br />

46

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

Saved successfully!

Ooh no, something went wrong!