MusicKit  0.0.0
UnoiseUG.h
00001 /*
00002   $Id$
00003   Defined In: The MusicKit
00004  
00005   Description:
00006     UnoiseUG - from dsp macro /usr/lib/dsp/ugsrc/unoise.asm (see source for details).
00007 
00008   You instantiate a subclass of the form UnoiseUG<a>, where 
00009   <a> = space of output.
00010 
00011   UnoiseUG computes uniform pseudo-white noise using the linear congruential 
00012   method for random number generation (reference: Knuth, volume II of The Art 
00013   of Computer Programming).
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 Oscillators and Waveform Generators
00039 #ifndef __MK_UnoiseUG_H___
00040 #define __MK_UnoiseUG_H___
00041 
00042 #import <MusicKit/MKUnitGenerator.h>
00043 
00044 @interface UnoiseUG: MKUnitGenerator
00045 
00057 - idleSelf;
00058 
00064 + (BOOL) shouldOptimize: (unsigned) arg;
00065 
00075 - setSeed: (DSPDatum) seedVal;
00076 
00084 -setOutput: (id) aPatchPoint;
00085 
00086 @end
00087 
00088 #endif