|
lmms
Cross-platform music production software
|
#include <OversamplingHelpers.h>
Public Member Functions | |
| void | reset () |
| void | setup (int stages, float sampleRate, float passband=HIIR_DEFAULT_PASSBAND) |
| void | processSample (float *outSamples, float inSample) |
| int | getStages () const |
| float | getSampleRate () const |
| float | getPassband () const |
| void | setStages (int stages) |
| void | setSampleRate (float sampleRate) |
| void | setPassband (float passband) |
Private Attributes | |
| hiir::Upsampler2xFpu< s_firstCoefCount > | m_upsampleFirst |
| hiir::Upsampler2xFpu< s_secondCoefCount > | m_upsampleSecond |
| std::array< hiir::Upsampler2xFpu< s_restCoefCount >, MaxStages - 2 > | m_upsampleRest |
| int | m_stages = 0 |
| float | m_sampleRate = 44100 |
| float | m_passband = HIIR_DEFAULT_PASSBAND |
Static Private Attributes | |
| static constexpr int | s_firstCoefCount = MaxCoefs |
| static constexpr int | s_secondCoefCount = std::max(MaxCoefs / 2, 2) |
| static constexpr int | s_restCoefCount = std::max(MaxCoefs / 4, 2) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticconstexprprivate |
|
staticconstexprprivate |
|
staticconstexprprivate |