Some splitting of code
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user