Sound Design Toolkit 075 Physically informed sound synthesis for everyday sounds

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

SDTEffects.h
Go to the documentation of this file.
1
6 #ifndef SDT_EFFECTS_H
7 #define SDT_EFFECTS_H
8
16 typedef struct SDTReverb SDTReverb;
17
21 extern SDTReverb *SDTReverb_new(long maxDelay);
22
25 extern void SDTReverb_free(SDTReverb *x);
26
29 extern void SDTReverb_setXSize(SDTReverb *x, double f);
30
33 extern void SDTReverb_setYSize(SDTReverb *x, double f);
34
37 extern void SDTReverb_setZSize(SDTReverb *x, double f);
38
42 extern void SDTReverb_setRandomness(SDTReverb *x, double f);
43
46 extern void SDTReverb_setTime(SDTReverb *x, double f);
47
50 extern void SDTReverb_setTime1k(SDTReverb *x, double f);
51
54 extern void SDTReverb_update(SDTReverb *x);
55
60 extern double SDTReverb_dsp(SDTReverb *x, double in);
61
70 typedef struct SDTPitchShift SDTPitchShift;
71
75 extern SDTPitchShift *SDTPitchShift_new(long size);
76
79 extern void SDTPitchShift_free(SDTPitchShift *x);
80
83 extern void SDTPitchShift_setRatio(SDTPitchShift *x, double f);
84
89 extern double SDTPitchShift_dsp(SDTPitchShift *x, double in);
90
93 #endif
94
SDTReverb_setZSize
void SDTReverb_setZSize(SDTReverb *x, double f)
Sets the room depth.
SDTPitchShift_setRatio
void SDTPitchShift_setRatio(SDTPitchShift *x, double f)
Sets the pitch shifting ratio.
SDTReverb
struct SDTReverb SDTReverb
Opaque data structure for a reverberator object.
Definition: SDTEffects.h:16
SDTReverb_setYSize
void SDTReverb_setYSize(SDTReverb *x, double f)
Sets the room height.
SDTReverb_setXSize
void SDTReverb_setXSize(SDTReverb *x, double f)
Sets the room width.
SDTReverb_new
SDTReverb * SDTReverb_new(long maxDelay)
Object constructor.
SDTPitchShift
struct SDTPitchShift SDTPitchShift
Opaque data structure for a pitch shifter object.
Definition: SDTEffects.h:70
SDTReverb_dsp
double SDTReverb_dsp(SDTReverb *x, double in)
Signal processing routine. Call this function at sample rate to compute the reverberated signal...
SDTReverb_setTime
void SDTReverb_setTime(SDTReverb *x, double f)
Sets the global, frequency-independent reverberation time.
SDTReverb_setTime1k
void SDTReverb_setTime1k(SDTReverb *x, double f)
Sets the reverberation time at 1kHz.
SDTPitchShift_new
SDTPitchShift * SDTPitchShift_new(long size)
Object constructor.
SDTReverb_setRandomness
void SDTReverb_setRandomness(SDTReverb *x, double f)
Sets how randomly distributed are the resonant modes. This parameter is directly proportional to the ...
SDTPitchShift_dsp
double SDTPitchShift_dsp(SDTPitchShift *x, double in)
Signal processing routine. Call this function at sample rate to compute the pitch shifted signal...
SDTPitchShift_free
void SDTPitchShift_free(SDTPitchShift *x)
Object destructor.
SDTReverb_free
void SDTReverb_free(SDTReverb *x)
Object destructor.
SDTReverb_update
void SDTReverb_update(SDTReverb *x)
Updates the internal filters. Call this function after every sample rate change.