record_section
Record a section of the Ableton Live arrangement to an audio file in real time without using the Export dialog. Captures internal signal from a chosen source and returns the WAV file path.
Instructions
Bounce a section of the arrangement to an audio file WITHOUT the Export
dialog, so you can hear an internal signal. Creates a temporary audio track,
routes its input to source ("Resampling" = the master output, or a track's
name for that track's output), arms it, and records from start_beat to end_beat
in REAL TIME (a 4-bar section takes about 4 bars of wall-clock; capped at
5 minutes). Returns the recorded WAV path. Set cleanup=False to keep the
recording track. Runs the transport and adds an arrangement clip.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Resampling | |
| cleanup | No | ||
| end_beat | Yes | ||
| start_beat | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |