mirror of
https://codeberg.org/armin/mindball.git
synced 2026-09-21 04:17:19 +02:00
add FB BOOST toggle: 115% feedback max, cap default to 91%
This commit is contained in:
parent
2f4d6f8726
commit
abdb64dcde
4 changed files with 24 additions and 8 deletions
|
|
@ -44,6 +44,7 @@ juce::AudioProcessorValueTreeState::ParameterLayout MindballAudioProcessor::crea
|
|||
layout.add (std::make_unique<juce::AudioParameterBool> (ParameterIDs::doubleTap, "Double", false));
|
||||
layout.add (std::make_unique<juce::AudioParameterBool> (ParameterIDs::center, "Center", false));
|
||||
layout.add (std::make_unique<juce::AudioParameterBool> (ParameterIDs::autopan, "Auto-Pan", false));
|
||||
layout.add (std::make_unique<juce::AudioParameterBool> (ParameterIDs::fbBoost, "FB Boost", false));
|
||||
layout.add (std::make_unique<juce::AudioParameterFloat> (
|
||||
ParameterIDs::panDepth, "Pan Depth",
|
||||
juce::NormalisableRange<float> (0.0f, 1.0f, 0.001f, 1.0f), 1.0f));
|
||||
|
|
@ -135,6 +136,7 @@ void MindballAudioProcessor::processBlock (juce::AudioBuffer<float>& buffer, juc
|
|||
p.doubleTap = *apvts.getRawParameterValue (ParameterIDs::doubleTap) > 0.5f;
|
||||
p.center = *apvts.getRawParameterValue (ParameterIDs::center) > 0.5f;
|
||||
p.autoPan = *apvts.getRawParameterValue (ParameterIDs::autopan) > 0.5f;
|
||||
p.fbBoost = *apvts.getRawParameterValue (ParameterIDs::fbBoost) > 0.5f;
|
||||
p.panDepth = *apvts.getRawParameterValue (ParameterIDs::panDepth);
|
||||
p.bpm = bpm;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue