OP-Z SysEx
Tool for OP-Z (Teenage Engineering)
Unofficial documentation and a Python package for the OP-Z's app SysEx protocol, StateSync, file transfer and project-global format, with command-line tools for queries, project edits and sampler file preparation.

- Distribution
- Build from source yourself
- Source
- github.com https://github.com/kmorrill/op-z-sysex
- sysex
- research
- midi
- python
Description
The repository documents the OP-Z's SysEx frames, the handshake, live state messages, the file-transfer sessions and the layout of the project-global state, marking each claim as device-proven, decoded, observed, inferred or unknown. The opzsysex package builds and parses these frames using only the Python standard library, with optional live MIDI access through mido. Tools in the repository decode frames, run read-only queries, edit saved project data offline, build file-transfer manifests and prepare AIFF samples for the sampler. It contains no stock projects, audio or firmware.
Install notes
Install with pip from a clone; the device extra adds mido and python-rtmidi for live MIDI. The author warns that malformed writes can corrupt a project, and recommends a backup, a disposable project and a readback after every write.
Version history
| Version | Date | Notes |
|---|---|---|
| main @ 2a54390 | 2026-08-29 | No tagged releases; this is the latest commit. |