|
DaisySP
|
Sample rate reducer. More...
#include <sampleratereducer.h>
Public Member Functions | |
| void | Init () |
| float | Process (float in) |
| void | SetFreq (float frequency) |
Sample rate reducer.
| void SampleRateReducer::Init | ( | ) |
Initialize the module
| float SampleRateReducer::Process | ( | float | in | ) |
Get the next floating point sample
| in | Sample to be processed. |
| void SampleRateReducer::SetFreq | ( | float | frequency | ) |
Set the new sample rate.
| frequency | over 0-1. 1 is full quality, .5 is half sample rate, etc. |