// Case Study — Firmware Emulation / Hardware Sequencer
SQ-64 Emulator & Device Tools
A complete virtual Korg SQ-64 hardware sequencer, built without vendor source code. The stock ARM firmware boots and runs in the browser, and an open ecosystem of custom firmware has grown up around it.
The SQ-64 emulator runs the sequencer's ARM Thumb firmware on a Cortex-M7 CPU model, compiled to WebAssembly so it runs entirely in the browser with no server, account, or vendor firmware bundled. Every part of the front panel is connected through modeled peripherals: the 64 pads, 21 other buttons, six quadrature encoders, LEDs driven by the firmware's PWM, and the 256×64 display fed by DMA. It also models the SPI NOR flash, USB enumeration, and CV, gate and trigger outputs. Firmware updates in both directions (stock to custom and back) complete all 224 packets with byte-exact installed code. Backup and restore read back cleanly after a shutdown and cold restart. The same workbench also works with a physical SQ-64 over Web MIDI, adds a step debugger with breakpoints and traces, and has critical damage detectors that halt any image which would write to protected flash or issue forbidden SPI commands.
What's Modeled
An independent project, not affiliated with or endorsed by Korg. The emulator is an experimental software board model, not a hardware certification. It is not cycle-accurate, and analog outputs and electrical timing are outside its scope.
// Public Repositories
- Korg-SQ-64-Emulator The browser and native emulator, plus firmware updater and backup/restore tools. Runs at sq64.alephvoid.com.
- Korg-SQ-64-Custom-Firmware-Spec An independent firmware specification and conformance suite: 88 requirements, 389 named cases, and validators for images, updates, and backups.
- Korg-SQ-64-Custom-Firmware-Repo A community firmware registry. CI builds each entry from source, validates it against the spec, and runs it headless in the emulator before publishing.
- Korg-SQ-64-Euclidean-Firmware Original firmware that turns the SQ-64 into a four-track Euclidean rhythm sequencer. It is also the reference build for the registry.
- Korg-SQ-64-Custom-Firmware-LFOs Original firmware that turns the SQ-64 into a four-channel bank of tempo-synced LFOs with CV and MIDI CC outputs.
- Korg-SQ-64-Custom-Firmware-Aleph-Void-Official The official Aleph Void firmware. It combines the Euclidean and LFO engines, switchable per track on one shared transport.
The custom firmwares contain no vendor source code, no decompiled vendor functions, and no bytes copied from stock firmware. They were written only from the published spec and tested against the emulator.