arduino-audio-tools
|
If we end audio and the last sample is not close to 0 we can hear a popping noise. This functionality brings the last value slowly to 0. Typless implementation. More...
#include <Fade.h>
Public Member Functions | |
void | end (Print &print, int steps=200) |
When we do not have any data any more to fade out we try to bring the last sample slowly to 0. | |
void | setAudioInfo (AudioInfo info) |
void | setBitsPerSample (int bits) |
void | setChannels (int ch) |
size_t | write (uint8_t *src, size_t size) |
Protected Attributes | |
int | bits_per_sample = 0 |
LastSampleFaderT< int16_t > | f16 |
LastSampleFaderT< int24_t > | f24 |
LastSampleFaderT< int32_t > | f32 |
If we end audio and the last sample is not close to 0 we can hear a popping noise. This functionality brings the last value slowly to 0. Typless implementation.