SoundGenerator using the ModulationBaseClass to generate the samples.
More...
#include <AudioEffectsSuite.h>
template<
class T>
class audio_tools::SoundGeneratorModulation< T >
SoundGenerator using the ModulationBaseClass to generate the samples.
- Template Parameters
-
◆ SoundGeneratorModulation()
◆ applyRamp()
◆ audioInfo()
◆ begin() [1/2]
◆ begin() [2/2]
◆ defaultConfig()
Provides the default configuration.
◆ end()
◆ isActive()
Checks if the begin method has been called - after end() isActive returns false
◆ 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...
◆ setPlayTime()
| void setPlayTime |
( |
uint32_t |
playMs, |
|
|
uint8_t |
upPercent = 20, |
|
|
uint8_t |
downPercent = 30 |
|
) |
| |
|
inlineinherited |
◆ active
◆ activeWarningIssued
◆ currentSample
◆ downPercent
◆ factor
◆ freq
◆ info
◆ max_value
◆ p_mod
◆ playMs
◆ playSamples
◆ rampDownDec
◆ rampDownSamples
◆ rampUpInc
◆ ring_buffer
◆ upPercent
◆ upSamples
The documentation for this class was generated from the following file: