|
arduino-audio-tools
|
Abstract Base class for Sound Effects. More...
#include <AudioEffect.h>
Public Member Functions | |
| AudioEffect ()=default | |
| virtual | ~AudioEffect ()=default |
| virtual bool | active () |
| determines if the effect is active | |
| virtual AudioEffect * | clone ()=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 |
Abstract Base class for Sound Effects.
|
default |
|
virtualdefault |
generic clipping method
|
pure virtual |
Implemented in SimpleLPF, Boost, Distortion, Fuzz, Tremolo, Delay, ADSRGain, PitchShift, Compressor, SimpleChorus, FilteredDelay, SimpleDelay, SimpleFlanger, STKChorus, STKEcho, STKFreeVerb, STKChowningReverb, STKNReverb, STKPerryReverb, STKLentPitShift, and STKPitShift.
|
inlineprotected |
|
inline |
Allows to identify an effect.
calculates the effect output from the input
Implemented in STKEffect, STKChorus, STKEcho, STKFreeVerb, STKChowningReverb, STKNReverb, STKPerryReverb, STKLentPitShift, STKPitShift, Boost, Distortion, Fuzz, Tremolo, Delay, ADSRGain, PitchShift, Compressor, FilterEffectBase, FilteredDelay, and SimpleDelay.
|
protected |