Sound Design Toolkit  078
Physically informed sound synthesis for everyday sounds

Typedefs

typedef struct SDTAllPass SDTAllPass
 Opaque data structure for an allpass filter object.
 
typedef struct SDTAllPass SDTAllPass
 Opaque data structure for an allpass filter object.
 

Functions

SDTAllPassSDTAllPass_new ()
 Object constructor. More...
 
void SDTAllPass_free (SDTAllPass *x)
 Object destructor. More...
 
void SDTAllPass_setFeedback (SDTAllPass *x, double f)
 Sets the feedback coefficient. More...
 
double SDTAllPass_dsp (SDTAllPass *x, double in)
 Signal processing routine. Call this function at sample rate to compute the filtered signal. More...
 

Detailed Description

Allpass filter, used to adjust phases in fractional delay lines.

Function Documentation

double SDTAllPass_dsp ( SDTAllPass x,
double  in 
)

Signal processing routine. Call this function at sample rate to compute the filtered signal.

Parameters
[in]inInput sample
Returns
Output sample
void SDTAllPass_free ( SDTAllPass x)

Object destructor.

Parameters
[in]xPointer to the instance to destroy
SDTAllPass * SDTAllPass_new ( )

Object constructor.

Returns
Pointer to the new instance
void SDTAllPass_setFeedback ( SDTAllPass x,
double  f 
)

Sets the feedback coefficient.

Parameters
[in]fWeight of the input sample