Skip to content

v0.4.0 — Pattern Persistence, Master Bus Compressor, Standalone Recall

Choose a tag to compare

@Hornfisk Hornfisk released this 05 Apr 20:50
· 37 commits to master since this release

What's New

Pattern Save/Load/Delete

  • Save and load individual patterns to ~/.local/share/autokit/patterns/
  • SAVE and LOAD buttons in the sequencer bottom bar (between EXPORT and COPY)
  • Delete button (×) on each entry in both pattern and preset load dialogs
  • Loading a pattern pushes an undo snapshot — fully undoable

Preset Delete

  • Red × delete button added to the existing preset load dialog

Standalone State Recall

  • The desktop app now remembers its last session (samples + patterns) between launches
  • State auto-saves to ~/.local/share/autokit/standalone_state.json every ~1 second
  • Restored on next launch when no DAW state is present
  • DAW persistence unchanged — still uses nih-plug's #[persist] mechanism

Master Bus DSP Chain

New master bus processing chain for glue, punch, and loudness:

  • Compressor — Feed-forward RMS, 4:1 ratio, 10ms attack, 100ms release, auto makeup gain
  • Saturator — Tanh waveshaper with drive control (0–100%), level-compensated
  • Limiter — Brickwall peak limiter at −0.3 dBFS, toggleable on/off
  • All DSP runs with zero heap allocations (pre-allocated RMS ring buffer)
  • Three new toolbar controls: CMP (threshold knob), DRV (drive knob), LIM (toggle)

UI Improvements

  • Master volume changed from slider to compact knob (saves toolbar space)
  • Save/Load preset buttons shortened to S / L with hover tooltips
  • Removed non-functional scale selector from toolbar
  • Fixed knob value readback — uses unmodulated_plain_value() to prevent parameter smoother from fighting user drag input

Stats

  • 11 files changed, 683 insertions, 88 deletions
  • New file: src/engine/master_bus.rs (DSP chain)
  • 77/77 tests pass, zero new clippy warnings

Full Changelog: v0.3.0...v0.4.0