MusicKit
0.0.0
|
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 */ 00090 #ifndef __MK_DBWave2vi_H___ 00091 #define __MK_DBWave2vi_H___ 00092 00093 #import <MusicKit/MKSynthPatch.h> 00094 00095 @interface DBWave2vi: MKSynthPatch 00096 { 00097 double amp0, amp1, ampAtt, ampRel, freq0, freq1, freqAtt, freqRel, 00098 bearing, phase, portamento, svibAmp0, svibAmp1, rvibAmp, 00099 svibFreq0, svibFreq1, velocitySensitivity, panSensitivity, 00100 waveformAtt, waveformRel, pitchbendSensitivity; 00101 id ampEnv, freqEnv, waveform0, waveform1, waveformEnv; 00102 int wavelen, volume, velocity, modwheel, pan, pitchbend; 00103 void *_ugNums; 00104 } 00105 00114 + patchTemplateFor: (MKNote *) aNote; 00115 00125 - noteOnSelf: (MKNote *) aNote; 00126 00134 - noteUpdateSelf: (MKNote *) aNote; 00135 00144 - (double) noteOffSelf: (MKNote *) aNote; 00145 00150 - noteEndSelf; 00151 00152 @end 00153 00154 #endif