00001 /* 00002 $Id: EnvFollowUG.h 3255 2005-05-14 03:27:27Z leighsmith $ 00003 00004 Defined In: The MusicKit 00005 Description: 00006 AmpenvfollowUG implements a sample-level simple envelope follower, which 00007 tracks the peaks of the signal. It has a three arguments, the input 00008 patchpoint, the output patchpoint, and the release parameter. The release 00009 value controls how quickly the envelope responds to amplitude changes. It 00010 generally should have a value between 0.9 and 0.99. 00011 00012 This version operates at the sample-level. It is more responsive than the 00013 tick-level version (AmpenvfollowtUG). 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 Envelope Handlers and Followers 00038 #import <MusicKit/MKUnitGenerator.h> 00039 00040 @interface EnvFollowUG : MKUnitGenerator 00041 { 00042 } 00043 00049 - setInput: (id) aPatchPoint; 00050 00056 - setOutput: (id) aPatchPoint; 00057 00067 - setRelease: (double) value; 00068 00069 - init; 00070 - idleSelf; 00071 - runSelf; 00072 00073 @end