Skip to content

Class daisysp::Balance

ClassList > daisysp > Balance

More...

  • #include <balance.h>

Public Functions

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

Detailed Description

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

Public Functions Documentation

function Balance

inline daisysp::Balance::Balance () 

function Init

void daisysp::Balance::Init (
    float sample_rate
) 

Initializes the balance module.

Parameters:

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

function Process

float daisysp::Balance::Process (
    float sig,
    float comp
) 

adjust sig level to level of comp


function SetCutoff

inline void daisysp::Balance::SetCutoff (
    float cutoff
) 

adjusts the rate at which level compensation happens

Parameters:

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

defaults to 10


function ~Balance

inline daisysp::Balance::~Balance () 


The documentation for this class was generated from the following file external-docs/DaisySP/DaisySP-LGPL/Source/Dynamics/balance.h