| 1166 | } |
| 1167 | |
| 1168 | CoefficientsPtr makeLowcutQFilter(const ChainSettings& chainSettings, double sampleRate) |
| 1169 | { |
| 1170 | return juce::dsp::IIR::Coefficients<float>::makePeakFilter(sampleRate, |
| 1171 | chainSettings.lowCutFreq, |
| 1172 | chainSettings.lowCutQuality, |
| 1173 | juce::Decibels::decibelsToGain(chainSettings.lowCutGainInDecibels)); |
| 1174 | } |
| 1175 | |
| 1176 | CoefficientsPtr makeHighcutQFilter(const ChainSettings& chainSettings, double sampleRate) |
| 1177 | { |
no test coverage detected