Distortion 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) |
| |
Distortion AudioEffect.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ Distortion() [1/2]
| Distortion |
( |
int16_t |
clipThreashold = 4990, |
|
|
int16_t |
maxInput = 6500 |
|
) |
| |
|
inline |
Distortion Constructor: e.g. use clipThreashold 4990 and maxInput=6500.
◆ Distortion() [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 |
◆ clipThreashold()
| int16_t clipThreashold |
( |
| ) |
|
|
inline |
◆ clone()
◆ copyParent()
◆ id()
Allows to identify an effect.
◆ maxInput()
◆ process()
calculates the effect output from the input
Implements AudioEffect.
◆ setActive()
| virtual void setActive |
( |
bool |
value | ) |
|
|
inlinevirtualinherited |
sets the effect active/inactive
◆ setClipThreashold()
| void setClipThreashold |
( |
int16_t |
th | ) |
|
|
inline |
◆ setId()
Allows to identify an effect.
◆ setMaxInput()
| void setMaxInput |
( |
int16_t |
maxInput | ) |
|
|
inline |
◆ active_flag
◆ id_value
◆ max_input
◆ p_clip_threashold
| int16_t p_clip_threashold |
|
protected |
The documentation for this class was generated from the following file: