lxrpy
Tool for LXR-02 (Erica Synths)
Python library and command-line tools that read and write LXR-02 kit, pattern, song and global config files and manage the SD card contents.
by Justin (jhw)

- Distribution
- Build from source yourself
- Requires stock
- LXR-02 file formats as used by stock firmware 1.7 or later
- License notes
- The README's License section and the pyproject.toml say MIT. The repository has no LICENSE file.
- Source
- github.com https://github.com/jhw/lxrpy
- library
- python
- midi
- librarian
- drums
Description
A Python package that parses and writes the LXR-02's SD card formats, which are .SND kits, .PAT patterns, .SNG songs, GLO.CFG settings and PRJ.NFO project names. It exposes voice parameters, the kit effect bus, per-step automation and modulation destinations, and can copy voices between kits and voice patterns between patterns. Three console scripts list the projects on a card, copy kit files into a project by index and clean out kits and patterns. The README links the author's reverse-engineered file format notes and Erica Synths' published firmware source as references. It runs on a computer and does not change the unit's firmware.
Install notes
Install with pip from the Git tag, for example pip install git+https://github.com/jhw/lxrpy.git@v0.3.1. It needs Python 3.8 or newer. The scripts work on a mounted SD card and do not flash anything.
Version history
| Version | Date | Notes |
|---|---|---|
| v0.4.0 | 2026-11-22 | Git tag; no GitHub release page. Adds a Project class for reading and writing a whole project folder, check and validation functions with lxr-check, boot project helpers, kit mixing, and a firmware audit document. Kit values out of range are now rejected instead of clamped, and file fields are declared once as descriptors; both are breaking changes. |
| v0.3.1 | 2026-10-24 | Git tag; no GitHub release page. |
| v0.3.0 | 2026-10-24 | Git tag; no GitHub release page. |
| v0.2.0 | 2026-05-10 | Git tag; no GitHub release page. |
| v0.1.0 | 2026-02-24 | Git tag; no GitHub release page. |