feat: add octave and halftone transpose menus

This commit is contained in:
Armin 2026-07-14 01:19:44 +02:00
commit 6432ab060d
4 changed files with 43 additions and 2 deletions

View file

@ -133,6 +133,14 @@ juce::AudioProcessorValueTreeState::ParameterLayout ChromaFlockProcessor::create
juce::ParameterID{"pitchBendRange", 1}, "Pitch Bend Range",
juce::NormalisableRange<float>(1.0f, 12.0f, 1.0f), 2.0f));
// TRANSPOSE
layout.add(std::make_unique<juce::AudioParameterChoice>(
juce::ParameterID{"octaveTranspose", 1}, "Octave Transpose",
juce::StringArray{"-3", "-2", "-1", "0", "+1", "+2", "+3"}, 3));
layout.add(std::make_unique<juce::AudioParameterChoice>(
juce::ParameterID{"semitoneTranspose", 1}, "Halftone Transpose",
getSemitoneChoices(), 0));
// DISTORTION
layout.add(std::make_unique<juce::AudioParameterChoice>(
juce::ParameterID{"distType", 1}, "Dist Type",