00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00083 #ifndef __MK_Simp_H___
00084 #define __MK_Simp_H___
00085
00086 #import <MusicKit/MKSynthPatch.h>
00087
00088 @interface Simp:MKSynthPatch
00089 {
00090 double amp, freq, bearing, phase, velocitySensitivity;
00091 id waveform;
00092 int wavelen, volume, velocity;
00093 int pitchbend;
00094 double pitchbendSensitivity;
00095 }
00096
00104 +patchTemplateFor: (MKNote *) aNote;
00105
00115 -noteOnSelf: (MKNote *) aNote;
00116
00126 -noteUpdateSelf: (MKNote *) aNote;
00127
00136 -(double)noteOffSelf: (MKNote *) aNote;
00137
00144 -noteEndSelf;
00145
00146 @end
00147
00148 #endif