00001 /* Copyright 1993-1996 by J.O. Smith (jos@ccrma.stanford.edu). All rights reserved. */ 00002 typedef struct _oscgVars { 00003 MKWavetable table; 00004 word *data; 00005 word mtab; /* mask for wrapping pointer in wavetable memory */ 00006 pp output; 00007 word amp; 00008 dbl inc; 00009 dbl freq; /* not used but nice to see for convenience */ 00010 word phase; 00011 } oscgVars; 00012 00013 extern void init_oscg(oscgVars *a); 00014 00015 extern void oscg(oscgVars *a); 00016 00017 00018 00019