Krotos Modules 3
Loading...
Searching...
No Matches
krotos::DryWet Class Reference

Stores a mix value and provides the dry & wet gain values using constant-power mixing. More...

#include <DryWet.h>

Public Member Functions

 DryWet ()
 
 DryWet (float mix)
 
DryWetoperator= (float mix)
 
void setMix (float mix)
 
float dry () const
 
float wet () const
 

Private Attributes

float m_dry
 
float m_wet
 

Detailed Description

Stores a mix value and provides the dry & wet gain values using constant-power mixing.

Constructor & Destructor Documentation

◆ DryWet() [1/2]

krotos::DryWet::DryWet ( )
inline

◆ DryWet() [2/2]

krotos::DryWet::DryWet ( float mix)
inline

Member Function Documentation

◆ dry()

float krotos::DryWet::dry ( ) const
inline

◆ operator=()

DryWet & krotos::DryWet::operator= ( float mix)
inline

◆ setMix()

void krotos::DryWet::setMix ( float mix)
inline

◆ wet()

float krotos::DryWet::wet ( ) const
inline

Member Data Documentation

◆ m_dry

float krotos::DryWet::m_dry
private

◆ m_wet

float krotos::DryWet::m_wet
private

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