| 1174 | } |
| 1175 | |
| 1176 | CoefficientsPtr makeHighcutQFilter(const ChainSettings& chainSettings, double sampleRate) |
| 1177 | { |
| 1178 | return juce::dsp::IIR::Coefficients<float>::makePeakFilter(sampleRate, |
| 1179 | chainSettings.highCutFreq, |
| 1180 | chainSettings.highCutQuality, |
| 1181 | juce::Decibels::decibelsToGain(chainSettings.highCutGainInDecibels)); |
| 1182 | } |
| 1183 | |
| 1184 | void FireAudioProcessor::updatePeakFilter(const ChainSettings& chainSettings, double sampleRate) |
| 1185 | { |
no test coverage detected