00001 /* Copyright 1993-1996 by J.O. Smith (jos@ccrma.stanford.edu). All rights reserved. */ 00002 00003 /* On the DSP we generate 24-bit noise using the Linear Congruential method. 00004 covered in Knuth vol. 2. Here we use the native random() function. 00005 (If that doesn't exist, the more standard rand() function can be called.) */ 00006 00007 typedef struct _unoiseVars { 00008 pp output; 00009 /* long seed; */ /* not supported */ 00010 } unoiseVars; 00011 00012 extern void unoise(unoiseVars *a); 00013 00014