#include <Generator.h>
| Public Methods | |
| WhiteNoiseOsc () | |
| float | generate () | 
| generate wave data... More... | |
| void | reset () | 
| reset the waveform phase at 0. More... | |
| unsigned int | samplesPerOsc () | 
| get the number of samples for a single oscillation. More... | |
| void | setFreq (float freqHz) | 
| set the osc frequency in hz (cycles per sec) NOTE: unused in all noise functions... More... | |
| void | setSampRate (float samplingRateHz) | 
| set the sampling rate of the generated wave. More... | |
Definition at line 289 of file Generator.h.
| 
 | 
| 
 Definition at line 292 of file Generator.h. | 
| 
 | 
| generate wave data... 
 Definition at line 302 of file Generator.h. | 
| 
 | 
| reset the waveform phase at 0. 
 Definition at line 311 of file Generator.h. Referenced by WhiteNoiseOsc(). 
 | 
| 
 | 
| get the number of samples for a single oscillation. this tells you how many samples before the osc repeats. useful for filling a wavetable so that it can repeat without pops. NOTE: for noise, this number is arbitrarilly chosen. Definition at line 322 of file Generator.h. | 
| 
 | 
| set the osc frequency in hz (cycles per sec) NOTE: unused in all noise functions... 
 Definition at line 331 of file Generator.h. | 
| 
 | 
| set the sampling rate of the generated wave. samples per sec. NOTE: unused in all noise functions... Definition at line 337 of file Generator.h. | 
 1.2.8.1 written by Dimitri van Heesch,
 © 1997-2001
1.2.8.1 written by Dimitri van Heesch,
 © 1997-2001