feat(patina): per-band compressor gain stage with Threshold, Ratio and Knee
Tester feedback asked for a threshold and a ratio. Each band now cuts like a small compressor: Threshold (dB above the local floor) replaces Selectivity, Ratio scales the cut per dB above it (inf:1 is the old behaviour), and a Soft/Hard knee switch sets the curve. A small graph shows bump height in, cut out. Mix and Output move to the slider panel so the detection panel fits. common-ui gains rotary_text for knobs with custom value text.
This commit is contained in:
1 parent
7b989f7685
commit
9ca4e4f9dd
13 files changed
+568
-102
No files matched your search
@@ -105,6 +105,15 @@ impl Plugin for Patina {
|
||||
state.gestures[i] = false;
|
||||
}
|
||||
}
|
||||
if edited.knee != before.knee {
|
||||
let knee = match edited.knee {
|
||||
patina_core::Knee::Soft => params::KneeParam::Soft,
|
||||
patina_core::Knee::Hard => params::KneeParam::Hard,
|
||||
};
|
||||
setter.begin_set_parameter(¶ms.knee);
|
||||
setter.set_parameter(¶ms.knee, knee);
|
||||
setter.end_set_parameter(¶ms.knee);
|
||||
}
|
||||
if edited.bypass != before.bypass {
|
||||
setter.begin_set_parameter(¶ms.bypass);
|
||||
setter.set_parameter(¶ms.bypass, edited.bypass);
|
||||
|
||||
Reference in new issue
Block a user