00001 /* 00002 $Id: In1bUG.h 3255 2005-05-14 03:27:27Z leighsmith $ 00003 00004 Defined In: The MusicKit 00005 Description: 00006 In1bUG - from dsp macro /usr/local/lib/dsp/ugsrc/in1b.asm (see source for details). 00007 00008 In1b 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 In1b also provides a scaling on its output. 00011 00012 You instantiate a subclass of the form 00013 In1bUG<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 00049 #ifndef __MK_In1bUG_H___ 00050 #define __MK_In1bUG_H___ 00051 #import <MusicKit/MKUnitGenerator.h> 00052 00053 @interface In1bUG : MKUnitGenerator 00054 { 00055 BOOL _reservedIn1b1; 00056 } 00057 00065 + (BOOL) shouldOptimize: (unsigned) arg; 00066 00076 - setScale: (double) value; 00077 00085 -runSelf; 00086 /* If scaling has not been set, sets it to 1-e. */ 00087 00097 -setOutput: (id) aPatchPoint; 00098 /* Sets input patch point. */ 00099 00100 @end 00101 #endif