DaisySP
Loading...
Searching...
No Matches
Public Member Functions | List of all members
daisysp::SampleRateReducer Class Reference

Sample rate reducer. More...

#include <sampleratereducer.h>

Public Member Functions

void Init ()
 
float Process (float in)
 
void SetFreq (float frequency)
 

Detailed Description

Sample rate reducer.

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.

Member Function Documentation

◆ Init()

void SampleRateReducer::Init ( )

Initialize the module

◆ Process()

float SampleRateReducer::Process ( float in)

Get the next floating point sample

Parameters
inSample to be processed.

◆ SetFreq()

void SampleRateReducer::SetFreq ( float frequency)

Set the new sample rate.

Parameters
frequencyover 0-1. 1 is full quality, .5 is half sample rate, etc.

The documentation for this class was generated from the following files: