Class daisysp::Bitcrush¶
ClassList > daisysp > Bitcrush
#include <bitcrush.h>
Public Functions¶
| Type | Name |
|---|---|
| Bitcrush () |
|
| void | Init (float sample_rate) |
| float | Process (float in) |
| void | SetBitDepth (int bitdepth) |
| void | SetCrushRate (float crushrate) |
| ~Bitcrush () |
Detailed Description¶
Bitcrush module
Public Functions Documentation¶
function Bitcrush¶
function Init¶
Initializes the bitcrush module.
Parameters:
sample_rate- The sample rate of the audio engine being run.
function Process¶
bit crushes and downsamples the input
function SetBitDepth¶
adjusts bitdepth
Parameters:
bitdepth: Sets bit depth, 0...16
function SetCrushRate¶
adjusts the downsampling frequency
Parameters:
crushrate: Sets rate to downsample to, 0...SampleRate
function ~Bitcrush¶
The documentation for this class was generated from the following file external-docs/DaisySP/DaisySP-LGPL/Source/Effects/bitcrush.h