#import <Shapev.h>
Static Public Member Functions | |
(id) | + patchTemplateFor: |
Returns a template. |
Shapev is like Shape, but it includes periodic and random vibrato.
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 Shape.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.
+ (id) patchTemplateFor: | (MKNote *) | aNote |
Returns a template.
aNote | is an id. |
Reimplemented from Shape.