Skip to content

daisysp::Wavefolder

More...

#include <wavefolder.h>

Public Functions

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

Detailed Description

class daisysp::Wavefolder;

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 Wavefolder

inline Wavefolder()

function ~Wavefolder

inline ~Wavefolder()

function Init

void Init()

Initializes the wavefolder module.


function Process

float Process(
    float in
)

applies wavefolding to input


function SetGain

inline void SetGain(
    float gain
)

Parameters:

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

function SetOffset

inline void SetOffset(
    float offset
)

Parameters:

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

---

Updated on 2024-01-03 at 19:38:46 +0000