Bela
Real-time, ultra-low-latency audio and sensor processing system for BeagleBone Black
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Public Member Functions | Static Public Member Functions | List of all members
DelayLine Class Reference

Public Member Functions

 DelayLine (float maxDelayTime, float fs, unsigned int nTaps=1)
 
int setup (float maxDelayTime, float fs, unsigned int nTaps)
 
int cleanup ()
 
float process (float input)
 
void setDelayTime (float delayTime, unsigned int tap=0)
 
float getDelayTime (unsigned int tap=0)
 
void setFeedbackGain (float feedbackGain)
 
float getFeedbackGain ()
 
void setDryLevel (float dryLevel)
 
float getDryLevel ()
 
void setWetLevel (float wetLevel)
 
float getWetLevel ()
 
void setWetDryMix (float wetDryMix)
 
float getWetDryMix ()
 
float getFeedbackSend ()
 
void setFeedbackReturn (float feedbackReturn, bool preGain=false)
 
void useExternalFeedback (bool doUse)
 
float getTapOutput (unsigned int tap, bool preGain=true)
 
void useSeparateTaps (bool doUse)
 
void flush ()
 
void resetTaps ()
 

Static Public Member Functions

template<typename T >
static T constrain (T val, T min, T max)
 
static float lerp (float index, float pVal, float nVal)
 

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