Shapev Class Reference
[Waveshaping (a.k.a. Nonlinear Distortion) Synthesis]

Same as Shape but with periodic and random vibrato. More...

#import <Shapev.h>

Inheritance diagram for Shapev:

Shape MKSynthPatch MKPatch

List of all members.

Static Public Member Functions

(id) + patchTemplateFor:
 Returns a template.


Detailed Description

Same as Shape but with periodic and random vibrato.

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.

Parameter Interpretation

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.


Member Function Documentation

+ (id) patchTemplateFor: (MKNote *)  aNote  

Returns a template.

Parameters:
aNote is an id.
Returns:
Returns an id. A non-zero for svibAmpand rvibAmp determines whether vibrato resources are allocated.

Reimplemented from Shape.


The documentation for this class was generated from the following file:

Generated on Sat Dec 5 17:01:16 2009 for MusicKit by  doxygen 1.5.6