bounce_midi_clip_to_audio
Convert a MIDI clip to an audio clip via real-time resampling, capturing post-FX output with configurable tail. Records to the same scene row on a new or existing audio track.
Instructions
Bounce (record) a MIDI clip's audible output to an audio clip, in REAL TIME via resampling-record (Live's Freeze/Flatten is not automatable). Creates an audio track (or uses dest_track_index), routes the MIDI track's Post FX output into it, records the clip in the same scene row, and auto-stops after clip length + tail. Returns immediately — wait the reported duration_seconds, then verify with get_track_info / get_arrangement_clips.
Playback is audible during the bounce; don't change the session while recording.
Parameters:
track_index: source MIDI track
clip_index: source clip slot (recording lands in the SAME slot row on the audio track)
extra_tail_beats: extra beats recorded for reverb/delay tails (default 4)
dest_track_index: existing audio track to record into (-1 = create new '[BOUNCE]' track)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_index | Yes | ||
| track_index | Yes | ||
| dest_track_index | No | ||
| extra_tail_beats | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |