MusicKit  0.0.0
Simp.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 */
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