Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 25 Jun 11:36
· 32 commits to main since this release
  • Presets (io/presets.h): three per mode, stored in QSPI. Hold Footswitch 2 to enter
    preset mode, flip Toggle 2 to recall slot 1/2/3 (the slot is the variant position), or tap
    Footswitch 1 (while holding FS2) to save the current sound. Recalled knob values use the
    existing soft-takeover, so physical pots don't jump. LEDs show the active preset
    (right = 1, left = 2, both = 3).
  • Run from SRAM via the Daisy bootloader (APP_TYPE=BOOT_SRAM). The firmware outgrew the
    128 KB internal flash, so it now loads from QSPI into SRAM — hundreds of KB of headroom. Uses
    the fast 10 ms bootloader (near-instant boot). Flashing changed: install the bootloader
    once with scripts/install-bootloader.{sh,ps1}, then flash the app with
    scripts/flash.{sh,ps1} — or let Propagator do it. The wavetables moved to SDRAM to fit the
    SRAM build's smaller default .bss.
  • Automated/remote flashing. CC 118 ≥ 64 reboots into the Daisy bootloader with an
    infinite DFU window, so Propagator can reflash the app over WebUSB without any button timing.
    (CC 119 still reboots to the STM ROM DFU, now used to update the bootloader itself.) Releases
    also publish spore-vX.Y.Z-bootloader.bin so the editor can install the bootloader too.
  • Removed the "hold both footswitches → DFU" gesture. Enter DFU over MIDI (CC 118 for the
    app, CC 119 for the bootloader) or with the Daisy Seed's BOOT+RESET buttons. Frees the
    footswitch combinations for presets.
  • Lower audio-CPU on the voice path (no audible change): the per-voice filter only
    recomputes its coefficients when cutoff / resonance / filter-type actually change, so
    static-filter patches skip a sinf+powf (Svf) or coefficient polynomial (Moog) every
    sample; unison detune offsets are precomputed per block instead of dividing per sample;
    and the final hard clamp is folded into the master limiter (one less buffer pass).
  • Link-time optimization (-flto) trims ~1.5 KB of internal flash (98.2% → 97.1%);
    usb_identity.c is kept out of LTO so its USB-descriptor override stays deterministic.
  • CI checks a CHANGELOG entry on every PR (skippable via a skip-changelog /
    dependencies label), and the PR template now lists only the manual items CI can't
    verify (formatting, build, and changelog are enforced automatically).
  • Contributor tooling. Added CONTRIBUTING.md, GitHub issue/PR templates, a
    .clang-format (Google C++, 4-space, 100-col) + .editorconfig, and a CI job that
    enforces formatting. New scripts/setup.{sh,ps1} one-shot bootstrap (submodules + libs).
  • Internal cleanup (no behaviour change): PumpMidi takes a MidiContext struct
    instead of 11 positional args; per-mode parameter defaults are assigned by enum name so
    reordering can't silently shift them; CPU-watchdog and LED thresholds moved into
    params::watchdog / params::ui.