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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Pan<br />

This is the stereo position of each new grain where 0 is hard left, 0.5 is in the middle, and 1 is hard right.<br />

PanJitter<br />

This is the amount of random deviation added to the pan position. <strong>The</strong> larger this number, the more<br />

diffuse the apparent location, and the smaller the number, the more localized the sound.<br />

Seed<br />

This should be a number between 0 and 1. <strong>The</strong> seed provides a starting point <strong>for</strong> the random number<br />

generator, so each different seed results in a different (but repeatable) sequence of random numbers.<br />

When adding several SampleGrains with the same control parameters together in a Mixer, give each of<br />

them a different seed in order to ensure that each of them has *different* random jitter added to its<br />

parameters (otherwise, they will just double each other).<br />

FromMemoryWriter<br />

Check this box to granulate the live input or to granulate a sample that is being changed by a<br />

MemoryWriter as the granulation is going on. This SampleCloud should be fed into a Mixer along with a<br />

MemoryWriter that is recording something into the sample that you are granulating with the SampleCloud.<br />

<strong>The</strong> SampleCloud should be fed through a TimeOffset of at least 1 sample, so it is reading *after* the<br />

sample is written.<br />

TimeIndex<br />

This is a pointer into the Sample memory. -1 points to the beginning of the sample, 0 points to the<br />

middle, and 1 points to the end of the sample. Grains are selected from this point and from random<br />

positions in the neighborhood (whose size is determined TimeIndexJitter) around this point.<br />

To read through the sample in linear, <strong>for</strong>ward time, you can use something like:<br />

!KeyDown fullRamp: 10 s<br />

which will scan the sample from beginning to end over the course of 10 seconds each time it receives a<br />

MIDI note event.<br />

To remove the element of time from the sample, set TimeIndex to a fixed position like 0 (the middle of the<br />

sample), and increase TimeIndexJitter to its maximum value. <strong>The</strong>n grains will be chosen at random from<br />

all different time points within the sample.<br />

TimeIndexJitter<br />

TimeIndex is a time point in the Sample, and TimeIndexJitter is an amount of random deviation <strong>for</strong>ward or<br />

backward in time from the one point specified TimeIndex. A TimeIndexJitter of zero means that all grains<br />

will be chosen from the single point specified in TimeIndex, whereas a TimeIndexJitter of 1 means that<br />

grains may be chosen at random from any time point in the entire sample.<br />

338

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

Saved successfully!

Ooh no, something went wrong!