Skip to content

daisysp::ReverbSc

More...

#include <reverbsc.h>

Public Functions

Name
ReverbSc()
~ReverbSc()
int Init(float sample_rate)
int Process(const float & in1, const float & in2, float * out1, float * out2)
void SetFeedback(const float & fb)
void SetLpFreq(const float & freq)

Detailed Description

class daisysp::ReverbSc;

Stereo Reverb

Reverb SC: Ported from csound/soundpipe

Original author(s): Sean Costello, Istvan Varga

Year: 1999, 2005

Ported to soundpipe by: Paul Batchelor

Ported by: Stephen Hensley

Public Functions Documentation

function ReverbSc

inline ReverbSc()

function ~ReverbSc

inline ~ReverbSc()

function Init

int Init(
    float sample_rate
)

Initializes the reverb module, and sets the sample_rate at which the Process function will be called. Returns 0 if all good, or 1 if it runs out of delay times exceed maximum allowed.


function Process

int Process(
    const float & in1,
    const float & in2,
    float * out1,
    float * out2
)

Process the input through the reverb, and updates values of out1, and out2 with the new processed signal.


function SetFeedback

inline void SetFeedback(
    const float & fb
)

Parameters:

  • fb - sets reverb time. range: 0.0 to 1.0

controls the reverb time. reverb tail becomes infinite when set to 1.0


function SetLpFreq

inline void SetLpFreq(
    const float & freq
)

Parameters:

  • freq - low pass frequency. range: 0.0 to sample_rate / 2

controls the internal dampening filter's cutoff frequency.

---

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