|
arduino-audio-tools
|
Distortion AudioEffect. More...
#include <AudioEffect.h>
Public Member Functions | |
| Distortion (const Distortion ©)=default | |
| Distortion (int16_t clipThreashold=4990, int16_t maxInput=6500) | |
| Distortion Constructor: e.g. use clipThreashold 4990 and maxInput=6500. | |
| virtual bool | active () |
| determines if the effect is active | |
| int16_t | clipThreashold () |
| Distortion * | clone () |
| int | id () |
| Allows to identify an effect. | |
| int16_t | maxInput () |
| effect_t | process (effect_t input) |
| calculates the effect output from the input | |
| virtual void | setActive (bool value) |
| sets the effect active/inactive | |
| void | setClipThreashold (int16_t th) |
| void | setId (int id) |
| Allows to identify an effect. | |
| void | setMaxInput (int16_t maxInput) |
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 |
| int16_t | max_input |
| int16_t | p_clip_threashold |
|
inline |
Distortion Constructor: e.g. use clipThreashold 4990 and maxInput=6500.
|
default |
|
inlineprotectedinherited |
generic clipping method
|
inline |
|
inlinevirtual |
Implements AudioEffect.
|
inlineprotectedinherited |
|
inlineinherited |
Allows to identify an effect.
|
inline |
calculates the effect output from the input
Implements AudioEffect.
|
protectedinherited |
|
protected |
|
protected |