Sound Design Toolkit  075
Physically informed sound synthesis for everyday sounds
SDTOscillators.h
Go to the documentation of this file.
1 
6 #ifndef SDT_OSCILLATORS_H
7 #define SDT_OSCILLATORS_H
8 
10 typedef struct SDTPinkNoise SDTPinkNoise;
11 
15 extern SDTPinkNoise *SDTPinkNoise_new(int nOctaves);
16 
19 extern void SDTPinkNoise_free(SDTPinkNoise *x);
20 
23 extern double SDTPinkNoise_dsp(SDTPinkNoise *x);
24 
27 extern double SDT_whiteNoise();
28 
31 #endif
double SDT_whiteNoise()
Signal processing routine. Call this function at sample rate to generate white noise.
SDTPinkNoise * SDTPinkNoise_new(int nOctaves)
Object constructor.
void SDTPinkNoise_free(SDTPinkNoise *x)
Object destructor.
double SDTPinkNoise_dsp(SDTPinkNoise *x)
Signal processing routine. Call this function at sample rate to generate pink noise.
struct SDTPinkNoise SDTPinkNoise
Opaque data structure for a pink noise generator.
Definition: SDTOscillators.h:10