release: ShoeGaze 3.3.0 — noise-gate threshold + mono-output fixes on Lyrebird 2.2.0
Bump to Lyrebird 2.2.0 (both Package.resolved pins → 2.2.0 / 24ea32e) and cut ShoeGaze 3.3.0. This release surfaces the upstream ramp-origin fix plus the two local fixes already on main: - Noise Gate respects its threshold after loading a rig: the gate's open level is derived from the threshold, which previously swept up from a default on the first audio block and tripped the gate on the transient (latching it open). Lyrebird 2.2.0 delivers a pre-first-render parameter value flat, so the gate reads its real threshold from block one. - Mono rigs output at unity (were ~3 dB down through a centre pan). - Noise Gate detector Peak/RMS switch, defaulting to RMS. NoiseGatePedal doc comment tidied (signal-chain diagram + detector parameter). App build track: MARKETING_VERSION 3.3, CURRENT_PROJECT_VERSION 23. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -11,20 +11,19 @@ import LyrebirdUI
|
||||
///
|
||||
/// Signal chain (inside `effect(_:)`):
|
||||
/// ```
|
||||
/// dry ─┬───────────────────────────────────────────────────────────┐
|
||||
/// └→ detector → Schmidt(lo: thr, hi: thr×ratio) │
|
||||
/// (Peak: AmplitudeFollower |x|, → LinLin(0…1 → floor…1) │
|
||||
/// RMS: √Lag(x²)) → LagUpDown(fast/slow) × ─┴→ mono out
|
||||
/// detector(dry) → Schmidt(lo: thr, hi: thr×ratio) → LinLin(0…1 → floor…1) → LagUpDown(open/close)
|
||||
/// Peak: AmplitudeFollower(|x|)
|
||||
/// RMS: √Lag(x²) out = dry × smoothed-gain
|
||||
/// ```
|
||||
///
|
||||
/// The **detector** tracks the dry signal level — either peak (`|x|`) or RMS (√mean-square). A Schmitt trigger turns that
|
||||
/// envelope into an open/closed gate with hysteresis (opens above `threshold × openRatio`,
|
||||
/// closes below `threshold`) so the gate does not chatter around the threshold. The 0/1
|
||||
/// gate is mapped to a gain in `[floor, 1]` and smoothed **asymmetrically** — opening fast so a
|
||||
/// note's attack isn't softened, closing slowly so the gate fades shut instead of snapping (a fast
|
||||
/// close popped audibly when heavy downstream gain amplified the step). When the gate is closed the
|
||||
/// signal is attenuated to `floor` rather than hard-muted, so `floor` sets how much of the quiet
|
||||
/// signal/noise tail bleeds through.
|
||||
/// The **detector** tracks the dry signal level — either peak (`|x|`) or RMS (√mean-square). A
|
||||
/// Schmitt trigger turns that envelope into an open/closed gate with hysteresis (opens above
|
||||
/// `threshold × openRatio`, closes below `threshold`) so the gate does not chatter around the
|
||||
/// threshold. The 0/1 gate is mapped to a gain in `[floor, 1]` and smoothed **asymmetrically** —
|
||||
/// opening fast so a note's attack isn't softened, closing slowly so the gate fades shut instead of
|
||||
/// snapping (a fast close popped audibly when heavy downstream gain amplified the step). When the
|
||||
/// gate is closed the signal is attenuated to `floor` rather than hard-muted, so `floor` sets how
|
||||
/// much of the quiet signal/noise tail bleeds through.
|
||||
///
|
||||
/// The wet/dry mix and bypass switching are handled by the `Pedal` base class.
|
||||
///
|
||||
@@ -39,6 +38,8 @@ import LyrebirdUI
|
||||
/// mute, `1` = no gating. Range `[0, 1]`. Defaults to `0.0`.
|
||||
/// - attack: Gate open time in seconds (advanced pop-over). Range `[0.001, 0.05]`. Defaults to `0.005`.
|
||||
/// - release: Gate close time in seconds (advanced pop-over). Range `[0.01, 0.5]`. Defaults to `0.08`.
|
||||
/// - detector: Level-detection mode (switch). `0` = Peak (`|x|`), `1` = RMS (√mean-square).
|
||||
/// Defaults to RMS (`1`).
|
||||
public final class NoiseGatePedal: Pedal {
|
||||
|
||||
/// One-line description shown in the picker and info panel.
|
||||
|
||||
Reference in New Issue
Block a user