Skip to content
altstrument

404tui

Tool for SP-404MKII (Roland)

Go terminal UI and command-line tool for the SP-404MKII over its USB serial link, a port of SparkyMK2. It manages pads, samples, patterns, projects and files, slices samples, and has a Perform dashboard that reads MIDI. Only partly checked on a real unit.

by moahbeatlab

ActiveSource: openGPL-3.0-or-later
Top-down view of the Roland SP-404MKII sampler with its display showing a tempo of 84
Photo: Roland, manufacturer product image, via roland.com
Distribution
Prebuilt image you flash yourself
License notes
The README states GPL-3.0-or-later, as SparkyMK2, and the LICENSE file is the GPL version 3 text.
Source
github.com https://github.com/moahbeatlab/404tui
Homepage
moahbeatlab.github.io https://moahbeatlab.github.io/404tui/

Description

The program works through the unit's USB serial protocol as documented by the SparkyMK2 project. Tabs cover pads, a file browser for the unit and SD card, projects, a slicer that renders slices onto pads, a pattern sequencer, and a Perform dashboard that counts the bar from the unit's MIDI clock, shows pad hits and effect state, and can record the unit's USB audio to a WAV file through ffmpeg or sox. It can also serve Perform as a phone page from the host computer, and a separate page at the project site runs over Web MIDI. A handheld front end for an R36S arrived in v0.1.1, and later releases add a replay editor that turns a recorded set into a captioned video, a Tools page for the phone view and a wider web layout. The README says reading projects, polling status, MIDI input, recording USB audio and pressing pads were checked on a real unit, while sending and restoring whole projects and the unit's files were tried mainly against a simulator and real project files. It does not change the unit's firmware.

Install notes

Each release has builds for macOS (universal), Linux and Windows on x86-64 and ARM64, with a SHA256SUMS file. The Windows build is unsigned. Run sp404 -sim to try it without a unit. Recording needs ffmpeg or sox installed. Work on a copy of your project data, since sending whole projects has been tried on a unit only in part; run sp404 doctor first.

Version history

404tui version history
VersionDateNotes
v0.2.02026-11-11
Adds a pattern generator with chord and arpeggio tools and chord progressions, terminal cast recording of keys, screen and audio, and MIDI file import and export.
v0.1.32026-11-09
Web page changes only, a new look for the replay page with a grouped control bar and a tool rail at the right.
v0.1.22026-11-09
Web page changes only, a section bar at the bottom on wide windows, a loading popup with progress for the tools, and a wider tools page.
v0.1.12026-11-08
Adds the R36S handheld build, the replay editor, the web Tools page and a Remote core that drives the program for a web page; documentation pages for each view.
v0.1-alpha2026-10-19

Back to SP-404MKII