Skip to content

Class daisysp::Wavefolder

ClassList > daisysp > Wavefolder

More...

  • #include <wavefolder.h>

Public Functions

Type Name
void Init ()
float Process (float in)
void SetGain (float gain)
void SetOffset (float offset)
Wavefolder ()
~Wavefolder ()

Detailed Description

Basic wavefolder module.

Amplitude of input determines level of folding. Amplitudes of magnitude > 1.0 will start to fold.

Original author(s) : Nick Donaldson Year : 2022

Public Functions Documentation

function Init

void daisysp::Wavefolder::Init () 

Initializes the wavefolder module.


function Process

float daisysp::Wavefolder::Process (
    float in
) 

applies wavefolding to input


function SetGain

inline void daisysp::Wavefolder::SetGain (
    float gain
) 

Parameters:

  • gain Set input gain. Supports negative values for thru-zero

function SetOffset

inline void daisysp::Wavefolder::SetOffset (
    float offset
) 

Parameters:

  • offset Offset odded to input (pre-gain) for asymmetrical folding.

function Wavefolder

inline daisysp::Wavefolder::Wavefolder () 

function ~Wavefolder

inline daisysp::Wavefolder::~Wavefolder () 


The documentation for this class was generated from the following file external-docs/DaisySP/Source/Effects/wavefolder.h