MusicKit
0.0.0
|
00001 /* 00002 $Id$ 00003 00004 Defined In: The MusicKit 00005 Description: 00006 DelayqpUG - from dsp macro /usr/lib/dsp/ugsrc/delayqp.asm (see source for details). 00007 00008 You instantiate a subclass of the form 00009 DelayqpUG<a><b>, where 00010 <a> = space of output 00011 <b> = space of input 00012 00013 DelayqpUG is useful for flanging, reverberation, plucked string 00014 synthesis, etc. 00015 00016 Original Author: David A. Jaffe 00017 00018 Copyright (c) 1993, CCRMA, Stanford University. All rights reserved. 00019 Portions Copyright (c) 1999-2001, The MusicKit Project. 00020 */ 00021 // classgroup Delays and Time-Modification Units 00064 #ifndef __MK_DelayqpUG_H___ 00065 #define __MK_DelayqpUG_H___ 00066 00067 #import <MusicKit/MKUnitGenerator.h> 00068 00069 @interface DelayqpUG : MKUnitGenerator 00070 { 00071 int memAddr; 00072 int len; 00073 } 00074 00080 + (BOOL) shouldOptimize: (unsigned) arg; 00081 00087 - setInput: (id) aPatchPoint; 00088 00094 -setOutput: (id) aPatchPoint; 00095 00104 - setDelayAddress: (DSPDatum) address length: (DSPDatum) length; 00105 00111 - adjustLength: (int) newDelayLength; 00112 00119 - setPointer: (int) offset; 00120 00126 - resetPointer; 00127 00132 - (int) length; 00133 00134 - runSelf; 00135 00147 - idleSelf; 00148 /* Patches output and delay memory to sink. */ 00149 00150 @end 00151 00152 #endif