LMMS
Loading...
Searching...
No Matches
calf_plugins::expander_audio_module Class Reference

#include <modules_comp.h>

Public Member Functions

 expander_audio_module ()
void set_params (float att, float rel, float thr, float rat, float kn, float mak, float det, float stl, float byp, float mu, float ran)
void update_curve ()
void process (float &left, float &right, const float *det_left=NULL, const float *det_right=NULL)
void activate ()
void deactivate ()
void set_sample_rate (uint32_t sr)
float get_output_level ()
float get_expander_level ()
bool _get_graph (int subindex, float *data, int points, cairo_iface *context, int *mode) const
bool _get_dot (int subindex, float &x, float &y, int &size, cairo_iface *context) const
bool _get_gridline (int subindex, float &pos, bool &vertical, std::string &legend, cairo_iface *context) const
bool _get_layers (int index, int generation, unsigned int &layers) const

Public Attributes

uint32_t srate
bool is_active
int id

Private Member Functions

float output_level (float slope) const
float output_gain (float linSlope, bool rms) const

Private Attributes

float linSlope
float detected
float kneeStart
float linKneeStart
float kneeStop
float linKneeStop
float compressedKneeStop
float adjKneeStart
float range
float thres
float attack_coeff
float release_coeff
float attack
float release
float threshold
float ratio
float knee
float makeup
float detection
float stereo_link
float bypass
float mute
float meter_out
float meter_gate
float old_threshold
float old_ratio
float old_knee
float old_makeup
float old_bypass
float old_range
float old_trigger
float old_mute
float old_detection
float old_stereo_link
bool redraw_graph

Constructor & Destructor Documentation

◆ expander_audio_module()

expander_audio_module::expander_audio_module ( )

Member Function Documentation

◆ _get_dot()

bool expander_audio_module::_get_dot ( int subindex,
float & x,
float & y,
int & size,
cairo_iface * context ) const

◆ _get_graph()

bool expander_audio_module::_get_graph ( int subindex,
float * data,
int points,
cairo_iface * context,
int * mode ) const

◆ _get_gridline()

bool expander_audio_module::_get_gridline ( int subindex,
float & pos,
bool & vertical,
std::string & legend,
cairo_iface * context ) const

◆ _get_layers()

bool expander_audio_module::_get_layers ( int index,
int generation,
unsigned int & layers ) const

◆ activate()

void expander_audio_module::activate ( )

◆ deactivate()

void expander_audio_module::deactivate ( )

◆ get_expander_level()

float expander_audio_module::get_expander_level ( )

◆ get_output_level()

float expander_audio_module::get_output_level ( )

◆ output_gain()

float expander_audio_module::output_gain ( float linSlope,
bool rms ) const
inlineprivate

◆ output_level()

float expander_audio_module::output_level ( float slope) const
inlineprivate

◆ process()

void expander_audio_module::process ( float & left,
float & right,
const float * det_left = NULL,
const float * det_right = NULL )

◆ set_params()

void expander_audio_module::set_params ( float att,
float rel,
float thr,
float rat,
float kn,
float mak,
float det,
float stl,
float byp,
float mu,
float ran )

◆ set_sample_rate()

void expander_audio_module::set_sample_rate ( uint32_t sr)

◆ update_curve()

void expander_audio_module::update_curve ( )

Member Data Documentation

◆ adjKneeStart

float calf_plugins::expander_audio_module::adjKneeStart
private

◆ attack

float calf_plugins::expander_audio_module::attack
private

◆ attack_coeff

float calf_plugins::expander_audio_module::attack_coeff
private

◆ bypass

float calf_plugins::expander_audio_module::bypass
private

◆ compressedKneeStop

float calf_plugins::expander_audio_module::compressedKneeStop
private

◆ detected

float calf_plugins::expander_audio_module::detected
private

◆ detection

float calf_plugins::expander_audio_module::detection
private

◆ id

int calf_plugins::expander_audio_module::id

◆ is_active

bool calf_plugins::expander_audio_module::is_active

◆ knee

float calf_plugins::expander_audio_module::knee
private

◆ kneeStart

float calf_plugins::expander_audio_module::kneeStart
private

◆ kneeStop

float calf_plugins::expander_audio_module::kneeStop
private

◆ linKneeStart

float calf_plugins::expander_audio_module::linKneeStart
private

◆ linKneeStop

float calf_plugins::expander_audio_module::linKneeStop
private

◆ linSlope

float calf_plugins::expander_audio_module::linSlope
private

◆ makeup

float calf_plugins::expander_audio_module::makeup
private

◆ meter_gate

float calf_plugins::expander_audio_module::meter_gate
private

◆ meter_out

float calf_plugins::expander_audio_module::meter_out
private

◆ mute

float calf_plugins::expander_audio_module::mute
private

◆ old_bypass

float calf_plugins::expander_audio_module::old_bypass
private

◆ old_detection

float calf_plugins::expander_audio_module::old_detection
private

◆ old_knee

float calf_plugins::expander_audio_module::old_knee
private

◆ old_makeup

float calf_plugins::expander_audio_module::old_makeup
private

◆ old_mute

float calf_plugins::expander_audio_module::old_mute
private

◆ old_range

float calf_plugins::expander_audio_module::old_range
private

◆ old_ratio

float calf_plugins::expander_audio_module::old_ratio
private

◆ old_stereo_link

float calf_plugins::expander_audio_module::old_stereo_link
private

◆ old_threshold

float calf_plugins::expander_audio_module::old_threshold
private

◆ old_trigger

float calf_plugins::expander_audio_module::old_trigger
private

◆ range

float calf_plugins::expander_audio_module::range
private

◆ ratio

float calf_plugins::expander_audio_module::ratio
private

◆ redraw_graph

bool calf_plugins::expander_audio_module::redraw_graph
mutableprivate

◆ release

float calf_plugins::expander_audio_module::release
private

◆ release_coeff

float calf_plugins::expander_audio_module::release_coeff
private

◆ srate

uint32_t calf_plugins::expander_audio_module::srate

◆ stereo_link

float calf_plugins::expander_audio_module::stereo_link
private

◆ thres

float calf_plugins::expander_audio_module::thres
private

◆ threshold

float calf_plugins::expander_audio_module::threshold
private

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