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.

Oscillator<br />

Xtra Sources Category<br />

<strong>The</strong> Wavetable is treated as a single cycle of a periodic function. <strong>The</strong>re are options <strong>for</strong> interpolation and<br />

modulation. In general, the more options that are selected and more parameters that are time-varying,<br />

the more complicated the computation of the Oscillator and the fewer of them you can compute in real<br />

time.<br />

Frequency<br />

<strong>The</strong> frequency can be specified in units of pitch or frequency. <strong>The</strong> following are all ways to specify the A<br />

above middle C:<br />

440 hz (in hertz or cycles per second)<br />

4 a (as the 4th octave A)<br />

69 nn (as a MIDI notenumber)<br />

4 c + 9 nn (as 9 half steps above middle C)<br />

1.0 / 0.00227273 s (inverse of a period at 44.1 kHz sample rate)<br />

<strong>The</strong> following are examples of how to control the frequency using MIDI, the virtual control surface, or a<br />

third-party program:<br />

!Pitch (key number plus pitch bend)<br />

!KeyNumber nn (MIDI notenumber)<br />

4 c + (!Frequency * 9 nn) (continuous controller from 4 c to 4 a)<br />

Wavetable<br />

Select a wavetable <strong>for</strong> the oscillator. <strong>The</strong> Oscillator expects wavetables with 4096 entries.<br />

Modulation<br />

Select whether or not there should be frequency modulation.<br />

Modulator<br />

If Modulation has been set to frequency, then this <strong>Sound</strong> is the Modulator (otherwise it is ignored).<br />

Usually the Modulator is another Oscillator, but it can be any <strong>Sound</strong>.<br />

MaxMI<br />

This is the value of the modulation index when the Modulator is at its full amplitude.<br />

Interpolation<br />

Choose linear if you would like to interpolate between the values read from the wavetable.<br />

Envelope<br />

This is an attenuator on the output of the Oscillator. Enter 1 (or 0 dB) <strong>for</strong> the full amplitude. For a<br />

time-varying amplitude, paste in a <strong>Sound</strong> (such as AR, ADSR, or FunctionGenerator) or an Event Value<br />

(such as !Volume) in this field.<br />

PitchBend<br />

This is a deviation from the specified Frequency computed as:<br />

307

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

Saved successfully!

Ooh no, something went wrong!