Changes the samples at the beginning or at the end to slowly ramp up the volume.
More...
#include <BaseConverter.h>
|
| SmoothTransition (int channels, bool fromBeginning, bool fromEnd, float inc=0.01) |
|
virtual size_t | convert (uint8_t *src, size_t size) |
|
|
void | processEnd (int channels, int channel, T *values, int sampleCount) |
|
void | processStart (int channels, int channel, T *values, int sampleCount) |
|
|
int | channels |
|
float | factor = 0 |
|
bool | from_beginning |
|
bool | from_end |
|
float | inc = 0.01 |
|
template<typename T>
class audio_tools::SmoothTransition< T >
Changes the samples at the beginning or at the end to slowly ramp up the volume.
- Template Parameters
-
◆ convert()
template<typename T >
virtual size_t convert |
( |
uint8_t * |
src, |
|
|
size_t |
size |
|
) |
| |
|
inlinevirtual |
The documentation for this class was generated from the following file: