arduino-audio-tools
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
AudioEffect Class Referenceabstract

Abstract Base class for Sound Effects. More...

#include <AudioEffect.h>

Inheritance diagram for AudioEffect:
ADSRGain Boost Compressor Delay Distortion EffectSuiteBase Fuzz PitchShift STKChorus STKChowningReverb STKEcho STKEffect STKFreeVerb STKLentPitShift STKNReverb STKPerryReverb STKPitShift Tremolo

Public Member Functions

virtual bool active ()
 determines if the effect is active
 
virtual AudioEffectclone ()=0
 
int id ()
 Allows to identify an effect.
 
virtual effect_t process (effect_t in)=0
 calculates the effect output from the input
 
virtual void setActive (bool value)
 sets the effect active/inactive
 
void setId (int id)
 Allows to identify an effect.
 

Protected Member Functions

int16_t clip (int32_t in, int16_t clipLimit=32767, int16_t resultLimit=32767)
 generic clipping method
 
void copyParent (AudioEffect *copy)
 

Protected Attributes

bool active_flag = true
 
int id_value = -1
 

Detailed Description

Abstract Base class for Sound Effects.

Author
Phil Schatzmann

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