We calculate the difference between pairs of channels in a datastream. E.g. if we have 4 channels we end up with 2 channels. The channels will be channel_1 - channel_2 channel_3 - channel_4 This is similar to background subtraction between two channels but will also work for quadric, sexic or octic audio. This will not work if you provide single channel data!
More...
#include <BaseConverter.h>
template<typename T = int16_t>
class audio_tools::ChannelDiffT< T >
We calculate the difference between pairs of channels in a datastream. E.g. if we have 4 channels we end up with 2 channels. The channels will be channel_1 - channel_2 channel_3 - channel_4 This is similar to background subtraction between two channels but will also work for quadric, sexic or octic audio. This will not work if you provide single channel data!
- Author
- Urs Utzinger
- Template Parameters
-
◆ ChannelDiffT()
template<typename T = int16_t>
◆ convert() [1/2]
template<typename T = int16_t>
| size_t convert |
( |
uint8_t * |
src, |
|
|
size_t |
size |
|
) |
| |
|
inlineoverridevirtual |
◆ convert() [2/2]
template<typename T = int16_t>
| size_t convert |
( |
uint8_t * |
target, |
|
|
uint8_t * |
src, |
|
|
size_t |
size |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: