how to create audio track using Live API

safeoneandting's icon

In the LOM changes, the new features state that you can use create_audio_track(index) to make a new track? (Under song section)

Has anyone used this before.
I'm having trouble setting it up.
I've tried many possible combinations into [live.object]. I guess index meaning the 'id' of the track you want to create in next to?
Help muchh appreciated !

stonerich's icon
Evan's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Pretty straightforward really: