Fix filter env: restore unipolar modulation so all env knobs are responsive

Reverts the sustain-relative modulation that made F.ENV SUS and the
cutoff knob feel dead while a note was held. The envelope now modulates
up from the base cutoff; at env amount 0 the cutoff equals the knob, and
lowering env amount darkens the held tone as expected.

Also extends the filter to 24/48 dB modes (extra TPT stages), adds the
matching combobox options, gives knobs a real blurred drop shadow, and
updates the AGENTS.md filterType choice count.
This commit is contained in:
Armin 2026-08-13 14:15:41 +02:00
commit a1cd68b6b3
5 changed files with 38 additions and 18 deletions

View file

@ -91,7 +91,8 @@ juce::AudioProcessorValueTreeState::ParameterLayout ChromaFlockProcessor::create
// FILTER
layout.add(std::make_unique<juce::AudioParameterChoice>(
juce::ParameterID{"filterType", 1}, "Filter Type",
juce::StringArray{"LP 12dB", "LP 24dB", "Band Pass", "High Pass", "Notch"}, 0));
juce::StringArray{"LP 12dB", "LP 24dB", "Band Pass", "High Pass", "Notch",
"Band Pass 24", "High Pass 24", "Notch 24", "LP 48dB"}, 0));
layout.add(std::make_unique<juce::AudioParameterFloat>(
juce::ParameterID{"filterCutoff", 1}, "Filter Cutoff",
juce::NormalisableRange<float>(