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

Method applyGlobalMix

Source/PluginProcessor.cpp:2115–2130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2113}
2114
2115void FireAudioProcessor::applyGlobalMix(juce::AudioBuffer<float>& buffer)
2116{
2117 if (*treeState.getRawParameterValue(HQ_ID))
2118 {
2119 dryWetMixerGlobal.setWetLatency(totalLatency);
2120 }
2121 else
2122 {
2123 dryWetMixerGlobal.setWetLatency(0);
2124 }
2125
2126 // Get the final modulated mix value from the LfoManager
2127 dryWetMixerGlobal.setWetMixProportion(lfoManager->getModulatedValue(MIX_ID));
2128 dryWetMixerGlobal.pushDrySamples(juce::dsp::AudioBlock<float>(delayMatchedDryBuffer));
2129 dryWetMixerGlobal.mixWetSamples(juce::dsp::AudioBlock<float>(buffer));
2130}
2131
2132FireAudioProcessor::ModulationInfo FireAudioProcessor::getModulationInfoForParameter(const juce::String& parameterID) const
2133{

Callers

nothing calls this directly

Calls 1

getModulatedValueMethod · 0.80

Tested by

no test coverage detected