Post by megagarbage on Oct 15, 2020 22:39:55 GMT -5
I made a little X-Control script that lets me automate some of a live-looping workflow I have, but it's a little clunky and I thought maybe I could do better with a user action but I'm having troooouble
FOOT_3 = CC, 5, 64, 0, 127, PLAY; WAITS 1b; ARM; DUPE; WAITS 1b; SEL/CLIP DEL; SEL/ARM; so when i finish recording a loop, i hit my midi footswitch and it dupes the track, deletes the clip, and arms. i start recording with a second switch.
this is as far as i got with converting it to a user action:
class DupeNewLoop(UserActionsBase): def create_actions(self): self.add_track_action('dupeloop', self.dupeloop)
Exception: A clip cannot be copied while it is recording.
in the logs. I get that i could basically put a string of actions in a trigger_action_list but that's kinda defeating the point and I'm not sure how I should be going about doing a non-blocking wait here.
A different approach would be to add a new audio track and copy all the devices from the current one, which seems sensible but uhhh not really sure how to go about doing that either?
Would really appreciate any help, it would be amazing if I could get this workflow feeling really smooth!!