Finetune Oasch settings
This commit is contained in:
parent
d70137ad6f
commit
33ee4560c5
@ -150,6 +150,7 @@ void LeiwandizerAudioProcessor::prepareToPlay (double sampleRate, int samplesPer
|
|||||||
phaser.setDepth(0.6f);
|
phaser.setDepth(0.6f);
|
||||||
phaser.setFeedback(0.1f);
|
phaser.setFeedback(0.1f);
|
||||||
phaser.setRate(99.0f);
|
phaser.setRate(99.0f);
|
||||||
|
phaser.setMix(0.3f);
|
||||||
|
|
||||||
chorus.prepare(spec);
|
chorus.prepare(spec);
|
||||||
chorus.reset();
|
chorus.reset();
|
||||||
@ -157,6 +158,7 @@ void LeiwandizerAudioProcessor::prepareToPlay (double sampleRate, int samplesPer
|
|||||||
chorus.setDepth(0.2f);
|
chorus.setDepth(0.2f);
|
||||||
chorus.setFeedback(-0.2f);
|
chorus.setFeedback(-0.2f);
|
||||||
chorus.setRate(0.05f);
|
chorus.setRate(0.05f);
|
||||||
|
chorus.setMix(0.3f);
|
||||||
|
|
||||||
reverb.prepare(spec);
|
reverb.prepare(spec);
|
||||||
reverb.reset();
|
reverb.reset();
|
||||||
@ -166,6 +168,10 @@ void LeiwandizerAudioProcessor::prepareToPlay (double sampleRate, int samplesPer
|
|||||||
params.dryLevel = 0.7;
|
params.dryLevel = 0.7;
|
||||||
//params.freezeMode = 0.8f;
|
//params.freezeMode = 0.8f;
|
||||||
reverb.setParameters(params);
|
reverb.setParameters(params);
|
||||||
|
|
||||||
|
gainOa.prepare(spec);
|
||||||
|
gainOa.reset();
|
||||||
|
gainOa.setGainDecibels(-6.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
void LeiwandizerAudioProcessor::releaseResources()
|
void LeiwandizerAudioProcessor::releaseResources()
|
||||||
@ -258,6 +264,7 @@ void LeiwandizerAudioProcessor::processBlock (juce::AudioBuffer<float>& buffer,
|
|||||||
if (channel % 2) channelData[i] = -1.0f * channelData[i];
|
if (channel % 2) channelData[i] = -1.0f * channelData[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
gainOa.process(context);
|
||||||
limiter.process(context);
|
limiter.process(context);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -70,6 +70,7 @@ private:
|
|||||||
juce::dsp::Phaser<float> phaser;
|
juce::dsp::Phaser<float> phaser;
|
||||||
juce::dsp::Chorus<float> chorus;
|
juce::dsp::Chorus<float> chorus;
|
||||||
juce::dsp::Reverb reverb;
|
juce::dsp::Reverb reverb;
|
||||||
|
juce::dsp::Gain<float> gainOa;
|
||||||
|
|
||||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LeiwandizerAudioProcessor)
|
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LeiwandizerAudioProcessor)
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user