Compare commits
3 Commits
68958ae60b
...
abed854d0c
Author | SHA1 | Date | |
---|---|---|---|
abed854d0c | |||
fa038afb82 | |||
d8a3bea927 |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
Builds/
|
@ -23,12 +23,12 @@ ReverbAudioProcessor::ReverbAudioProcessor()
|
|||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
||||||
addParameter(roomSize = new juce::AudioParameterFloat("roomSize", "Room Size", 0.0, 1.0, 0.5));
|
addParameter(roomSize = new juce::AudioParameterFloat(juce::ParameterID("roomSize", 1), "Room Size", 0.0, 1.0, 0.5));
|
||||||
addParameter(damping = new juce::AudioParameterFloat("damping", "Damping", 0.0, 1.0, 0.5));
|
addParameter(damping = new juce::AudioParameterFloat(juce::ParameterID("damping", 2), "Damping", 0.0, 1.0, 0.5));
|
||||||
addParameter(wetLevel = new juce::AudioParameterFloat("wetLevel", "Wet Level", 0.0, 1.0, 0.5));
|
addParameter(wetLevel = new juce::AudioParameterFloat(juce::ParameterID("wetLevel", 3), "Wet Level", 0.0, 1.0, 0.5));
|
||||||
addParameter(dryLevel = new juce::AudioParameterFloat("dryLevel", "Dry Level", 0.0, 1.0, 0.5));
|
addParameter(dryLevel = new juce::AudioParameterFloat(juce::ParameterID("dryLevel", 4), "Dry Level", 0.0, 1.0, 0.5));
|
||||||
addParameter(width = new juce::AudioParameterFloat("width", "Width", 0.0, 1.0, 0.5));
|
addParameter(width = new juce::AudioParameterFloat(juce::ParameterID("width", 5), "Width", 0.0, 1.0, 0.5));
|
||||||
addParameter(freezeMode = new juce::AudioParameterFloat("freezeMode", "Freeze", 0.0, 1.0, 0.5));
|
addParameter(freezeMode = new juce::AudioParameterFloat(juce::ParameterID("freezeMode", 6), "Freeze", 0.0, 1.0, 0.0));
|
||||||
|
|
||||||
verb.setSampleRate(48000);
|
verb.setSampleRate(48000);
|
||||||
}
|
}
|
||||||
@ -131,6 +131,8 @@ void ReverbAudioProcessor::processBlock (juce::AudioBuffer<float>& buffer, juce:
|
|||||||
juce::ScopedNoDenormals noDenormals;
|
juce::ScopedNoDenormals noDenormals;
|
||||||
auto totalNumInputChannels = getTotalNumInputChannels();
|
auto totalNumInputChannels = getTotalNumInputChannels();
|
||||||
auto totalNumOutputChannels = getTotalNumOutputChannels();
|
auto totalNumOutputChannels = getTotalNumOutputChannels();
|
||||||
|
if (totalNumInputChannels != 2) // Logic will fail AU tests if this isn't here
|
||||||
|
return;
|
||||||
|
|
||||||
|
|
||||||
// In case we have more outputs than inputs, this code clears any output
|
// In case we have more outputs than inputs, this code clears any output
|
||||||
|
Reference in New Issue
Block a user