00001 /* 00002 $Id: In1aUG.h 3255 2005-05-14 03:27:27Z leighsmith $ 00003 00004 Defined In: The MusicKit 00005 Description: 00006 In1aUG - from dsp macro /usr/local/lib/dsp/ugsrc/in1a.asm (see source for details). 00007 00008 In1a reads its input signal from channel 0 (left) of the stereo sound input sample 00009 stream of the DSP, writing it to its output. 00010 In1a also provides a scaling on its output. 00011 00012 You instantiate a subclass of the form 00013 In1aUG<a>, where <a> = space of input 00014 00015 Original Author: David A. Jaffe 00016 00017 Copyright (c) 1988-1992, NeXT Computer, Inc. 00018 Portions Copyright (c) 1994 NeXT Computer, Inc. and reproduced under license from NeXT 00019 Portions Copyright (c) 1994 Stanford University. 00020 Portions Copyright (c) 1999-2001, The MusicKit Project. 00021 */ 00022 // classgroup Sound Inputs and Outputs 00050 #ifndef __MK_In1aUG_H___ 00051 #define __MK_In1aUG_H___ 00052 #import <MusicKit/MKUnitGenerator.h> 00053 00054 @interface In1aUG : MKUnitGenerator 00055 { 00056 BOOL _reservedIn1a1; 00057 } 00058 00066 + (BOOL) shouldOptimize: (unsigned) arg; 00067 00077 -setScale: (double) value; 00078 00086 -runSelf; 00087 /* If scaling has not been set, sets it to 1-e. */ 00088 00098 -setOutput: (id) aPatchPoint; 00099 00100 @end 00101 00102 #endif