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.

RandomSelection<br />

Scripts Category<br />

Chooses <strong>Sound</strong>s from the sample space of all Inputs and assigns them start times that are randomly<br />

generated according to an exponential distribution of delay times having the specified averageDelay time.<br />

<strong>The</strong> value in Iterations is the total number of <strong>Sound</strong>s. Seeds are supplied so that the results are<br />

repeatable.<br />

Inputs<br />

This serves as the sample space. <strong>Sound</strong>s in the result are randomly chosen from among these <strong>Sound</strong>s.<br />

Weights<br />

Supply the relative likelihoods of each Input (where Inputs are ordered according to their positions in the<br />

field from top to bottom and left to right). You must specify the same number of likelihoods as there are<br />

Inputs. <strong>The</strong> likelihoods are normalized, so you can use numbers in any range.<br />

AverageDelay<br />

Supply an average delay time <strong>for</strong> the Input <strong>Sound</strong>s. (Durations should always be greater than 0.)<br />

Iterations<br />

This is the total number of randomly selected <strong>Sound</strong>s.<br />

DelaySeed<br />

This is a seed value <strong>for</strong> the exponential distribution of delay times. Type in an integer less than 65535,<br />

<strong>for</strong> example, 35409.<br />

SampleSeed<br />

This is a seed value <strong>for</strong> the sample space of sub<strong>Sound</strong>s. Type in an integer less than 65535, <strong>for</strong><br />

example, 35425.<br />

Left<br />

This controls the level of the left input channel. <strong>The</strong> maximum value is 1 and the minimum is -1. <strong>The</strong> left<br />

channel of the input is multiplied by the value of this parameter. Some example values <strong>for</strong> Left are:<br />

1 (no attenuation)<br />

0 (maximum attenuation)<br />

!Fader1 (continuous controller sets level)<br />

!KeyVelocity (MIDI key velocity controls the amplitude)<br />

You can also paste another signal into this field, and the amplitude will vary with the output amplitude of<br />

the pasted signal (something like an LFO controlling the attenuation). (See the manual <strong>for</strong> a complete<br />

description of hot parameters, EventValues, EventSources, and Map files).<br />

Right<br />

This controls the level of the right input channel. <strong>The</strong> maximum value is 1 and the minimum is -1. <strong>The</strong><br />

right channel of the input is multiplied by the value of Right. Some example values <strong>for</strong> Right are:<br />

1 (no attenuation)<br />

325

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

Saved successfully!

Ooh no, something went wrong!