Logo Search packages:      
Sourcecode: calf version File versions  Download package

dsp::simple_flanger< T, MaxDelay > Class Template Reference

#include <audio_fx.h>

Inheritance diagram for dsp::simple_flanger< T, MaxDelay >:

dsp::chorus_base dsp::audio_effect

List of all members.

Detailed Description

template<class T, int MaxDelay = 1024>
class dsp::simple_flanger< T, MaxDelay >

Single-tap flanger (chorus plus feedback).

Definition at line 298 of file audio_fx.h.

Public Member Functions

float freq_gain (float freq, float sr)
float get_dry ()
float get_fb ()
float get_min_delay ()
float get_mod_depth ()
float get_rate ()
float get_wet ()
void inc_phase (float req_phase)
template<class OutIter, class InIter>
void process (OutIter buf_out, InIter buf_in, int nsamples)
void reset ()
void reset_phase (float req_phase)
void set_dry (float dry)
void set_fb (float fb)
void set_min_delay (float min_delay)
void set_mod_depth (float mod_depth)
void set_rate (float rate)
void set_wet (float wet)
virtual void setup (int sample_rate)

Public Attributes

fixed_point< unsigned int, 20 > dphase
fixed_point< unsigned int, 20 > phase

Protected Attributes

simple_delay< MaxDelay, T > delay
float dry
float fb
gain_smoothing gs_dry
gain_smoothing gs_wet
int last_actual_delay_pos
int last_delay_pos
float min_delay
int min_delay_samples
float mod_depth
int mod_depth_samples
float odsr
int ramp_delay_pos
int ramp_pos
float rate
int sample_rate
sine_table< int, 4096, 65536 > sine
float wet

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index