All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Resonant::ChannelLimiter Class Reference

Public Member Functions

float gain () const
 
void prepare (float thresholdLog, unsigned maxDelay)
 
float putGet (float insample, float thresholdLog, unsigned attackTime, unsigned releaseTime)
 

Protected Attributes

Radiant::RingBufferDelay< float > m_buffer
 
float m_gain
 
LevelMeasurement< float > m_level
 
Radiant::RingBufferDelay< float > m_logBuffer
 
unsigned m_maxDelay = 0
 
float m_step
 
unsigned m_untilPeak
 
unsigned m_zeroSamples = 0