arduino-audio-tools
Loading...
Searching...
No Matches
Public Types | List of all members
MDFFixedPoint Struct Reference

Selects soft_float_t (see soft_float_t.h) as MDFEchoCancellation's internal numeric representation, so the algorithm runs on integer mantissa/exponent arithmetic instead of native float instructions – useful on microcontrollers without an FPU. soft_float_t's arithmetic is verified against native float directly (see the soft_float_t tests in tests-cmake/stt/stt_test.cpp), and MDFEchoCancellation<int16_t, MDFFixedPoint> is smoke-tested to run without crashing/NaN and to converge similarly to MDFFloat on the same synthetic signal – but it has not received the same depth of numerical scrutiny as MDFFloat, so treat it as less battle-tested. Despite the name, this is not a classic narrow Q15 fixed-point format (that would over/underflow across this algorithm's actual value range – see soft_float_t's class doc for why). More...

#include <MDFEchoCancellation.h>

Public Types

using float_t = soft_float_t
 
using word16_t = soft_float_t
 
using word32_t = soft_float_t
 

Detailed Description

Selects soft_float_t (see soft_float_t.h) as MDFEchoCancellation's internal numeric representation, so the algorithm runs on integer mantissa/exponent arithmetic instead of native float instructions – useful on microcontrollers without an FPU. soft_float_t's arithmetic is verified against native float directly (see the soft_float_t tests in tests-cmake/stt/stt_test.cpp), and MDFEchoCancellation<int16_t, MDFFixedPoint> is smoke-tested to run without crashing/NaN and to converge similarly to MDFFloat on the same synthetic signal – but it has not received the same depth of numerical scrutiny as MDFFloat, so treat it as less battle-tested. Despite the name, this is not a classic narrow Q15 fixed-point format (that would over/underflow across this algorithm's actual value range – see soft_float_t's class doc for why).

Member Typedef Documentation

◆ float_t

◆ word16_t

◆ word32_t


The documentation for this struct was generated from the following file: