Skip to main content

rec

Given a pre-defined feature size, records incoming data via OSC to create datasets in real-time. OUTPUT file can be .csv, .txt, or .json.

Input routes

  • /input <list>: Event to record. The number of event elements must match the pre-defined feature size.

  • /stop: Writes recorded data to disk, and stops the recording session.

  • /reset: Clears recorded events.

Usage

hxmx rec <SIZE> [OUTPUT] [-t] [--in-port <INTEGER>] [--address <TEXT>] [-m <INTEGER>] [-c <INTEGER>] [-d <CHOICE>] [--debug] [--help]

Arguments

NameTypeRequiredDefault
SIZEinteger
OUTPUTpath — filerecording.csv

Options

NameTypeDefaultDescription
--temporal, -tbooleanFalseIf true, output dataset has temporal information
--in-portinteger8000Input OSC port.
--addressstring127.0.0.1OSC IP address
--masked, -minteger (multiple)[]Dimensions of masked features.
--categorical, -cinteger (multiple)[]Dimensions of categorical features.
--device, -dchoice (auto|cpu| ...)cpuComputing device. To list all available devices, run hxmx devices.
--debugbooleanFalseDebug mode. Includes traceback when an error is raised.
-h, --helpbooleanFalseOpen documentation in browser.