HX One CLI
TypeScript command-line tool that switches presets and toggles the effect on a Line 6 HX One over USB MIDI, and parses, inspects and compares its .hx1p preset files offline.
by shad

- Distribution
- Prebuilt image you flash yourself
- Requires stock
- HX One firmware 3.83 (the tested version)
- License notes
- The MIT licence covers the author's code. The bundled presets, which appear to be factory presets, and the owner's manual PDF are Line 6 material that the licence does not cover.
- Source
- github.com https://github.com/shad/hx1-cli
- Homepage
- npmjs.com https://www.npmjs.com/package/@shadr/hx1-cli
- cli
- usb-midi
- midi
- presets
- research
Description
Rights warning: the repository includes what appear to be the HX One's factory presets, as .hx1p files in presets and extracted-presets, and Line 6's HX One Owner's Manual as a PDF in docs. Neither is the author's work and no permission is stated. The CLI sends program change and control change messages for loading, stepping through and toggling, plus the FLUX momentary function, and reports device status. Its offline commands read the .hx1p format, a 1440-byte binary preset with a model ID, parameters and a name, and the docs record the author's reverse engineering of that format and of .hx1b backups. Creating presets and uploading or downloading them over MIDI are listed as future work. It was tested on HX One firmware 3.83, and the repository includes a CLAUDE.md file for AI-assisted development.
Install notes
Install with npm install -g @shadr/hx1-cli or the bun equivalent; it needs Node 18 or Bun 1 and an HX One connected by USB. Device commands need the pedal; the preset file commands work offline. The author recommends keeping preset backups.
Version history
| Version | Date | Notes |
|---|---|---|
| v1.0.1 | 2026-01-03 | Git tag; no GitHub release page. |
| v1.0.0 | 2026-01-03 | Git tag; no GitHub release page. |