SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <filterrc.h>
Public Member Functions | |
LowPassFilterRC (Real timeconst) | |
void | configure (Real timeout) |
void | process (const Real &sample_in, Real &sample_out) |
Private Attributes | |
Real | m_timeconst |
Real | m_y1 |
Real | m_a1 |
Real | m_b0 |
First order low-pass IIR filter for real-valued signals.
Definition at line 26 of file filterrc.h.
LowPassFilterRC::LowPassFilterRC | ( | Real | timeconst | ) |
Construct 1st order low-pass IIR filter.
timeconst :: RC time constant in seconds (1 / (2 * PI * cutoff_freq)
Definition at line 23 of file filterrc.cpp.
References exp(), m_a1, m_b0, and m_timeconst.
void LowPassFilterRC::configure | ( | Real | timeout | ) |
Reconfigure filter with new time constant
Definition at line 32 of file filterrc.cpp.
References exp(), m_a1, m_b0, m_timeconst, and m_y1.
Referenced by BFMDemod::applyAudioSampleRate(), and BFMDemod::BFMDemod().
Process samples.
Definition at line 45 of file filterrc.cpp.
References m_a1, m_b0, and m_y1.
Referenced by BFMDemod::feed().
|
private |
Definition at line 48 of file filterrc.h.
Referenced by configure(), LowPassFilterRC(), and process().
|
private |
Definition at line 49 of file filterrc.h.
Referenced by configure(), LowPassFilterRC(), and process().
|
private |
Definition at line 46 of file filterrc.h.
Referenced by configure(), and LowPassFilterRC().
|
private |
Definition at line 47 of file filterrc.h.
Referenced by configure(), and process().