Skip to content
altstrument

FM1-Lab Test Bench

Tool for FM-1 (M-VAVE)

Command-line test bench that builds FM-1 firmware, runs it on an emulated FM-1 and reports screenshots, sound, MIDI out, flash use, crashes and CPU headroom, with build comparison and a check for the newer flash chip.

by beowulf-audio

ActiveSource: openMIT
M-VAVE FM-1 FM synthesizer, top view
Photo: M-VAVE, manufacturer product image, via m-vave.com
Distribution
Build from source yourself
License notes
The LICENSE file is the MIT text, copyright Beowulf Audio. The emulator is vendored under its own licence, and fm1-base is MPL-2.0.
Source
github.com https://github.com/beowulf-audio/fm1-lab

Description

Not the same project as albinoIguana's FM1-Lab instrument environment. This one is a Node command-line tool with a sandboxed build of firmware projects on fm1-base and Optimist- or Felucca-style trees, using a pinned compiler and SDK files that setup fetches. It runs packages on the fm1-emu emulator with scripted key, knob and MIDI scenarios, writes HTML reports, compares two builds, profiles CPU headroom, checks that a build still saves on both the Puya and UC25HQ80 flash chips, and sweeps hundreds of packages into a gallery. A watch mode rebuilds and retests on each save, and a new command starts a project from the fm1-base template. It also runs the checks of FM-1 Inspect. The README describes the status as early, says nothing has been compared with a real FM-1 and that it does not install anything on one.

Install notes

Needs macOS on Apple silicon or Linux, Node 22 or later, git and Rust. Clone the repository and run the setup command, which builds the compiler once, a step the README puts at one to two hours and about 15 GB. Review the build code of any third-party project before building it. The tool does not write to a device.

Version history

FM1-Lab Test Bench version history
VersionDateNotes
main @ 16c495c2026-11-13
No tagged releases; this is the latest commit. Since the previous row it adds resource regions for a firmware's data outside its package, a map of where a firmware writes its flash, a play command that runs a firmware in the emulator window with a WAV, microphone or USB audio input, and audio files of common formats converted into a firmware. The latest commit makes the flash the play command keeps specific to each build, since it also holds the firmware's code and a rebuild had run the old build.

Back to FM-1