void LowPassBase::setup (int order, double sampleRate, double cutoffFrequency) { m_analogProto.design (order); LowPassTransform (cutoffFrequency / sampleRate, m_digitalProto, m_analogProto); Cascade::setLayout (m_digitalProto); }
void LowShelfBase::setup (int order, double sampleRate, double cutoffFrequency, double gainDb, WorkspaceBase* w) { m_analogProto.design (order, gainDb, w); LowPassTransform (cutoffFrequency / sampleRate, m_digitalProto, m_analogProto); Cascade::setLayout (m_digitalProto); }