LMMS
Loading...
Searching...
No Matches
dsp::chorus_base Class Reference

#include <audio_fx.h>

Inheritance diagram for dsp::chorus_base:
dsp::modulation_effect dsp::audio_effect dsp::multichorus< float, dsp::sine_multi_lfo< float, 8 >, dsp::filter_sum< dsp::biquad_d2, dsp::biquad_d2 >, 4096 > dsp::simple_flanger< float, 2048 > dsp::multichorus< T, MultiLfo, Postprocessor, MaxDelay > dsp::simple_chorus< T, MaxDelay > dsp::simple_flanger< T, MaxDelay >

Public Member Functions

float get_min_delay () const
void set_min_delay (float min_delay)
float get_mod_depth () const
void set_mod_depth (float mod_depth)
Public Member Functions inherited from dsp::modulation_effect
float get_rate () const
void set_rate (float rate)
float get_wet () const
void set_wet (float wet)
float get_dry () const
void set_dry (float dry)
void reset_phase (float req_phase)
void inc_phase (float req_phase)
void setup (int sample_rate)
int get_lfo_active () const
void set_lfo_active (int i)
Public Member Functions inherited from dsp::audio_effect
virtual ~audio_effect ()

Protected Attributes

int min_delay_samples
int mod_depth_samples
float min_delay
float mod_depth
sine_table< int, 4096, 65536 > sine
Protected Attributes inherited from dsp::modulation_effect
int sample_rate
int lfo_active
float rate
float wet
float dry
float odsr
gain_smoothing gs_wet
gain_smoothing gs_dry

Additional Inherited Members

Public Attributes inherited from dsp::modulation_effect
fixed_point< unsigned int, 20 > phase
fixed_point< unsigned int, 20 > dphase

Detailed Description

Base class for chorus and flanger. Wouldn't be needed if it wasn't for odd behaviour of GCC when deriving templates from template base classes (not seeing fields from base classes!).

Member Function Documentation

◆ get_min_delay()

float dsp::chorus_base::get_min_delay ( ) const
inline

◆ get_mod_depth()

float dsp::chorus_base::get_mod_depth ( ) const
inline

◆ set_min_delay()

void dsp::chorus_base::set_min_delay ( float min_delay)
inline

◆ set_mod_depth()

void dsp::chorus_base::set_mod_depth ( float mod_depth)
inline

Member Data Documentation

◆ min_delay

float dsp::chorus_base::min_delay
protected

◆ min_delay_samples

int dsp::chorus_base::min_delay_samples
protected

◆ mod_depth

float dsp::chorus_base::mod_depth
protected

◆ mod_depth_samples

int dsp::chorus_base::mod_depth_samples
protected

◆ sine

sine_table<int, 4096, 65536> dsp::chorus_base::sine
protected

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