Minim core ugens analysis |
||||||||||
Name | gen7 | |||||||||
Examples | None available |
|||||||||
Description | Generate a piecewise linear waveform given an array of sample values and the distances
between them. The dist array should contain one value less than the val
array. The values in the dist array should also add up to size . For instance, a
call like this:
Would generate a Wavetable that was 4096 samples long and the values of those samples would start at 1.0, linearly decrease to -1.0 over 2048 samples, and then increase to 1.0 over the next 2048 samples. If you wanted to generate a triangle wavetable with 4096 samples, you'd do this:
|
|||||||||
Syntax | gen7(size, val, dist); |
|||||||||
Parameters |
|
|||||||||
Returns | a Wavetable | |||||||||
Usage | Web & Application | |||||||||
Related | Wavetable |
|||||||||