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. Useful for checking what options for GPU acceleration, if any, are available.
  • exec โ€” Allows users to run any hachi machi command via YAML or TOML configuration files.
  • fork โ€” Given some INPUT data, it generates an OUTPUT data file (.txt, .csv, .json, .llll), given any number of optional data augmentation operations.
  • format โ€” Convert a MIDI file (.mid or .midi) into a .csv, .json, .llll, 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 autoregressivelyโ€”i.e., feeding the output back as input.
  • info โ€” Prints information about some INPUT pre-trained model.
  • rec โ€” Given a pre-defined feature size, it records incoming data via OSC to create datasets in real-time.
  • run โ€” Given a path to one or more pre-trained (.pt) MODELS, the run command launches a session for real-time model inference, via OSC.
  • train โ€” Given a path to an INPUT sequential dataset (.csv, .json, .txt, .llll), generates an pre-trained .pt OUTPUT model, trained on that dataset.