Skip to content

daisysp::Balance

More...

#include <balance.h>

Public Functions

Name
Balance()
~Balance()
void Init(float sample_rate)
float Process(float sig, float comp)
void SetCutoff(float cutoff)

Detailed Description

class daisysp::Balance;

Balances two sound sources. Sig is boosted to the level of comp.

Original author(s) : Barry Vercoe, john ffitch, Gabriel Maldonado

Year: 1991

Ported from soundpipe by Ben Sergentanis, May 2020

Public Functions Documentation

function Balance

inline Balance()

function ~Balance

inline ~Balance()

function Init

void Init(
    float sample_rate
)

Parameters:

  • sample_rate - The sample rate of the audio engine being run.

Initializes the balance module.


function Process

float Process(
    float sig,
    float comp
)

adjust sig level to level of comp


function SetCutoff

inline void SetCutoff(
    float cutoff
)

Parameters:

  • cutoff : Sets half power point of special internal cutoff filter.

adjusts the rate at which level compensation happens defaults to 10

---

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