|
arduino-audio-tools
|
#include <AudioEffect.h>
Public Member Functions | |
| Tremolo (const Tremolo ©)=default | |
| Tremolo (int16_t duration_ms=2000, uint8_t depthPercent=50, uint32_t sampleRate=44100) | |
| virtual bool | active () |
| determines if the effect is active | |
| Tremolo * | clone () |
| uint8_t | depth () |
| int16_t | duration () |
| int | id () |
| Allows to identify an effect. | |
| effect_t | process (effect_t input) |
| calculates the effect output from the input | |
| virtual void | setActive (bool value) |
| sets the effect active/inactive | |
| void | setDepth (uint8_t percent) |
| void | setDuration (int16_t ms) |
| 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 |
| int32_t | count = 0 |
| int16_t | duration_ms |
| int | id_value = -1 |
| int16_t | inc = 1 |
| uint8_t | p_percent |
| int32_t | rate_count_half |
| uint32_t | sampleRate |
|
inline |
Tremolo constructor - use e.g. duration_ms=2000; depthPercent=50; sampleRate=44100
|
inlineprotectedinherited |
generic clipping method
|
inlinevirtual |
Implements AudioEffect.
|
inlineprotectedinherited |
|
inline |
|
inline |
|
inlineinherited |
Allows to identify an effect.
calculates the effect output from the input
Implements AudioEffect.
|
protected |
|
protected |
|
protectedinherited |
|
protected |
|
protected |
|
protected |
|
protected |