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

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

#include <audio_fx.h>

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

dsp::chorus_base dsp::audio_effect

List of all members.

Detailed Description

template<class T, int MaxDelay = 512>
class dsp::simple_chorus< T, MaxDelay >

Single-tap chorus without feedback. Perhaps MaxDelay should be a bit longer!

Definition at line 249 of file audio_fx.h.

Public Member Functions

float get_dry ()
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_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
gain_smoothing gs_dry
gain_smoothing gs_wet
float min_delay
int min_delay_samples
float mod_depth
int mod_depth_samples
float odsr
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