Create new audio track with input set to current selected track
Posted: Fri Jan 29, 2021 12:55 am
I am trying to build a utility device that will let me quickly do the following:
1. Create a new audio track
2. Set the input of the new track to be the output of the currently selected track
3. Arm the new track
4. Leave the currently selected track selected.
Ideally the Max device could live on the Master channel and be MIDI mapped, such that no matter where I was in the set, I could quickly do all of the above with a single button press.
Even MORE ideally, this would be a native function in Live, but for now, Max seems like the next best thing.
I've been able to create a device that creates a new audio track, and I've been able to assign the input of a given track to a pre-determined item, but I don't know how to go about dynamically setting the new track's input based on the currently selected track, as there doesn't seem to be a way to match the name/index/identifier of the current track to the list of input sources.
Any ideas?
1. Create a new audio track
2. Set the input of the new track to be the output of the currently selected track
3. Arm the new track
4. Leave the currently selected track selected.
Ideally the Max device could live on the Master channel and be MIDI mapped, such that no matter where I was in the set, I could quickly do all of the above with a single button press.
Even MORE ideally, this would be a native function in Live, but for now, Max seems like the next best thing.
I've been able to create a device that creates a new audio track, and I've been able to assign the input of a given track to a pre-determined item, but I don't know how to go about dynamically setting the new track's input based on the currently selected track, as there doesn't seem to be a way to match the name/index/identifier of the current track to the list of input sources.
Any ideas?