Sound Design Toolkit  075
Physically informed sound synthesis for everyday sounds
SDTEffects.h File Reference

Go to the source code of this file.

Typedefs

typedef struct SDTReverb SDTReverb
 Opaque data structure for a reverberator object.
 
typedef struct SDTPitchShift SDTPitchShift
 Opaque data structure for a pitch shifter object.
 

Functions

SDTReverbSDTReverb_new (long maxDelay)
 Object constructor. More...
 
void SDTReverb_free (SDTReverb *x)
 Object destructor. More...
 
void SDTReverb_setXSize (SDTReverb *x, double f)
 Sets the room width. More...
 
void SDTReverb_setYSize (SDTReverb *x, double f)
 Sets the room height. More...
 
void SDTReverb_setZSize (SDTReverb *x, double f)
 Sets the room depth. More...
 
void SDTReverb_setRandomness (SDTReverb *x, double f)
 Sets how randomly distributed are the resonant modes. This parameter is directly proportional to the irregularity of the shape of the room. More...
 
void SDTReverb_setTime (SDTReverb *x, double f)
 Sets the global, frequency-independent reverberation time. More...
 
void SDTReverb_setTime1k (SDTReverb *x, double f)
 Sets the reverberation time at 1kHz. More...
 
void SDTReverb_update (SDTReverb *x)
 Updates the internal filters. Call this function after every sample rate change.
 
double SDTReverb_dsp (SDTReverb *x, double in)
 Signal processing routine. Call this function at sample rate to compute the reverberated signal. More...
 
SDTPitchShiftSDTPitchShift_new (long size)
 Object constructor. More...
 
void SDTPitchShift_free (SDTPitchShift *x)
 Object destructor. More...
 
void SDTPitchShift_setRatio (SDTPitchShift *x, double f)
 Sets the pitch shifting ratio. More...
 
double SDTPitchShift_dsp (SDTPitchShift *x, double in)
 Signal processing routine. Call this function at sample rate to compute the pitch shifted signal. More...