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.

Use Gain to adjust the overall amplitude of the wave<strong>for</strong>m until it is close as possible to a range of -1 to 1<br />

without clipping. Test the Gain setting by using the Insert button; if the inserted segment looks clipped,<br />

adjust Gain and press Insert again.<br />

Cubic Spline<br />

Indicate the total length of the segment in the Duration field (4096 samp is the length of a standard<br />

wavetable). Enter a list of points that the spline should pass through (range is -1 to 1). <strong>The</strong>n indicate the<br />

proportion of the total duration taken up by each segment. <strong>The</strong> number of segments should always be<br />

one less than the number of end points.<br />

Exponential Segments<br />

Indicate the total length of the wave<strong>for</strong>m in the Duration field (4096 samp is the length of a standard<br />

wavetable). Enter a list of end points <strong>for</strong> the exponential segments (remember that exponential functions<br />

are undefined at 0, so keep the values between 0 and 1). <strong>The</strong>n indicate the proportion of the total duration<br />

taken up by each segment. <strong>The</strong> number of segments should be one less than the number of end points.<br />

Fourier<br />

This lets you specify a wave<strong>for</strong>m by specifying its component sine waves. Enter the list of desired harmonics<br />

by number (where 1 is the fundamental, 3 is the third harmonic, etc.). <strong>The</strong>n enter the relative<br />

amplitudes of each harmonic (range of -1 to 1), and the relative phase (in radians) of each harmonic. To<br />

specify π, use {Float pi}. Do any arithmetic on π within curly braces, e.g., {2 * Float pi}. For wave<strong>for</strong>ms<br />

requiring a large number of partials and/or to get inharmonic partials, modify the Fourier Program<br />

template (found in the hierarchical list under Programs).<br />

Impulse Response<br />

This generates the impulse response of a filter that you specify. Set the number of <strong>for</strong>mants and the center<br />

frequency, bandwidth, and relative amplitude of each <strong>for</strong>mant of the filter. Use Gain to adjust the overall<br />

amplitude to be as close as possible to the full range (-1 to 1) without clipping. You may have to try Insert<br />

several times to adjust the Gain to the optimum level.<br />

Interpolate Selection<br />

This is used to time-stretch or time-compress the selection. It can be used, <strong>for</strong> example, to take a single<br />

cycle from a recording and stretch or compress it to exactly 4096 samples so that it can be used as the<br />

wavetable of an Oscillator. You can also use this to shift a sample down in frequency without aliasing<br />

(by time-stretching it).<br />

<strong>The</strong> selection will be sinc-interpolated to the length specified in the template parameters. Gain is used to<br />

scale the samples. Interpolation Points controls how many points are used in the sinc interpolation;<br />

use larger numbers than the default <strong>for</strong> better results, especially when changing the length drastically.<br />

(This operation can take a long time).<br />

Line Segments<br />

Indicate the total length of the wave<strong>for</strong>m or function in the Duration field (4096 samp is the length of a<br />

standard wavetable). Enter a list of end points <strong>for</strong> the linear segments (in the range of -1 to 1). <strong>The</strong>n indicate<br />

the proportion of the total duration taken up by each segment. <strong>The</strong> number of segments should be<br />

one less than the number of end points.<br />

Normalize Selection<br />

This scales all amplitudes in the selected portion of the sample to the maximum indicated in the Amplitude<br />

field.<br />

Polynomial<br />

This generates the polynomial whose x values range over the interval you provide and whose coefficients<br />

are supplied in the Coefficients field. Polynomial is particularly useful <strong>for</strong> generating wavetables<br />

503

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

Saved successfully!

Ooh no, something went wrong!