Some splitting of code

This commit is contained in:
Tim
2025-11-08 00:17:43 +00:00
parent c5105693a2
commit 43b8670d4e
10 changed files with 263 additions and 209 deletions

View File

@@ -78,6 +78,15 @@ private:
using Reverb = juce::dsp::Reverb;
using Limiter = juce::dsp::Limiter<float>;
// Separate functions for different parts
void renderReverb(juce::dsp::AudioBlock<float> &block);
void renderSimpleDelay(juce::dsp::AudioBlock<float> &block);
void renderADSR(int numSamples, int numCh);
void renderChorus(juce::dsp::AudioBlock<float> &block);
void renderFlanger(int numSamples, int numCh);
void renderDistortion(int numSamples, int numCh, juce::dsp::AudioBlock<float> &block);
void renderEQ(juce::dsp::AudioBlock<float> &block);
enum ChainIndex
{
flangerIndex = 0,