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.

SpectrumInRAM<br />

Spectral Sources Category<br />

This <strong>Sound</strong> is used only as the Spectrum input to an OscillatorBank.<br />

It reads an analysis file that contains a series of spectra indexed by TimeIndex. It outputs a spectrum as<br />

a sequence of (amplitude,frequency) pairs on every sample tick <strong>for</strong> nbrPartials samples. After nbrPartials<br />

samples, it starts over again from the fundamental and outputs the entire spectrum again.<br />

Frequency<br />

Use Default to leave the frequency unchanged from the original analysis. Otherwise, the frequency<br />

envelopes will be altered to scale the base pitch of the analysis to the value listed in this parameter field.<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 />

Level<br />

This is a control on the overall amplitude of all the partials. Enter 1 to leave all amplitudes as they are;<br />

numbers larger than one result in a gain, and numbers less than one result in attenuation.<br />

TimeIndex<br />

This selects where we are in the series of spectral snapshots. <strong>The</strong> first snapshot is at -1, the middle<br />

snapshot is at 0, and the last snapshot is at 1. To go through the series in linear time, use a<br />

FunctionGenerator whose Duration equals the duration of the original recording and whose Wavetable is<br />

FullRamp (which goes from -1 to 1). Change the Duration of the FunctionGenerator to go through the<br />

spectra at different rates. Change the wavetable to go through the spectra in a different order.<br />

Analysis<br />

Use a spectrum file from the Wavetables folder or directory. <strong>The</strong>se files came from spectral analyses<br />

per<strong>for</strong>med on digital recordings by the Spectral Analysis Tool or by Lemur.<br />

NbrPartials<br />

This is the number of partials you want to output <strong>for</strong> the resynthesis. Use Default to output all of the<br />

partials in the file.<br />

FirstPartial<br />

This is the first analyzed partial that you want to output--usually it is partial number 1. If you want to skip<br />

over some of the lower partials, enter a higher number here.<br />

355

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

Saved successfully!

Ooh no, something went wrong!