daisysp::Bitcrush¶
#include <bitcrush.h>
Public Functions¶
Name | |
---|---|
Bitcrush() | |
~Bitcrush() | |
void | Init(float sample_rate) |
float | Process(float in) |
void | SetBitDepth(int bitdepth) |
void | SetCrushRate(float crushrate) |
Detailed Description¶
bitcrush module
Original author(s) : Paul Batchelor,
Ported from soundpipe by Ben Sergentanis, May 2020
Public Functions Documentation¶
function Bitcrush¶
function ~Bitcrush¶
function Init¶
Parameters:
- sample_rate - The sample rate of the audio engine being run.
Initializes the bitcrush module.
function Process¶
bit crushes and downsamples the input
function SetBitDepth¶
Parameters:
- bitdepth : Sets bit depth, 0...16
adjusts bitdepth
function SetCrushRate¶
Parameters:
- crushrate : Sets rate to downsample to, 0...SampleRate
adjusts the downsampling frequency
---¶
Updated on 2024-01-03 at 19:38:46 +0000