Class daisysp::SampleRateReducer¶
ClassList > daisysp > SampleRateReducer
Sample rate reducer. More...
#include <sampleratereducer.h>
Public Functions¶
Type | Name |
---|---|
void | Init () |
float | Process (float in) |
SampleRateReducer () |
|
void | SetFreq (float frequency) |
~SampleRateReducer () |
Detailed Description¶
Author:
Ben Sergentanis
Date:
Jan 2021 Ported from pichenettes/eurorack/plaits/dsp/fx/sample_rate_reducer.h to an independent module. Original code written by Emilie Gillet in 2014.
Public Functions Documentation¶
function Init¶
Initialize the module
function Process¶
Get the next floating point sample
Parameters:
in
Sample to be processed.
function SampleRateReducer¶
function SetFreq¶
Set the new sample rate.
Parameters:
frequency
over 0-1. 1 is full quality, .5 is half sample rate, etc.
function ~SampleRateReducer¶
The documentation for this class was generated from the following file external-docs/DaisySP/Source/Effects/sampleratereducer.h