DaisySP
|
#include <decimator.h>
Public Member Functions | |
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 () |
Performs downsampling and bitcrush effects
|
inline |
Returns current setting of bitcrush
|
inline |
Returns current bitcrush setting in bits
|
inline |
Returns current setting of downsample
|
inline |
Returns current setting of smooth crushing
void Decimator::Init | ( | ) |
Initializes downsample module
float Decimator::Process | ( | float | input | ) |
Applies downsample and bitcrush effects to input signal.
|
inline |
Sets amount of bitcrushing Input range: 0...1.0
|
inline |
Sets the exact number of bits to crush and disables smooth crushing 0-16 bits
|
inline |
Sets amount of downsample Input range:
|
inline |
Sets the smooth crushing on or off true/false