Skip to content
altstrument

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)

ActiveSource: openMIT
The black LXR-02 seen from the front left, with a red text display, four knobs, a data encoder, seven vertical faders and two rows of buttons, several lit red
Photo: Erica Synths, manufacturer product image, via ericasynths.lv
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

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

lxrpy version history
VersionDateNotes
v0.4.02026-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.12026-10-24
Git tag; no GitHub release page.
v0.3.02026-10-24
Git tag; no GitHub release page.
v0.2.02026-05-10
Git tag; no GitHub release page.
v0.1.02026-02-24
Git tag; no GitHub release page.

Back to LXR-02