Skip to content

v0.5.1 - Stereo panning fix + audio bugfixes

Pre-release
Pre-release

Choose a tag to compare

@roge-rm roge-rm released this 27 Aug 03:26
· 78 commits to main since this release

Seventh release of the midiTracker firmware, a bugfix-focused follow-up to v0.5.0 fixing a real stereo panning mistake and a real audible dropout at ordinary pariSynth polyphony -- no new modes or major features.

Highlights

  • Fixed a real stereo panning bug: many files were coming out very left-channel-heavy. The old linear channel-to-pan mapping put MIDI channel 0 at 87.5% left / 12.5% right, channel 15 at the mirror opposite. Real GM files overwhelmingly fill channels upward from 1, with channel 10 reserved for drums, so nearly every commonly-used channel landed on the same side of the field. Replaced with an alternating mapping (even channels left, odd right, both sides fanning out together as channel number increases) -- channels 0/1, the pair almost every file actually uses, now sit close together near center, and only the rarely-used high channels reach the wide extremes.
  • Fixed a confirmed-by-ear audible crackle/dropout in pariSynth at ordinary polyphony (11-13 simultaneously active voices) -- a real-time shortfall against the 44.1kHz sample rate that a weaker "over-budget-samples" diagnostic had missed in an earlier release. Traced to (and fixed via) a genuine unconditional int64_t multiply in the final output-scaling step that didn't need the full 64-bit width (the RP2040's Cortex-M0+ has no hardware 64-bit multiply, so this was being software-emulated every single sample regardless of voice count), plus a new cap on how many voices can have tremolo/PWM modulation running at once. Reproduced the exact original passage afterward and confirmed silent.
  • Fixed pariSynth never applying Output Level/Reverb from Settings on its own entry. Only the Player screen re-applied these; booting straight into pariSynth ran reverb on firmware defaults instead of your saved settings until you'd visited the Player at least once.

Also in this release

  • New Setting: Stereo Spread (0-100%, default 30%) -- scales the corrected panning layout's overall width, from fully centered up to the full alternating spread.
  • New Setting: LFO Rate (0.5-10.0Hz, Off at the bottom) -- speed of the shared vibrato/tremolo/PWM LFO, adjustable per taste or fully disabled.
  • New Setting: LFO Voices (0-12, Off at the bottom) -- caps how many voices can wobble (tremolo/PWM) at once; several instruments audibly wavering in lockstep read as busy rather than lively, so this keeps the character on the first few notes of a chord without every voice doing it together.
  • MIDI output target (file player, ALT tap) now cycles through an Off option alongside HW MIDI / USB MIDI / HW+USB, for disabling outgoing MIDI entirely.

Status

The panning fix and its Stereo Spread default (30%) are a first-pass tuning by ear, not exhaustively validated across many files -- feedback on how it sits is welcome. The pariSynth dropout fix was verified two ways: real-hardware timing data showing the shortfall drop roughly 25x at the same peak voice count, and a direct by-ear replay of the original failing passage.