Skip to content

v0.3.1 - Reverb scope fix + Lush/Shimmer types

Pre-release
Pre-release

Choose a tag to compare

@roge-rm roge-rm released this 23 Aug 02:14
· 89 commits to main since this release

Fourth release of the midiTracker firmware, a focused follow-up to v0.3.0 fixing a real-hardware reverb scope mistake and adding two new reverb characters.

Highlights

  • Reverb is now correctly scoped to the onboard MIDI synth only. v0.3.0's reverb was mistakenly applied to the entire mix, including WAV and tracker (.mod/.s3m/.xm) playback. Those formats already carry their own effects (tracker files encode their own per-channel effect commands as part of the format itself), so layering this synth's reverb tank on top never made sense — it's now fed only from the onboard synth's own voices, and WAV/tracker playback pass through untouched.
  • Two new Reverb Types, selectable from Settings alongside the original Lo-fi/chiptune sound:
    • Lush: the same reverb tank, but its tail is run through a slow LFO-wobbled delay instead of being bitcrushed/decimated — a chorused, lively character instead of a static one.
    • Shimmer: the tank's tail gets pitch-shifted up an octave and fed back into itself, climbing another octave each pass and decaying naturally — the classic ambient/shoegaze ascending wash (Valhalla Shimmer-style), running on a $10 board.
    • All three types share the same tuned comb/allpass tank; only the two new modes' extra buffers are allocated, and only while that mode is actually selected — switching types doesn't cost RAM for the ones you're not using.
  • Fixed a real popping/crackling bug on busy MIDI files. Several of v0.3.0's synth additions (filter, vibrato, tremolo, PWM) used 64-bit multiplies in the per-voice render path; the RP2040's Cortex-M0+ cores have no hardware 64-bit multiply, so those were being software-emulated and getting expensive once enough voices piled up, occasionally causing the I2S output buffer to run low enough to audibly glitch. Converted to 32-bit math throughout (each conversion checked against its actual worst-case value range, not just assumed safe) and enlarged the I2S buffer for extra headroom against brief core-to-core contention when the SD card is being read mid-playback.

Also in this release

  • New Setting: Synth Audio, a persisted default for whether MIDI file playback drives the onboard synth's own audio output (as opposed to just sending notes out over MIDI). Defaults off, so existing setups routing to real hardware/software aren't affected unless this is turned on.

Status

The int64→int32 conversion was verified against real-hardware diagnostics showing the render loop back under its timing budget with no more voice-stealing or buffer underruns at the polyphony levels that previously triggered problems. Lush and Shimmer are first-pass tunings (chorus depth/rate, shimmer feedback amount, grain length) not yet exhaustively validated by ear across many files — feedback on how they sound in practice is welcome.