The characteristics of the synthesis are controlled by 22 parameters. All parameters with prefix i must be valid at Init time, parameters with prefix k can be either control or Init values. 0.5 will be half speed. If ipshift is 0, pitch will be set randomly up and down an octave. The optional parameters ipitch1, ipitch2, ipitch3 and ipitch4 are used to quantify the pitch shifts.
Time scaling technique is used in pitch shift with linear interpolation between data points.
Default value is 1, the original pitch. The above example reads a sound file called sine.aiff into wavetable number 1 with 524,288 samples. It generates 10 seconds of stereo audio output using the wavetable. In the orchestra file, all parameters required to control the synthesis are passed from the score file. A linseg function generator is used to generate an envelope with 0.5 second of linear attack and decade.