OBSOLETE AudioEffects: the template class describes the input audio to which the effects are applied: e.g. SineWaveGenerator, SquareWaveGenerator, GeneratorFromStream etc. We support only one channel of int16_t data!
More...
#include <AudioEffects.h>
OBSOLETE AudioEffects: the template class describes the input audio to which the effects are applied: e.g. SineWaveGenerator, SquareWaveGenerator, GeneratorFromStream etc. We support only one channel of int16_t data!
We subclass the AudioEffects from GeneratorT so that we can use this class with the GeneratedSoundStream class to output the audio.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ AudioEffects() [1/4]
◆ AudioEffects() [2/4]
◆ AudioEffects() [3/4]
Constructor which is assigning a generator.
◆ AudioEffects() [4/4]
Constructor which is assigning a Stream as input. The stream must consist of int16_t values with the indicated number of channels. Type type parameter is e.g. <GeneratorFromStream<effect_t>
◆ ~AudioEffects()
◆ addEffect() [1/2]
Adds an effect object (by reference)
◆ addEffect() [2/2]
Adds an effect using a pointer.
◆ applyRamp()
◆ audioInfo()
◆ begin() [1/2]
◆ begin() [2/2]
◆ clear()
deletes all defined effects
◆ defaultConfig()
Provides the default configuration.
◆ end()
◆ findEffect()
◆ generator()
Provides access to the sound generator.
◆ isActive()
Checks if the begin method has been called - after end() isActive returns false
◆ operator[]()
◆ readBytes()
Provides the data as byte array with the requested number of channels.
◆ readBytesFrames()
| size_t readBytesFrames |
( |
uint8_t * |
buffer, |
|
|
size_t |
lengthBytes, |
|
|
int |
frames, |
|
|
int |
channels |
|
) |
| |
|
inlineprotectedinherited |
◆ readBytesFromBuffer()
| size_t readBytesFromBuffer |
( |
uint8_t * |
buffer, |
|
|
size_t |
lengthBytes, |
|
|
int |
frame_size, |
|
|
int |
channels |
|
) |
| |
|
inlineprotectedinherited |
◆ readSample()
◆ recalculatePlayTime()
| void recalculatePlayTime |
( |
| ) |
|
|
inlineprotectedinherited |
◆ setAudioInfo()
◆ setFrequency()
Abstract method: not implemented! Just provides an error message...
◆ setInput()
Defines the input source for the raw guitar input.
◆ setPlayTime()
| void setPlayTime |
( |
uint32_t |
playMs, |
|
|
uint8_t |
upPercent = 20, |
|
|
uint8_t |
downPercent = 30 |
|
) |
| |
|
inlineinherited |
◆ size()
Provides the actual number of defined effects.
◆ active
◆ activeWarningIssued
◆ currentSample
◆ downPercent
◆ effects
◆ factor
◆ info
◆ owns_generator
◆ p_generator
◆ playMs
◆ playSamples
◆ rampDownDec
◆ rampDownSamples
◆ rampUpInc
◆ ring_buffer
◆ upPercent
◆ upSamples
The documentation for this class was generated from the following file: