daisysp::Decimator¶
#include <decimator.h>
Public Functions¶
Name | |
---|---|
Decimator() | |
~Decimator() | |
void | Init() |
float | Process(float input) |
void | SetDownsampleFactor(float downsample_factor) |
void | SetBitcrushFactor(float bitcrush_factor) |
void | SetBitsToCrush(const uint8_t & bits) |
void | SetSmoothCrushing(bool smooth_crushing) |
bool | GetSmoothCrushing() |
float | GetDownsampleFactor() |
float | GetBitcrushFactor() |
int | GetBitsToCrush() |
Detailed Description¶
Performs downsampling and bitcrush effects
Public Functions Documentation¶
function Decimator¶
function ~Decimator¶
function Init¶
Initializes downsample module
function Process¶
Return: one sample. This should be called once per sample period.
Applies downsample and bitcrush effects to input signal.
function SetDownsampleFactor¶
Sets amount of downsample Input range:
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 SetSmoothCrushing¶
Sets the smooth crushing on or off true/false
function GetSmoothCrushing¶
Returns current setting of smooth crushing
function GetDownsampleFactor¶
Returns current setting of downsample
function GetBitcrushFactor¶
Returns current setting of bitcrush
function GetBitsToCrush¶
Returns current bitcrush setting in bits
---¶
Updated on 2024-01-03 at 19:38:46 +0000