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.

Status<br />

Whenever you play a <strong>Sound</strong> that requires some kind of real time input (such as hitting a MIDI key,<br />

moving a virtual fader, or singing into the microphone) the Status window will display a list of the expected<br />

sources of input. This is especially helpful in<strong>for</strong>mation when you play a <strong>Sound</strong> and don’t hear<br />

anything because the <strong>Sound</strong> is waiting <strong>for</strong> input from the A/D or waiting <strong>for</strong> a !KeyDown trigger.<br />

<strong>The</strong> Status also displays the current global map (the mapping from memorable names in <strong>Kyma</strong> to actual<br />

MIDI controller numbers), the MIDI channel or channels on which it is expecting MIDI input events, the<br />

word Keyboard (if it expects MIDI key events), and a list of all continuous controller names.<br />

Across the top is a horizontal thermometer display giving an indication of how much memory is available<br />

on your host computer (not to be confused with the memory on the Capybara). As memory is<br />

dynamically used up and then recycled, § you will notice the thermometer growing redder or bluer and<br />

also growing further towards the right and shrinking towards the left. Smalltalk does periodic recycling,<br />

but you can <strong>for</strong>ce it to recycle memory immediately by clicking the Recycle button. You should leave this<br />

Status window open at all times, because it monitors the available memory and does automatic recycling<br />

<strong>for</strong> you.<br />

Polyphony<br />

Controlling parameters from a MIDI keyboard immediately suggests the idea of polyphony. To make a<br />

<strong>Kyma</strong> <strong>Sound</strong> polyphonic, make it the input to a MIDIVoice module; this defines the <strong>Sound</strong> as a MIDI<br />

voice, assigns it a channel, gives it a polyphony value, and specifies a range of MIDI pitches that it should<br />

pay attention to.<br />

For example, to increase the polyphony on the MIDI-controlled GenericSource from the previous section,<br />

drag a MIDIVoice from the MIDI In category of the prototypes, and drop it on the line between the GenericSource<br />

and the HarmonicResonator. Double-click on the MIDIVoice to take a look at its default<br />

parameter settings.<br />

§ <strong>Kyma</strong> is written in Smalltalk, a programming language that dynamically allocates memory; whenever an object in<br />

<strong>Kyma</strong> is no longer in use, Smalltalk can recycle the memory previously needed by that object.<br />

40

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

Saved successfully!

Ooh no, something went wrong!