DaisySP
Loading...
Searching...
No Matches
daisysp::Wavefolder Class Reference

#include <wavefolder.h>

Public Member Functions

void Init ()
 
float Process (float in)
 
void SetGain (float gain)
 
void SetOffset (float offset)
 

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

Member Function Documentation

◆ Init()

void Wavefolder::Init ( )

Initializes the wavefolder module.

◆ Process()

float Wavefolder::Process ( float in)

applies wavefolding to input

◆ SetGain()

void daisysp::Wavefolder::SetGain ( float gain)
inline
Parameters
gainSet input gain. Supports negative values for thru-zero

◆ SetOffset()

void daisysp::Wavefolder::SetOffset ( float offset)
inline
Parameters
offsetOffset odded to input (pre-gain) for asymmetrical folding.

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