set_record_settings
Configure a track's recording source and behavior: choose audio or MIDI input, set monitoring, arm status, and record mode for capturing performances.
Instructions
Sets what a track records and whether it's armed: an audio input (a mic, a guitar, a hardware synth's outputs on the interface) or a MIDI device (a keyboard, a hardware synth's MIDI out), input monitoring, and the record mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arm | No | Arm (or disarm) the track for recording | |
| mode | No | What gets recorded: the input (default), the track's output (resampling), nothing (monitor only), or MIDI merged into / replacing existing notes | |
| track | Yes | Track number or name | |
| stereo | No | With audio_input: record that input and the next as a stereo pair | |
| monitor | No | Hear the input through the track: on, off, or auto (only while recording/stopped) | |
| no_input | No | Clear the track's input | |
| audio_input | No | Record audio from this interface input (see list_inputs) | |
| midi_device | No | Record MIDI from this device number (list_inputs) or 'all' | |
| midi_channel | No | MIDI channel to record, 0 = all |