Skip to content

Releases

v1.0.1 - Keylock fix

Choose a tag to compare

@roge-rm roge-rm released this 17 Nov 17:09

Copy midiTracker-v1.0.1.uf2 to the picoTracker in firmware update mode. Your settings, loops, banks and themes carry over.

Fixed

  • With the keys locked, a key press no longer freezes the screen. "Locked" or "Unlocked" now shows in the footer and the waveform, meters and time keep moving.

v1.0.0 - New look, MP3/FLAC/AIFF, Convert

Choose a tag to compare

@roge-rm roge-rm released this 17 Nov 03:58

The first full release of midiTracker. Copy midiTracker-v1.0.0.uf2 to the picoTracker in firmware update mode. Your settings, loops, banks and themes carry over.

New

  • A new look on every screen: new colours and pixel fonts, a status strip and a key footer, a list of modes on the home screen, and screens for each player, the looper, pariSynth, the synth editor and the recorders.
  • MP3 (including low sample rate MPEG-2.5), FLAC and AIFF playback, with seek.
  • Convert, in the browser's menu: MP3, WAV, AIFF and FLAC to 16-bit WAV, and MIDI files and modules to WAV through the synth and tracker players.
  • Play modes for all players: Once, Repeat and Folder. RIGHT changes it, and the default is in Settings > Audio.
  • .it playback, and MOD, S3M and XM that sound much closer to OpenMPT.
  • USB Drive in Settings > MIDI/System shows the SD card to your computer.
  • Screensaver (Now playing, Meters, Pattern rain or Black) and screen transitions (Wipe or Slide).
  • A keylock in the players: hold ALT+NAV for a second to lock or unlock the keys.
  • A boot animation.

Better

  • WAV plays 24 and 32-bit, float and WAVE_FORMAT_EXTENSIBLE files.
  • The synth's envelopes keep their set times, it follows CCs, pitch bend and pedals, and it has stereo reverb and GM drums.
  • MIDI files end, pause and seek in time, and seeking catches up on instruments and controllers.
  • SysEx of any length is captured and sent, and junk or cut-off messages are skipped.
  • A full card or a failed write while recording keeps the take as a playable file.
  • The battery reading is steady, a green bolt shows on USB power, and it reads full once charging stops.
  • USB MIDI shows up on computers, long and non-ASCII file names open, and there are many fixes for crashes, lost data and looper timing.

Credits

MP3 decoding uses the Helix MP3 decoder by RealNetworks under the RPSL 1.0. Its source, with my changes, is in the repo at lib/helix_mp3 and packaged on its own at https://github.com/roge-rm/helix-mp3-pico. FLAC decoding uses dr_flac by David Reid.

v0.5.1 - Stereo panning fix + audio bugfixes

Choose a tag to compare

@roge-rm roge-rm released this 27 Aug 03:26

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.

v0.5.0 - pariSynth: live multitimbral synth mode

Choose a tag to compare

@roge-rm roge-rm released this 25 Aug 00:07

Sixth release of the midiTracker firmware, headlined by a brand-new live synth-performance mode, alongside a real-hardware freeze fix and a round of looper UI polish.

Highlights

  • pariSynth: a new live multitimbral synth mode. A third top-level mode, alongside Player/Recorder and the Looper, for playing the onboard synth live over incoming MIDI - multitimbral across all 16 channels, shown in a grid with each channel's assigned instrument (or "Drums" on channel 10). Channels follow incoming Program Change by default, or can be manually reassigned per-channel. A shared instrument/drum editor (waveform, ADSR, cutoff, vibrato/tremolo/PWM) is reachable from the grid, with named presets saved/loaded/reset as .syn banks on the SD card. The same grid and editor are also available as a quick-edit overlay mid-playback in the Player (ALT+EDIT), without interrupting whatever's playing.
  • Fixed a real-hardware freeze entering the Looper after browsing a large SD folder. LooperMode::tracks[] (131KB) and the Player's ModPlayer/S3mPlayer/XmPlayer now placement-new into one shared static RAM block instead of the general heap, so claiming any of them is never subject to heap-fragmentation-driven allocator stalls. The file browser's own heap safety margin was also retuned against a fresh real-hardware measurement (24KB was cutting it too close against what's actually left once tracks[] is resident, and briefly zeroed out folder listings entirely).
  • Looper control remap + a real column-overlap fix. EDIT+LEFT/RIGHT now cycles bar length (was ALT+LEFT/RIGHT), freeing ALT+LEFT/RIGHT for the MIDI in-channel; footer hints reworded to match. The "128BAR" bar-length preset was found colliding with the track-activity dots on real hardware - fixed by widening that column, confirmed on-device.

Also in this release

  • Recording and Capture SysEx screens now show a scrolling log of recent MIDI-in activity in the previously-empty space under Events.
  • Fixed a hung-note bug: toggling Audio off mid-note on the Player screen left the synth voice stuck sounding forever.
  • The Loops menu and its Load submenu now commit ENTER/PLAY selections on release instead of press, closing a bug where opening "Load Selected Loop" would immediately load/enter its first browser entry on the same button's trailing release.
  • Looper: RECORD vs OVERDUB are now distinguished by label, the footer no longer picks up a stray color from the BPM row's own text, and record/play activity-dot spacing was tightened so they no longer visually overlap.
  • A shared drawFooter() helper replaces ~18 near-identical copies of footer-drawing code, and a pass removed redundant "press X to go back" hints app-wide.
  • Fixed a cross-core race in Synth::programChange() that made pariSynth's manual instrument reassignment lag a press behind.
  • Fixed %f-format bugs in the instrument editor (unsupported by this toolchain's snprintf) that silently blanked Vibrato/Tremolo/PWM's on-screen values and corrupted several fields in saved .syn banks.
  • Closed a gap where backing out of the file browser from its true root skipped the RAM reclaim every other "up" navigation gets.

Status

This release merges two branches of work developed in parallel on separate machines, including two independent real-hardware-measured fixes for the same underlying issues (the file browser's heap safety margin, and the looper's bar-length/activity-dot column layout). Both were reconciled in favor of whichever measurement was more specific/recent, with one small adjustment to keep the two sides' independent layout math consistent with each other - confirmed working on real hardware since.

v0.4.0 - Color theming, individual loop saves, and unlimited file browsing

Choose a tag to compare

@roge-rm roge-rm released this 23 Aug 19:11

Fifth release of the midiTracker firmware, and the biggest one yet — a full user-editable color theme system, a reworked Loops workflow, a real hardware color-order bug fix, and a rewrite of the file browser that removes its old per-folder file-count ceiling.

Highlights

  • Full color theming. Every UI color is now a named, user-editable setting: Settings > MIDI/System > Theme opens a live R/G/B palette editor (arrow keys move between entries, EDIT+UP/DOWN adjusts by 10, EDIT+LEFT/RIGHT by 1, both hold-to-accelerate) with a live swatch preview. Themes save/load/reset as plain-text .thm files under /themes/ on the SD card, with a name prompt on save — so you can build and swap between multiple looks.
  • Loops menu split into individual and bundle workflows. Save and Load each now offer a choice: Save/Load Selected Loop works with one track at a time — saved as a plain .mid at the root of /loops, picked with a free-text name, loaded back in from a dedicated restricted file browser (tap to select/navigate, hold to delete, with the same overwrite-confirm safety dialog on a name collision). Save/Load All Loops is the previous whole-session bundle behavior, unchanged except its files now live under /loops/bundles/ to keep them out of the individual-loop listing. "Delete Saved Loop" is renamed to Delete Loop Bundle to make clear it only ever touches bundles.
  • Fixed a real hardware color bug. This board's ST7789 panel is physically wired BGR, not RGB, and nothing in the display config was telling the driver that — every color on screen (including the Recording state's red, which rendered vividly blue) was affected. Fixed with TFT_RGB_ORDER=0 in platformio.ini; this is a genuine wiring correction, not a cosmetic swap, and is what finally made per-channel theming trustworthy to tune by eye.
  • Metronome and master clock overhaul. The header's beat-square row is now always visible while anything's running, independent of whether the audible metronome is on, and can be toggled on its own with an EDIT-tap on the BPM value; the BPM row itself now flashes on every beat with a distinct color on the downbeat. A new "click-only" pre-roll lets PLAY on the BPM row start just the metronome click (no recording) when Count In is off, and a freeform track armed while the click is running snaps its start to the nearest beat instead of the raw note-onset instant. Underneath all of this, the internal "master clock" driving beat position now reliably resets to the top of the bar on every fresh start — stopping, pausing-then-deleting a track, or otherwise going idle now eagerly resets it — with resuming a paused track as the one deliberate exception (it picks back up from wherever it left off, not bar one).
  • The file browser no longer has a hard per-folder file limit. Previously capped at 96 entries (silently, in on-disk order, before any sorting), the browser now indexes a folder on demand — a compact per-entry index sized to what's actually there, not a fixed worst-case reservation — and scales to a few thousand files per folder. A folder past what fits still browses, with a (+N) note in the header rather than files just disappearing. This required real care around this device's 256KB of RAM (see Status below).

Also in this release

  • Looper tracks now have independent MIDI in/out channels: IN (OMNI or 1-16) filters what gets recorded, OUT (1-16, or "as recorded") remaps what gets played back, shown together on the track row and edited with ALT+LEFT/RIGHT (in) / ALT+UP/DOWN (out) — see the controls remap below.
  • Display brightness is now a Settings > MIDI/System option, driven over PWM on the backlight pin.
  • Looper track-row controls remapped: EDIT+LEFT/RIGHT now cycles bar length (was ALT+LEFT/RIGHT); ALT+LEFT/RIGHT now adjusts the MIDI in channel (was EDIT+UP/DOWN, which is unclaimed for now). Bar-length adjustment also no longer accidentally toggles record arm on the same press — a real interaction bug caught while making this change, not a new feature.
  • A reusable overwrite-confirm dialog replaces the old hard-reject-on-name-collision behavior across MIDI recording, SysEx capture, rename, and the new individual loop save flow — same look as the existing delete-confirm screen.
  • File browser polish: the context menu is reordered (New Recording / Capture SysEx Dump / Load to Looper / Open / Rename / Delete / New Folder) and its up/down navigation now wraps at the ends; new-recording and SysEx-capture name entry now default the on-screen keyboard cursor to OK, since the auto-generated name is usually fine as-is.
  • Fixed a rendering bug in the WAV and SysEx player screens where the progress bar's narrow left/right margins were never cleared, occasionally leaving a stray highlight color from whatever screen was showing before.

Status

The file browser rewrite is the riskiest change in this release from a stability standpoint: it leans on rp2040.getFreeHeap() at scan time to size its allocation safely, since the looper's own 128KB track buffer can already be resident and isn't reflected in a static build's RAM report. The safety margin used for that check is a first-pass estimate, not yet tuned against a real-hardware measurement of the worst case (all 4 looper tracks recorded, plus a folder of a couple thousand loop files) — no problems found in testing so far, but that specific combination is the one to watch for. Theme color defaults and the Lush/Shimmer reverb types from v0.3.1 remain first-pass tunings — feedback on how either looks/sounds in practice is welcome.

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

Choose a tag to compare

@roge-rm roge-rm released this 23 Aug 02:14

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.

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

Choose a tag to compare

@roge-rm roge-rm released this 23 Aug 00:39

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.

v0.2.0 - Tracker playback + real-hardware performance fixes

Choose a tag to compare

@roge-rm roge-rm released this 21 Aug 15:35

Second release of the midiTracker firmware, building on v0.1.0's MIDI player/recorder/looper with tracker-format playback and a round of real-hardware performance/stability fixes.

Highlights

  • Tracker & WAV playback: play .mod, .s3m, and .xm tracker files, plus .wav, straight off the SD card alongside the existing .mid/.syx support — no whole-file RAM buffering, same streaming approach as the MIDI player. XM supports both linear and Amiga frequency-table modes and the full effect set (arpeggio, portamento, vibrato/tremolo, volume/panning slides, envelopes with key-off/fadeout, retrigger, and more); S3M and MOD get equivalent coverage for their own format conventions.
  • Real-hardware audio fixes: busy passages in S3M/XM files (many simultaneous channels) could audibly slow down and crackle. Root-caused to a genuine per-sample mixing CPU ceiling on the RP2040 and fixed via several changes found through on-device diagnostic instrumentation: correcting signed divisions that weren't actually free compiler-emitted shifts, reusing the SD read cache across same-sample note retriggers instead of re-reading every time, capping worst-case per-call latency, pre-filling the audio ring buffer before playback starts, and throttling on-screen live-update redraws that were eating into an already-thin CPU budget.
  • RP2040 overclocked to 200MHz (from the default 133MHz) to give the mixing pipeline enough headroom to fully clear that ceiling, with a matching fix to the SD card's PIO clock divider (which doesn't auto-scale with CPU speed) to keep the SD bus at its previously-stable rate.
  • Battery status indicator: a small vertical battery gauge in the bottom-right corner of every screen, showing charge level and charging state, read from the onboard voltage sense pin.
  • Looper fix: pressing PLAY on the BPM row while a track is already running no longer re-triggers a fresh metronome count-in over music that's already playing.

Also in this release

  • RAM compartmentalization: the file players, MIDI recorder, and looper's track storage are now lazily allocated on demand instead of all coexisting in RAM at once, freeing up headroom for the new tracker-format players.
  • File browser recognizes and lists .mod/.s3m/.xm/.wav files alongside .mid/.syx.
  • Removed temporary boot-time serial diagnostics (PIO/DMA claim snapshot, I2S init status) and the wait-for-serial-monitor delay that only existed to make them visible.

Status

Tracker playback has been cross-validated against libopenmpt for format parsing/decoding correctness and tested on real hardware, including the throughput-fix work described above. One known rare edge case remains: an occasional brief SD-card read stall (a few seconds, self-recovering) during very busy passages, currently believed to be intrinsic SD card behavior rather than a firmware bug. As with v0.1.0, this hasn't had extensive hardware testing across a wide range of files/cards — feedback and issues welcome.

v0.1.0 - Initial release

Pre-release

Choose a tag to compare

@roge-rm roge-rm released this 19 Aug 14:35

Initial release of the midiTracker firmware for the picotracker v2 (RP2040/Pico).

This is a from-scratch alternate firmware turning the device into a standalone MIDI workstation: an SD-card file player/recorder, a 4-track live looper, an onboard synth for monitoring, and MIDI routing/clock/transport utilities.

Highlights

  • Play / Record Files: browse and play .mid files straight off the SD card (no whole-file RAM buffering), with pause/resume, restart, tempo-scale, volume, seek/scrub, and a live note-activity display. Record incoming MIDI to a new .mid file, or capture raw SysEx dumps to .syx.
  • MIDI Looper: a live 4-track looper with per-track channel filtering, mute, overdub, pause/resume, freeform or bar-quantized loop lengths, a metronome with count-in, Sync/Independent modes, and save/load to the SD card.
  • MIDI Thru / Clock / Transport: configurable Thru routing between hardware and USB MIDI (Off/On/TRS>USB/USB>TRS/TRS>TRS/USB>USB), an External clock-follow mode for the looper's tempo, and MIDI Transport (Start/Stop/Continue) control of loop playback.
  • Onboard synth: a polyphonic synth (24 melodic + 8 drum voices) rendered to the I2S DAC, purely for monitoring — never affects HW/USB MIDI output.
  • Settings screen: persisted device-wide defaults and behaviors.

See the README for the full feature list, controls, and hardware details.

Status

Most of the basic functionality is here and working, but this has not yet been thoroughly tested on real hardware. Expect rough edges — feedback and issues welcome.