Minim
core
ugens
analysis
 
Name gen10
Examples
None available
Description Generate a Wavetable given a list of amplitudes for successive partials (harmonics). These two method calls are equivalent:

Wavetable table = WavetableGenerator.gen9(4096, new float[] { 1, 2, 3 }, new float[] { 1, 0.5, 0.2 }, new float[] { 0, 0, 0 });

Wavetable table = WavetableGenerator.gen10(4096, new float[] { 1, 0.5, 0.2 });

Syntax
gen10(size, amp);
Parameters
size   int: the number of samples the Wavetable should contain
amp   float[]: the amplitude of each successive partial, beginning with partial 1.
Returns a Wavetable
Usage Web & Application
Related gen9 ( )
Wavetable