00001 /* 00002 $Id: Out1bUG.h 3255 2005-05-14 03:27:27Z leighsmith $ 00003 00004 Defined In: The MusicKit 00005 Description: 00006 Out1bUG - from dsp macro /usr/lib/dsp/ugsrc/out1b.asm (see source for details). 00007 00008 Out1b writes its input signal to the mono output stream, or channel 1 (right) 00009 of the stereo output sample stream of the DSP, adding into that stream. 00010 The stream is cleared before each DSP tick (each orchestra program 00011 iteration). Out1b also provides a scaling on the output channel. 00012 00013 You instantiate a subclass of the form 00014 Out1bUG<a>, where <a> = space of input 00015 00016 Original Author: David A. Jaffe 00017 00018 Copyright (c) 1988-1992, NeXT Computer, Inc. 00019 Portions Copyright (c) 1994 NeXT Computer, Inc. and reproduced under license from NeXT 00020 Portions Copyright (c) 1994 Stanford University. 00021 Portions Copyright (c) 1999-2001, The MusicKit Project. 00022 */ 00023 // classgroup Sound Inputs and Outputs 00067 #ifndef __MK_Out1bUG_H___ 00068 #define __MK_Out1bUG_H___ 00069 00070 #import <MusicKit/MKUnitGenerator.h> 00071 00072 @interface Out1bUG : MKUnitGenerator 00073 { 00074 BOOL _reservedOut1b1; 00075 } 00076 00084 +(BOOL)shouldOptimize:(unsigned) arg; 00085 00096 - setScale: (double) value; 00097 00105 -runSelf; 00106 /* If scaling has not been set, sets it to 1-e. */ 00107 00108 00118 -setInput: (id) aPatchPoint; 00119 /* Sets input patch point. */ 00120 00121 @end 00122 00123 #endif