MCPcopy Create free account
hub / github.com/jerryuhoo/Fire / updatePeakFilter

Method updatePeakFilter

Source/PluginProcessor.cpp:1184–1192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1182}
1183
1184void FireAudioProcessor::updatePeakFilter(const ChainSettings& chainSettings, double sampleRate)
1185{
1186 auto peakCoefficients = makePeakFilter(chainSettings, sampleRate);
1187
1188 leftChain.setBypassed<ChainPositions::Peak>(chainSettings.peakBypassed);
1189 rightChain.setBypassed<ChainPositions::Peak>(chainSettings.peakBypassed);
1190 updateCoefficients(leftChain.get<ChainPositions::Peak>().coefficients, peakCoefficients);
1191 updateCoefficients(rightChain.get<ChainPositions::Peak>().coefficients, peakCoefficients);
1192}
1193
1194void FireAudioProcessor::updateLowCutFilters(const ChainSettings& chainSettings, double sampleRate)
1195{

Callers

nothing calls this directly

Calls 2

makePeakFilterFunction · 0.85
updateCoefficientsFunction · 0.85

Tested by

no test coverage detected