arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | List of all members
NoFilter< T > Class Template Reference

Passes the input through unchanged. Useful as a placeholder when a Filter is required but no processing is desired. More...

#include <Filter.h>

Inheritance diagram for NoFilter< T >:
Filter< T >

Public Member Functions

 NoFilter ()=default
 
T process (T in) override
 Processes the input value and returns the filtered output value.
 
virtual void reset ()
 

Detailed Description

template<typename T>
class audio_tools::NoFilter< T >

Passes the input through unchanged. Useful as a placeholder when a Filter is required but no processing is desired.

Author
pschatzmann
Template Parameters
Tsample type

Constructor & Destructor Documentation

◆ NoFilter()

template<typename T >
NoFilter ( )
default

Member Function Documentation

◆ process()

template<typename T >
T process ( T  in)
inlineoverridevirtual

Processes the input value and returns the filtered output value.

Implements Filter< T >.

◆ reset()

template<typename T >
virtual void reset ( )
inlinevirtualinherited

Clears the internal state (delay lines) without changing the coefficients. Call after reconfiguring filter parameters via begin() to avoid transients from stale state.

Reimplemented in FIR< T >, IIR< T >, BiQuadDF1< T >, BiQuadDF2< T >, BiQuadDF2< float >, SOSFilter< T, N >, and FilterChain< T, N >.


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