Delay/Echo AudioEffect. See https://wiki.analog.com/resources/tools-software/sharc-audio-module/baremetal/delay-effect-tutorial Howver the dry value and wet value were replace by the depth parameter.
More...
#include <AudioEffect.h>
Delay/Echo AudioEffect. See https://wiki.analog.com/resources/tools-software/sharc-audio-module/baremetal/delay-effect-tutorial Howver the dry value and wet value were replace by the depth parameter.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ Delay() [1/2]
| Delay |
( |
uint16_t |
duration_ms = 1000, |
|
|
float |
depth = 0.5, |
|
|
float |
feedbackAmount = 1.0, |
|
|
uint32_t |
sampleRate = 44100 |
|
) |
| |
|
inline |
e.g. depth=0.5, ms=1000, sampleRate=44100
◆ Delay() [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()
◆ getDepth()
◆ getDuration()
◆ getFeedback()
◆ getSampleRate()
◆ 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 |
( |
float |
value | ) |
|
|
inline |
◆ setDuration()
| void setDuration |
( |
int16_t |
dur | ) |
|
|
inline |
◆ setFeedback()
| void setFeedback |
( |
float |
feed | ) |
|
|
inline |
◆ setId()
Allows to identify an effect.
◆ setSampleRate()
| void setSampleRate |
( |
int32_t |
sample | ) |
|
|
inline |
◆ updateBufferSize()
| void updateBufferSize |
( |
| ) |
|
|
inlineprotected |
◆ active_flag
◆ buffer
◆ delay_len_samples
| size_t delay_len_samples = 0 |
|
protected |
◆ delay_line_index
| size_t delay_line_index = 0 |
|
protected |
◆ depth
◆ duration
◆ feedback
◆ id_value
◆ sampleRate
The documentation for this class was generated from the following file: