arduino-audio-tools
Loading...
Searching...
No Matches
Namespaces | Macros
MDFEchoCancellationConfig.h File Reference
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  audio_tools
 Generic Implementation of sound input and output for desktop environments using portaudio.
 

Macros

#define FIXED_POINT
 
#define FLOAT_HALF   {16384, 0}
 
#define FLOAT_ONE   {32767, 0}
 
#define FLOAT_ZERO   {0, 0}
 
#define M_PI   3.14159265358979323846
 
#define PLAYBACK_DELAY   2
 
#define TWO_PATH
 

Macro Definition Documentation

◆ FIXED_POINT

#define FIXED_POINT

Enable fixed-point arithmetic for embedded systems When defined, uses integer math instead of floating-point for better performance on processors without FPU.

◆ FLOAT_HALF

#define FLOAT_HALF   {16384, 0}

Fixed-point half constant (Q15 format: 16384, exp 0)

◆ FLOAT_ONE

#define FLOAT_ONE   {32767, 0}

Fixed-point one constant (Q15 format: 32767, exp 0)

◆ FLOAT_ZERO

#define FLOAT_ZERO   {0, 0}

Fixed-point zero constant (Q15 format)

◆ M_PI

#define M_PI   3.14159265358979323846

Mathematical constant Pi (3.14159265358979323846)

◆ PLAYBACK_DELAY

#define PLAYBACK_DELAY   2

Playback buffer delay in frames (2) Number of frames to buffer the playback signal before processing with the captured signal. This compensates for typical system latencies.

◆ TWO_PATH

#define TWO_PATH

Enable two-path filter for improved double-talk robustness When enabled, the echo canceller maintains both a foreground and background filter, allowing it to better handle situations where near-end and far-end speech occur simultaneously (double-talk).