#import <Wave1vi.h>
Wave1vi is like Wave1i, but it includes periodic and random vibrato. Wave1v(a subclass of Wave1vi ) is identical, but it uses a non-interpolating-oscillator (lower quality, but uses less DSP computation.). See Wave1i.h for a description of the non-vibrato parameters.
When using this MKSynthPatch in an interactive real-time context, such as playing from a MIDI keyboard, call MKUseRealTimeEnvelopes() before allocating the MKSynthPatch.
In addition to the parameters described in Wave1i.rtfd, the following parameters are supported:
controlChange - MIDI modulation wheel (controller 1) interpolates simultaneously between svibAmp0 and svibAmp, and svibFreq0 and svibFreq. The default value (127) results in svibFreq and svibAmp. The value is given by the companion parameter controlVal. In the range 0:127.
controlVal - See controlChange.
svibFreq - Sinusoidal vibrato rate in hz. Default is 0.0.
svibAmp- Sinusoidal vibrato amplitude as a percentage of the fundamental frequency. In the range 0.0:1.0. Default is 0.0.
svibFreq0 - See controlChange. Default is 0.0.
svibAmp0 - See controlChange. Default is 0.0.
rvibAmp - Random vibrato amplitude as roughly a percentage of the fundamental frequency. In the range 0.0:1.0. Default is 0.0.
vibWaveform - WaveTable object that specifies shape of vibrato.