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.

MIDI Controllers<br />

<strong>The</strong> output of any <strong>Kyma</strong> <strong>Sound</strong> can be used as a MIDI continuous controller output. In other words, its<br />

stream of instantaneous amplitudes can be sent out as changes to a continuous controller (at the maximum<br />

MIDI rate of 1 khz and with the maximum MIDI controller resolution of 7 bits).<br />

If both the Capybara and your synthesizer are patched into a mixer, you can listen to both at once. Otherwise,<br />

you will need to send the output of the synthesizer into the Capybara’s audio input. <strong>The</strong>n you use<br />

one of the <strong>Kyma</strong> software Mixers to mix the ADInput (which will be monitoring the synthesizer) with the<br />

<strong>Kyma</strong> <strong>Sound</strong> that is sending out the MIDI controller data. §<br />

Here is a typical configuration <strong>for</strong> listening to the output of a synthesizer that you are controlling using a<br />

<strong>Kyma</strong> <strong>Sound</strong>:<br />

MIDI Keyboard Events<br />

To generate a MIDI keyboard event, you have to supply a pitch, a velocity, and a trigger (which indicates<br />

when to send this in<strong>for</strong>mation as a MIDI note event). As a trivial example, suppose you had a MIDIOutputEvent<br />

whose Frequency was set to !Pitch, whose Amplitude was set to !KeyVelocity, and<br />

whose Gate came from !KeyDown.<br />

§ Anytime you want <strong>Sound</strong>s to play simultaneously in <strong>Kyma</strong>, you have to put them into a Mixer — even if one of the<br />

<strong>Sound</strong>s (in this case the MIDIOutputController) is not actually producing an audio signal that you can hear. Even<br />

though its output is going to the MIDI output rather than becoming part of the audio stream, its program does<br />

have to be loaded in the Capybara at the same time as the program <strong>for</strong> reading the ADInput. You can read more<br />

about this in Combining <strong>Sound</strong>s on page 70.<br />

58

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

Saved successfully!

Ooh no, something went wrong!