Skip to content

Releases

v0.5.4

Choose a tag to compare

@github-actions github-actions released this 12 Oct 17:07
  • Fix: CPU overload, audio crackle, and reverb lockup in Generative mode. Resolved persistent
    audio degradation and high CPU usage in Mode 3 (Generative):
    1. MoogLadder filter lockup: RollPatch() occasionally selected the CPU-intensive 4-pole
      MoogLadder filter (which oversamples 2x and performs software double-precision tanh per
      sample). Ambient mode now strictly uses the lightweight 2-pole daisysp::Svf.
    2. Reverb feedback runaway & NaNs: High settings of Knob 4 (reverb) previously drove ReverbSc
      feedback up to 0.99, causing positive feedback loops and numerical runaway to $\pm\infty$ / NaNs
      in SDRAM buffers. Feedback is now capped to 0.94 max, voice feeds into reverb are clamped to
      $[-1, 1]$, and automatic NaN/Inf detection in ProcessBlock resets the reverb state immediately
      if corruption occurs.
    3. Voice headroom: Active polyphony in Generative mode was adjusted from 5 voices to 4, providing
      ~20% additional DSP headroom alongside long envelope swells and the dedicated reverb.
    4. Watchdog responsiveness: Overload threshold reduced from 0.95 to 0.88, trip time reduced to
      60 ms, and the deadband hysteresis was updated to a leaky integrator so bursty loads trigger voice
      shedding reliably without leaving the watchdog stuck.
    5. FX toggle behavior: Toggling FX no longer unconditionally clears the overload state while in
      Generative mode.
  • Documentation: Added comprehensive hardware manual and control surface
    vector diagrams for all three modes (docs/MODES.md, docs/mode1-synth.svg, docs/mode2-granular.svg,
    and docs/mode3-generative.svg).

v0.5.3

Choose a tag to compare

@github-actions github-actions released this 12 Oct 10:32
  • Hardware: Daisy Seed 3 compatibility. Verified that the same unified firmware binary supports
    both the original Daisy Seed (rev4–rev7) and Daisy Seed 3 (Seed3), using libDaisy's automatic
    runtime board version detection.
  • Documentation: Updated README with Daisy Seed 3 platform details.

v0.5.2

Choose a tag to compare

@github-actions github-actions released this 12 Oct 10:04
  • Fix: audio crackle in tempo-synced delay. When synced to BPM (1/4, 1/8, 1/8., 1/16),
    the delay line crackled heavily due to two issues:
    1. Incoming MIDI clock tick intervals were measured with 1 ms resolution (System::GetNow()),
      causing the calculated tempo to oscillate by ±1 BPM on every tick due to integer quantization
      and USB jitter. MidiClock now tracks ticks with microsecond resolution (System::GetUs())
      over a 24-tick (1 quarter note) sliding window.
    2. The delay buffer read pointer previously jumped instantaneously on tempo fluctuations without
      smoothing. GlobalFx now slews the delay time per sample with a one-pole lowpass filter
      ($\tau \approx 50\text{ ms}$), providing continuous fractional interpolation and tape-delay
      smoothness without audio discontinuities.
  • Toolchain: support official Arm GNU Embedded Toolchain alongside xPack in scripts/env.*,
    resolving compatibility on Windows systems where Smart App Control blocks unsigned MinGW DLLs.

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 07 Sep 11:41
  • Maintenance release: vendored libDaisy bumped to upstream HEAD (c02245d -> cc146d5).
    Four upstream commits — I2C4 alternate-function pin mapping fixes, SAI support for two blocks
    with no master, a TCA9534 I2C GPIO-expander driver, and README link updates. None of them touch
    a path Spore uses; no functional change to the firmware.

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 26 Jun 13:46
  • Patch dump/load + preset management over USB MIDI (docs/MIDI_PROTOCOL.md §3-4).
    New SysEx commands let Propagator drive the on-device presets it previously couldn't see:
    0x10/0x50 dump the full live patch (device → editor, so a hardware tweak or a recall
    syncs the UI), 0x11 loads a patch, and 0x20/0x21/0x22 save / recall / list the three
    QSPI slots of the active mode, with 0x52 reporting slot occupancy + the active slot. A
    Program Change is an alias for recall. The slots are the same ones the Footswitch-2 gesture
    uses; the commands reuse the existing capture/apply glue. Patch values are 7-bit to stay
    under libDaisy's 128-byte inbound SysEx buffer.
  • Fix: intermittent crackle in Synth mode under load. The crackle was a per-block CPU
    spike, not sustained load (so the watchdog, which only sheds after ~150 ms, never caught
    it): a moving filter envelope changed the cutoff every sample, forcing a per-sample
    SetFreq (Svf sinf+powf / Moog polynomial) on every voice — and a chord put all 6
    voices on that path at once, tipping a block past its deadline. The voice filter now
    recomputes its coefficients at control rate (every 8 samples, ~6 kHz — inaudible for
    sweeps) while keeping the existing "skip when unchanged" fast path for static patches.
    The audio block size also goes 48 → 64 (~1.3 ms @ 48 kHz) for more headroom against
    transient spikes.

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 25 Jun 11:36
  • 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.

v0.3.4

Choose a tag to compare

@github-actions github-actions released this 24 Jun 09:24
  • New Granular engine controls (config/gran_params.h, CC 94-97) for the Propagator
    GRANULAR pod, beyond the 6 physical knobs: Reverse (backwards-grain probability, was a
    fixed 30%), Width (per-grain stereo pan spread — granular is now stereo), Shape
    (grain window soft Hann -> hard flat-top gate), and Scale-lock (snap grain pitches to
    off / major / minor / pentatonic). Defaults reproduce the previous sound.

v0.3.3

Choose a tag to compare

@github-actions github-actions released this 24 Jun 08:59
  • Cleaner master output: a DC blocker (one-pole ~20 Hz high-pass per channel) strips any
    offset built up by resonant filters / wavefolding / drive before it eats headroom, and the
    master volume / cutoff / resonance are now smoothed (~15 ms) so stepped MIDI CC and fast knob
    moves no longer zipper (worst on resonant cutoff).
  • Reverse grains in Granular: ~30% of grains now play backwards for a shimmering, less
    directional texture.
  • Granular octaves stay in tune. The octave-quantize (VAR position 2) used powf(2, k) for
    the rate, which isn't bit-exact (worse under -ffast-math) so octaves beat against the dry
    signal. Now the octave shift is an exact ldexpf x2^n, and it's taken relative to the dialed
    Pitch (so the Pitch knob works in octave mode instead of being snapped away).

v0.3.2

Choose a tag to compare

@github-actions github-actions released this 24 Jun 08:23
  • Granular pitch is now in tune. The pitch knob quantizes to whole semitones (it used to
    sweep +/-24 semitones continuously, so it detuned against anything you played unless dialed
    exactly), with a small center detent that snaps to unison.
  • Smoother short grains. The grain spawn interval is now randomized (+/-40%) so small grains
    form a cloud instead of a periodic buzz at the spawn rate. (Overlap still depends on Density vs
    Size: very short grains at low density are sparse by nature -- raise Density for a denser wash.)
  • Master limiter instead of a hard clip. The output stage now rides the gain down when a
    peak would exceed the ceiling (fast ~0.5 ms attack, slow ~150 ms release) and lets it recover
    smoothly, so a resonant filter / stacked grains / runaway feedback get turned down rather
    than crushed. A hard clamp to [-1, 1] stays only as an inaudible backstop for the attack slip.
  • Generative no longer locks up on re-seed. The Brightness/Texture roll could land on a
    timbre too heavy for the budget (Moog 4-pole + unison + FM + fold across all 5 voices), and
    since Generative skips the global FX the CPU watchdog had nothing to shed -> it overran,
    starved MIDI, and needed a reboot. Now: the roll caps its worst case (no unison, Moog rare),
    and the watchdog sheds voices in the active mode and auto-recovers when load drops
    (~400 ms cool-down) instead of latching until a mode change.
  • Lower CPU across the board via -ffast-math -fno-finite-math-only on the DSP build
    (reassociation / reciprocals / fast fp-contract; NaN+Inf handling kept for the chaos guard
    and CPU meter), plus a cheaper Granular hot loop -- Hann window from a LUT (was a per-grain
    cosf every sample) and branch-wrap instead of % on the buffer indices.

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 19 Jun 08:35
  • Generative steering (config/gen_params.h, CC 32-37): the timbre still rolls
    randomly on re-seed, but the roll is now biased by Brightness + Texture, and
    behaviour is steerable via Chord (stacking), Swell (note length) and Motion
    (walk step), plus a Wander morph-depth. Synth params stay synth-only (no reuse).