Skip to content
altstrument

variax

Tool for Variax / James Tyler Variax (Line 6)

Python command-line tool and MIDI bridge that controls a James Tyler Variax through the Line 6 Variax USB Interface on macOS and Linux. Selects models, volume, tone, tunings, 12-string and modeling, and turns other apps' MIDI into guitar changes.

by Peter Hulst

ActiveSource: openMIT
Front view of a James Tyler Variax JTV-59 guitar with a cherry sunburst single-cut body, two humbucker pickups and four amber knobs
Photo: Line 6, manufacturer archive image, via web.archive.org
Distribution
Prebuilt image you flash yourself
License notes
The LICENSE file is MIT. The repository includes captures of Workbench HD USB traffic from the author's own guitar, and model names from the JTV-59 and JTV-69 Pilot's Guide. Line 6, Variax and James Tyler names are trademarks of their owners.
Source
github.com https://github.com/phulst/variax
Homepage
pypi.org https://pypi.org/project/variax/

Description

The Variax USB Interface does not appear as a MIDI device, so the tool talks to it with libusb. The protocol notes in docs/PROTOCOL.md cover the handshake, the interface's raw MIDI over interrupt endpoints, and every message and how it was found, from the author's own captures of Line 6 Workbench HD traffic, the Linux kernel driver and a community MIDI spreadsheet. The send command picks a model by name or program number and sets volume, tone, tuning by name, notes or semitones, 12-string and the magnetic pickups. The monitor, tunings, dump and read commands show what the guitar reports, and the midi command creates a virtual port so a DAW, MainStage or a foot controller can change the model and tuning on each patch, with optional patches defined in a TOML file. Nothing is saved to the guitar. It was tested on a JTV-59, a Raspberry Pi for Linux, and a guitar reporting firmware 0223. Other JTV models and the Variax Standard are expected to work and are untested. Windows is not supported.

Install notes

Needs Python 3.11 or newer, a Line 6 Variax USB Interface on the guitar's VDI jack, and the guitar switched on with a cable in its output jack. Install with pip, uv tool or pipx. Linux also needs libusb, build packages and a udev rule for 0e41:534d, and the tool detaches the kernel's variax driver while it runs. Close Line 6 Central and Workbench HD first.

Version history

variax version history
VersionDateNotes
v0.2.12026-10-14
Git tag; no GitHub release page.

Back to Variax / James Tyler Variax