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.

Sampling<br />

Sampling to Disk<br />

<strong>Kyma</strong> is not a “sampler” per se, but it does provide several ways <strong>for</strong> you to use samples and digital audio<br />

tracks as raw material <strong>for</strong> further processing and modification.<br />

If you haven’t already read Disk Recording, Playback on page 112, you should read through it at this<br />

point, because it details several ways in which you can record your own samples to disk. It also covers<br />

some techniques <strong>for</strong> playing back recordings from the disk, including how you can trigger disk playbacks<br />

with MIDI events.<br />

Playing Back Samples from Disk<br />

Suppose you have a large number of sound effects and you need a quick way to synchronize them to<br />

picture. Or suppose that you have a piece <strong>for</strong> live per<strong>for</strong>mers and “tape”, but you would like one of the<br />

per<strong>for</strong>mers to have control over when to trigger different sections of the pre-recorded sounds so the per<strong>for</strong>mers<br />

are not slaved to the tape. <strong>The</strong> KeyMappedMultisample could be used in either of these<br />

situations to make it possible <strong>for</strong> you to trigger long disk tracks or a large number of smaller disk recordings<br />

directly from your MIDI keyboard.<br />

For example, try playing sound fx from disk, and triggering the animal sounds from a MIDI keyboard.<br />

Open it up to see what it is — a MIDIVoice on a KeyMappedMultiSample. <strong>The</strong> KeyMappedMultiSample<br />

takes the samples within a folder and maps them to MIDI key numbers or ranges of key numbers.<br />

Notice that in this example, the FirstSample is flamingos — meaning that all samples in the same<br />

folder as flamingos are to be mapped to MIDI key numbers. Notice also that FromDisk is checked,<br />

meaning that these samples will be triggered directly from disk and not read into the Capybara RAM<br />

first.<br />

<strong>The</strong> list of options under the Mapping are the different policies you can choose <strong>for</strong> mapping samples to<br />

key numbers. In this case, the mapping policy is OnePerHalfStep, meaning that the first sample is<br />

mapped to key number 1, the next sample is mapped to key number 2, and so on. <strong>The</strong> pattern repeats if<br />

there are fewer samples than there are MIDI keys.<br />

Finally, notice that the NoTransposition box is also checked. This lets you use different keys to trigger<br />

different recordings without changing the pitch of those recordings.<br />

Click on the disk button next to the FirstSample field and find another folder containing samples files<br />

(<strong>for</strong> example, the Water folder in the Samples folder of the More wavetables folder). Play sound fx<br />

from disk again, and trigger this different set of samples from your MIDI keyboard.<br />

For an example of a different mapping policy, take a look at trb from disk. This one maps samples § to<br />

ranges of key numbers based upon the base pitch stored in the header of an AIFF sample. Compile, load,<br />

start trb from disk and try playing some idiomatically trombone-like passages on the MIDI keyboard.<br />

You can hear where it switches over from one sample to the next.<br />

Playing samples directly from disk is especially useful when any one of your samples is too long to fit<br />

into the sample RAM of one Capybara card (about 20 seconds at 44.1 khz if you have 3 megabytes per<br />

card, and about 90 seconds if you have 12 megabytes per card), and when you do not require more than<br />

four-voice polyphony (the current limit on simultaneous, random-access disk tracks).<br />

§ <strong>The</strong>se samples were contributed by fellow <strong>Kyma</strong> user Lippold Haken, who is working with trombonist and electrical<br />

engineering student Patrick Wolf to do spectral analyses of trombone and cello tones using Lemur. <strong>The</strong>se<br />

analyses are then resynthesized in real time using <strong>Kyma</strong> and controlled and per<strong>for</strong>med using the Continuum — a<br />

multidimensional controller that Lippold is developing. Patrick Wolf played the trombone and the recordings were<br />

made at Pogo Records in Champaign, Illinois.<br />

161

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

Saved successfully!

Ooh no, something went wrong!