Skip to main content

rec

Given a pre-defined feature size, it records incoming data via OSC to create datasets in real-time. OUTPUT file can be .csv, .txt, .llll, 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 RANGE>] [--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—i.e., each event has a time tag. The first event received will have a time-tag of zero and subsequent events will be timed since that moment.
--in-portinteger [1000, 9999]8000Input OSC port.
--addressstring127.0.0.1OSC IP address
--masked, -minteger (multiple)[]Index position(s) for masked feature(s) (0-based).
--categorical, -cinteger (multiple)[]Index position(s) for categorical feature(s) (0-based).
--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 web documentation in browser.