Class daisysp::Decimator¶
ClassList > daisysp > Decimator
#include <decimator.h>
Public Functions¶
Type | Name |
---|---|
Decimator () |
|
float | GetBitcrushFactor () |
int | GetBitsToCrush () |
float | GetDownsampleFactor () |
bool | GetSmoothCrushing () |
void | Init () |
float | Process (float input) |
void | SetBitcrushFactor (float bitcrush_factor) |
void | SetBitsToCrush (const uint8_t & bits) |
void | SetDownsampleFactor (float downsample_factor) |
void | SetSmoothCrushing (bool smooth_crushing) |
~Decimator () |
Detailed Description¶
Performs downsampling and bitcrush effects
Public Functions Documentation¶
function Decimator¶
function GetBitcrushFactor¶
Returns current setting of bitcrush
function GetBitsToCrush¶
Returns current bitcrush setting in bits
function GetDownsampleFactor¶
Returns current setting of downsample
function GetSmoothCrushing¶
Returns current setting of smooth crushing
function Init¶
Initializes downsample module
function Process¶
Applies downsample and bitcrush effects to input signal.
Returns:
one sample. This should be called once per sample period.
function SetBitcrushFactor¶
Sets amount of bitcrushing Input range: 0...1.0
function SetBitsToCrush¶
Sets the exact number of bits to crush and disables smooth crushing 0-16 bits
function SetDownsampleFactor¶
Sets amount of downsample Input range:
function SetSmoothCrushing¶
Sets the smooth crushing on or off true/false
function ~Decimator¶
The documentation for this class was generated from the following file external-docs/DaisySP/Source/Effects/decimator.h