Sound Design Toolkit  078
Physically informed sound synthesis for everyday sounds
SDTOscillators.h
1 
6 #ifndef SDT_OSCILLATORS_H
7 #define SDT_OSCILLATORS_H
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
14 typedef struct SDTPinkNoise SDTPinkNoise;
15 
19 extern SDTPinkNoise *SDTPinkNoise_new(int nOctaves);
20 
23 extern void SDTPinkNoise_free(SDTPinkNoise *x);
24 
27 extern double SDTPinkNoise_dsp(SDTPinkNoise *x);
28 
31 extern double SDT_whiteNoise();
32 
35 #ifdef __cplusplus
36 };
37 #endif
38 
39 #endif
double SDT_whiteNoise()
Signal processing routine. Call this function at sample rate to generate white noise.
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:14
SDTPinkNoise * SDTPinkNoise_new(int nOctaves)
Object constructor.