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

#include <audio_fx.h>

Public Member Functions

 bitreduction ()
void set_sample_rate (uint32_t sr)
float add_dc (float s, float dc) const
float remove_dc (float s, float dc) const
void set_params (float b, float m, bool bp, uint32_t mode, float dc, float aa)
float waveshape (float in) const
float process (float in)
virtual bool get_graph (int subindex, int phase, float *data, int points, calf_plugins::cairo_iface *context, int *mode) const
bool get_layers (int index, int generation, unsigned int &layers) const
bool get_gridline (int subindex, int phase, float &pos, bool &vertical, std::string &legend, calf_plugins::cairo_iface *context) const

Public Attributes

float morph
float coeff
float dc
float sqr
float aa
float aa1
bool bypass
uint32_t mode
uint32_t srate
bool redraw_graph

Constructor & Destructor Documentation

◆ bitreduction()

bitreduction::bitreduction ( )

Member Function Documentation

◆ add_dc()

float bitreduction::add_dc ( float s,
float dc ) const

◆ get_graph()

bool bitreduction::get_graph ( int subindex,
int phase,
float * data,
int points,
calf_plugins::cairo_iface * context,
int * mode ) const
virtual

◆ get_gridline()

bool bitreduction::get_gridline ( int subindex,
int phase,
float & pos,
bool & vertical,
std::string & legend,
calf_plugins::cairo_iface * context ) const

◆ get_layers()

bool bitreduction::get_layers ( int index,
int generation,
unsigned int & layers ) const

◆ process()

float bitreduction::process ( float in)

◆ remove_dc()

float bitreduction::remove_dc ( float s,
float dc ) const

◆ set_params()

void bitreduction::set_params ( float b,
float m,
bool bp,
uint32_t mode,
float dc,
float aa )

◆ set_sample_rate()

void bitreduction::set_sample_rate ( uint32_t sr)

◆ waveshape()

float bitreduction::waveshape ( float in) const

Member Data Documentation

◆ aa

float dsp::bitreduction::aa

◆ aa1

float dsp::bitreduction::aa1

◆ bypass

bool dsp::bitreduction::bypass

◆ coeff

float dsp::bitreduction::coeff

◆ dc

float dsp::bitreduction::dc

◆ mode

uint32_t dsp::bitreduction::mode

◆ morph

float dsp::bitreduction::morph

◆ redraw_graph

bool dsp::bitreduction::redraw_graph
mutable

◆ sqr

float dsp::bitreduction::sqr

◆ srate

uint32_t dsp::bitreduction::srate

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