Skip to main content

CLI Reference

High-level and controllable human interface for machine improvisation.

Usage

hxmx <command> ...

Commands

  • devices — Lists all available computation devices.
  • exec — Allows to run commands via YAML or TOML configuration files.
  • fork — Given some INPUT data, it generates an OUTPUT data file (.txt, .csv, .json), given any number of optional data augmentation operations.
  • format — Convert a MIDI file into a CSV, JSON, or TXT data format, to be used as training data.
  • gen — Given a path to a pre-trained (.pt) MODEL, it writes an OUTPUT file with sequential data generated by the model auto-regressively—i.e., feeding the output back as input.
  • info — Prints information for some INPUT pre-trained model.
  • rec — Given a pre-defined feature size, records incoming data via OSC to create datasets in real-time.
  • run — Given a path to pre-trained (.pt) MODEL, starts a sessions for real-time inference, via OSC.
  • train — Given a path to an INPUT sequential dataset (.csv, .json, .txt), generates an pre-trained .pt OUTPUT model, trained on that dataset.