Skip to content

v0.3.0 - Synth depth + cross-format audio calibration

Pre-release
Pre-release

Choose a tag to compare

@roge-rm roge-rm released this 23 Aug 00:39
· 90 commits to main since this release

Third release of the midiTracker firmware, building on v0.2.0's tracker/WAV playback with a major pass on the onboard synth and a real-hardware audio calibration effort across every playback path.

Highlights

  • Onboard synth got real depth: a one-pole low-pass filter and a shared LFO (vibrato, tremolo, and square-wave PWM) per GM instrument family, stereo panning spread across MIDI channels, and release envelopes that actually ring out instead of cutting off dead — mallets and pads in particular went from ~30-110ms releases to 680ms, much closer to how those instruments really behave.
  • Lo-fi reverb: a 6-filter Freeverb-style reverb tank applied to the entire mix — MIDI synth, WAV, and tracker playback alike — with its wet signal deliberately downsampled and bitcrushed for a chiptune-appropriate character instead of a generic "concert hall" plugin sound. New Settings: Reverb (on/off) and Reverb Mix.
  • Fixed a large loudness mismatch between playback types: WAV, MIDI, and tracker (.mod/.s3m/.xm) files used to vary wildly in perceived volume at the same setting — enough that a WAV file at 65% could match a .mod file at 100%. Traced through several compounding causes and fixed each one: a proper cubic volume taper (the old linear fader crammed almost the whole audible range into the first ~10% of the slider), a new Output Level setting (Headphone Low / Headphone High / Line Level) since this board's DAC has no gain control of its own and its headphone amp ships at its lowest hardware setting, an unnecessarily conservative tracker-engine headroom margin that was making busy .mod/.s3m/.xm files needlessly quiet, and a tuned attenuate-only auto-leveler for sustained loud passages.
  • Settings screen reorganized into four pages (Audio / Looper / Metronome / MIDI+System) instead of one long scrolling list — RIGHT cycles forward through pages (wrapping around), LEFT steps back one page at a time.
  • Reboot to USB bootloader from the menu — hold ENTER on the new "USB Bootloader" Settings entry to drop straight into firmware-update mode, no more holding the physical BOOTSEL button.

Also in this release

  • New Settings: Default Volume and Output Level, both defaulting to safety-conscious values (75% / Headphone Low) after real-hardware testing found the board's audio output notably hotter than expected for direct earbud/headphone use.
  • Drum kit tuning: kick/tom given more low-end weight and a longer body; hi-hats brought down in both brightness and level after sounding too forward/crunchy in practice.
  • Display SPI clock raised from 40MHz to 75MHz for faster screen redraws, matching the rate the reference picoTracker firmware uses on this same panel.
  • Boot splash now shows the running firmware version.

Status

The audio changes in this release were tuned iteratively against real-hardware listening tests across several rounds, including reverse-engineering the board's actual DAC/amplifier configuration (PCM5102A + TPA6139A2, confirmed via the published schematic and datasheet) to understand why output level behaved the way it did in the first place. Specific tuning constants (reverb decimation amount, auto-leveler timing, exact makeup-gain percentages) are first-pass values from that process, not exhaustively validated across every file/hardware combination — feedback on files or setups where levels still feel off is welcome.