Tremolo AudioEffect.
More...
#include <AudioEffect.h>
|
| int16_t | clip (int32_t in, int16_t clipLimit=32767, int16_t resultLimit=32767) |
| | generic clipping method
|
| |
| void | copyParent (AudioEffect *copy) |
| |
Tremolo AudioEffect.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ Tremolo() [1/2]
| Tremolo |
( |
int16_t |
duration_ms = 2000, |
|
|
uint8_t |
depthPercent = 50, |
|
|
uint32_t |
sampleRate = 44100 |
|
) |
| |
|
inline |
Tremolo constructor - use e.g. duration_ms=2000; depthPercent=50; sampleRate=44100
◆ Tremolo() [2/2]
◆ active()
determines if the effect is active
◆ clip()
| int16_t clip |
( |
int32_t |
in, |
|
|
int16_t |
clipLimit = 32767, |
|
|
int16_t |
resultLimit = 32767 |
|
) |
| |
|
inlineprotectedinherited |
◆ clone()
◆ copyParent()
◆ depth()
◆ duration()
◆ id()
Allows to identify an effect.
◆ process()
calculates the effect output from the input
Implements AudioEffect.
◆ setActive()
| virtual void setActive |
( |
bool |
value | ) |
|
|
inlinevirtualinherited |
sets the effect active/inactive
◆ setDepth()
| void setDepth |
( |
uint8_t |
percent | ) |
|
|
inline |
◆ setDuration()
| void setDuration |
( |
int16_t |
ms | ) |
|
|
inline |
◆ setId()
Allows to identify an effect.
◆ active_flag
◆ count
◆ duration_ms
◆ id_value
◆ inc
◆ p_percent
◆ rate_count_half
◆ sampleRate
The documentation for this class was generated from the following file: