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.

Strategies <strong>for</strong> Non-real-time<br />

In some situations, after the <strong>Sound</strong> has been loaded, you may see a warning in<strong>for</strong>ming you that your<br />

Capybara is close to the limit on computation time. If this happens, go ahead and listen to the <strong>Sound</strong><br />

anyway. <strong>Kyma</strong> is set to be slightly conservative on this warning, so it could be that the Capybara is still<br />

able to keep up with real time. If you have given the Capybara more than it can consistently do in real<br />

time, you will hear digital clicks and breakup in the sound. In general, the further it is from being able to<br />

compute in real time, the more clicks and pops you will hear; you may also hear something that sounds<br />

like granular time-stretching. But don’t despair! <strong>The</strong>re are still quite a few tricks you can employ in order<br />

to get around this.<br />

What Influences the Real-time Capabilities?<br />

Using DSP Status<br />

Record to Disk<br />

Disk Caching<br />

Whether a particular <strong>Sound</strong> can be realized in real time or not depends on several factors:<br />

♦ What kinds of modules are in the <strong>Sound</strong> (some of them require more computing time than others)<br />

♦ How many modules are in the chain (the more modules, the more computing time required)<br />

♦ <strong>The</strong> polyphony setting on any MIDIVoices, MIDIMappers, or AnalogSequencers in the <strong>Sound</strong> (the<br />

number of modules in the chain to the left of a MIDIVoice will be multiplied by the amount of polyphony<br />

that you request)<br />

♦ <strong>The</strong> number of expansion cards in your Capybara (if <strong>Kyma</strong> can split the computation among several<br />

cards rather than having to schedule all of the modules on a single card, then the Capybara can do<br />

more real-time computation).<br />

Take a look at the DSP status window while you are playing your <strong>Sound</strong>. If the usage bar <strong>for</strong> the last<br />

(rightmost) card is fully in the red, ‡ it is usually a sign that you are requesting something beyond what<br />

your Capybara can compute in real time; it indicates that <strong>Kyma</strong> tried to find resources <strong>for</strong> the <strong>Sound</strong> on<br />

the first card, second card, etc., and when it couldn’t find enough resources anywhere else, it just tried to<br />

schedule it on the last card because there were no other choices left.<br />

<strong>The</strong> quickest solution is to select the <strong>Sound</strong>, go to the Action menu, and select Record to disk…. This will<br />

record your <strong>Sound</strong> to the disk (don’t worry if it still sounds like it is sputtering; it will really record it onto<br />

the disk without the breaks). From then on, you can play the digital recording using a DiskPlayer, Sample,<br />

or GenericSource.<br />

This is the quick and easy solution <strong>for</strong> <strong>Sound</strong>s that do not require any live interaction from MIDI or the<br />

audio inputs. Even if your <strong>Sound</strong> is being driven from a sequencer, you can export the sequence as a<br />

standard MIDI file, check the box that says to read MIDI from a file rather than from the live inputs, and<br />

then record the <strong>Sound</strong> to disk.<br />

But what if you are per<strong>for</strong>ming one of the parts live from a MIDI keyboard, controlling some of the faders<br />

in real time, or using the microphone inputs as sound sources? Or, barring all of that, what if you don’t<br />

really want to record the entire <strong>Sound</strong> to disk just because it would take up too much disk space? <strong>The</strong>re<br />

are some alternate solutions!<br />

One approach is to record sub-branches of your <strong>Sound</strong> on the hard disk, and read the samples from the<br />

disk from then on, thus freeing up time on the Capybara to compute the rest of the <strong>Sound</strong> in real time.<br />

Place a DiskCache just to the right of the branch that you have decided to record to disk. <strong>The</strong>n play the<br />

‡ When the digital interface is selected <strong>for</strong> audio input and output, the rightmost bar in the DSP status window will<br />

always be in the red, regardless of the actual usage on that card.<br />

82

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

Saved successfully!

Ooh no, something went wrong!