MusicKit  0.0.0
Wave1vi.h
00001 /*
00002   $Id$
00003   
00004   Defined In: The MusicKit
00005   Description:
00006     (See discussion below)
00007 
00008   Original Author: David A. Jaffe
00009 
00010   Copyright (c) 1988-1992, NeXT Computer, Inc.
00011   Portions Copyright (c) 1994 NeXT Computer, Inc. and reproduced under license from NeXT
00012   Portions Copyright (c) 1994 Stanford University.
00013   Portions Copyright (c) 1999-2005, The MusicKit Project.
00014 */
00047 #ifndef __MK_Wave1vi_H___
00048 #define __MK_Wave1vi_H___
00049 
00050 #import <MusicKit/MKSynthPatch.h>
00051 
00052 #import "Wave1i.h"
00053 
00054 @interface Wave1vi:Wave1i
00055 {
00056     /* Instance variables for the parameters to which the MKSynthPatch 
00057        responds. */
00058 
00059     MKWaveTable *vibWaveform; /* Waveform used for vibrato. */
00060     double svibAmp0;  /* Vibrato, on a scale of 0 to 1, when modWheel is 0. */
00061     double svibAmp1;  /* Vibrato, on a scale of 0 to 1, when modWheel is 127.*/
00062     double svibFreq0; /* Vibrato freq in Hz. when modWheel is 0. */
00063     double svibFreq1; /* Vibrato freq in Hz. when modWheel is 1. */
00064     
00065     double rvibAmp;   /* Random vibrato. On a scale of 0 to 1. */
00066 
00067     int modWheel;     /* MIDI modWheel. Controls vibrato frequency and amp */
00068 }
00069 
00070 /* Default parameter values, if corresponding parameter is omitted: 
00071    vibWaveform - sine wave
00072    svibAmp0 - 0.0
00073    svibAmp1 - 0.0
00074    svibFreq0 - 0.0 Hz.
00075    svibFreq1 - 0.0 Hz.
00076     
00077    rvibAmp - 0.0
00078 
00079    modWheel - vibrato amplitude of svibAmp1 and frequency of svibFreq1 (127)
00080 
00081 */
00082 
00083 /* All methods are inherited. */
00084 
00085 @end
00086 
00087 #endif