arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
audio_tools::AudioEffect Class Referenceabstract

Abstract Base class for Sound Effects. More...

#include <AudioEffect.h>

Inheritance diagram for audio_tools::AudioEffect:
audio_tools::ADSRGain audio_tools::Boost audio_tools::Delay audio_tools::Distortion audio_tools::EffectSuiteBase audio_tools::Fuzz audio_tools::PitchShift audio_tools::STKChorus audio_tools::STKChowningReverb audio_tools::STKEcho audio_tools::STKEffect audio_tools::STKFreeVerb audio_tools::STKLentPitShift audio_tools::STKNReverb audio_tools::STKPerryReverb audio_tools::STKPitShift audio_tools::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 More...
 
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

Member Function Documentation

◆ process()

virtual effect_t audio_tools::AudioEffect::process ( effect_t  in)
pure virtual

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