#include <LowpassFilter.h>
◆ LowpassFilter()
| krotos::LowpassFilter::LowpassFilter |
( |
| ) |
|
Constructor
Copyright Krotos LTD 2015
All rights reserved.
◆ configure()
| void krotos::LowpassFilter::configure |
( |
float | normalisedCutoff | ) |
|
Configures the filter given the normalised cutoff frequency
- Parameters
-
| normalisedCutoff | should be in terms of the sampling freqeuency and so should be between 0 and 0.5 |
◆ processSample()
| float krotos::LowpassFilter::processSample |
( |
float | x | ) |
|
Filter a single sample
- Parameters
-
- Returns
- the filtered sample
◆ a1
| float krotos::LowpassFilter::a1 |
|
private |
◆ a2
| float krotos::LowpassFilter::a2 |
|
private |
◆ b0
| float krotos::LowpassFilter::b0 |
|
private |
◆ b1
| float krotos::LowpassFilter::b1 |
|
private |
◆ b2
| float krotos::LowpassFilter::b2 |
|
private |
◆ x_1
| float krotos::LowpassFilter::x_1 |
|
private |
◆ x_2
| float krotos::LowpassFilter::x_2 |
|
private |
◆ y_1
| float krotos::LowpassFilter::y_1 |
|
private |
◆ y_2
| float krotos::LowpassFilter::y_2 |
|
private |
The documentation for this class was generated from the following files: