Big value gaps (at the beginning and the end of a recording) can lead to some popping sounds. We will try to set the values to 0 until the first transition thru 0 of the audio curve.
More...
#include <CodecOpusOgg.h>
|
| void | clearAfterLastTransition (int channels, int channel, T *values, int sampleCount) |
| void | clearAfterLastTransition (int channels, int channel, T *values, int sampleCount) |
| void | clearUpTo1stTransition (int channels, int channel, T *values, int sampleCount) |
| void | clearUpTo1stTransition (int channels, int channel, T *values, int sampleCount) |
template<typename T = int16_t>
class audio_tools::audio_tools::PoppingSoundRemover< T >
Big value gaps (at the beginning and the end of a recording) can lead to some popping sounds. We will try to set the values to 0 until the first transition thru 0 of the audio curve.
- Template Parameters
-
◆ PoppingSoundRemover() [1/2]
template<typename T = int16_t>
| PoppingSoundRemover |
( |
int | channels, |
|
|
bool | fromBeginning, |
|
|
bool | fromEnd ) |
|
inline |
◆ PoppingSoundRemover() [2/2]
template<typename T = int16_t>
| PoppingSoundRemover |
( |
int | channels, |
|
|
bool | fromBeginning, |
|
|
bool | fromEnd ) |
|
inline |
◆ clearAfterLastTransition() [1/2]
template<typename T = int16_t>
| void clearAfterLastTransition |
( |
int | channels, |
|
|
int | channel, |
|
|
T * | values, |
|
|
int | sampleCount ) |
|
inlineprotected |
◆ clearAfterLastTransition() [2/2]
template<typename T = int16_t>
| void clearAfterLastTransition |
( |
int | channels, |
|
|
int | channel, |
|
|
T * | values, |
|
|
int | sampleCount ) |
|
inlineprotected |
◆ clearUpTo1stTransition() [1/2]
template<typename T = int16_t>
| void clearUpTo1stTransition |
( |
int | channels, |
|
|
int | channel, |
|
|
T * | values, |
|
|
int | sampleCount ) |
|
inlineprotected |
◆ clearUpTo1stTransition() [2/2]
template<typename T = int16_t>
| void clearUpTo1stTransition |
( |
int | channels, |
|
|
int | channel, |
|
|
T * | values, |
|
|
int | sampleCount ) |
|
inlineprotected |
◆ convert() [1/2]
template<typename T = int16_t>
| virtual size_t convert |
( |
uint8_t * | src, |
|
|
size_t | size ) |
|
inlinevirtual |
◆ convert() [2/2]
template<typename T = int16_t>
| virtual size_t convert |
( |
uint8_t * | src, |
|
|
size_t | size ) |
|
inlinevirtual |
◆ channels
template<typename T = int16_t>
◆ from_beginning
template<typename T = int16_t>
◆ from_end
template<typename T = int16_t>
The documentation for this class was generated from the following files: