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

dsp::simple_phaser< MaxStages > Class Template Reference

#include <audio_fx.h>

Inheritance diagram for dsp::simple_phaser< MaxStages >:


List of all members.

Detailed Description

template<int MaxStages>
class dsp::simple_phaser< MaxStages >

A monophonic phaser. If you want stereo, combine two :) Also, gave up on using template args for signal type.

Definition at line 98 of file audio_fx.h.

Public Member Functions

void control_step ()
float freq_gain (float freq, float sr)
float get_base_frq ()
float get_dry ()
float get_fb ()
float get_mod_depth ()
float get_rate ()
int get_stages ()
float get_wet ()
void inc_phase (float req_phase)
void process (float *buf_out, float *buf_in, int nsamples)
void reset ()
void reset_phase (float req_phase)
void set_base_frq (float _base_frq)
void set_dry (float dry)
void set_fb (float fb)
void set_mod_depth (float _mod_depth)
void set_rate (float rate)
void set_stages (int _stages)
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

float base_frq
int cnt
float dry
float fb
gain_smoothing gs_dry
gain_smoothing gs_wet
float mod_depth
float odsr
float rate
int sample_rate
dsp::onepole< float, float > stage1
int stages
float state
float wet
float x1 [MaxStages]
float y1 [MaxStages]

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

Generated by  Doxygen 1.6.0   Back to index