| 1158 | } |
| 1159 | |
| 1160 | CoefficientsPtr makePeakFilter(const ChainSettings& chainSettings, double sampleRate) |
| 1161 | { |
| 1162 | return juce::dsp::IIR::Coefficients<float>::makePeakFilter(sampleRate, |
| 1163 | chainSettings.peakFreq, |
| 1164 | chainSettings.peakQuality, |
| 1165 | juce::Decibels::decibelsToGain(chainSettings.peakGainInDecibels)); |
| 1166 | } |
| 1167 | |
| 1168 | CoefficientsPtr makeLowcutQFilter(const ChainSettings& chainSettings, double sampleRate) |
| 1169 | { |
no outgoing calls
no test coverage detected