writing a batch of commands and trigger it

Share your favorite Ableton Live tips, tricks, and techniques.
Post Reply
Bartho
Posts: 18
Joined: Wed Feb 14, 2018 10:44 am

writing a batch of commands and trigger it

Post by Bartho » Sun Nov 18, 2018 11:40 am

Hi
is it possible to trigger a number of commands like

Code: Select all

scene down
scene down
scene down
scene launch
...via external midi controller?

Moreover: is it possible to include an if-then-else condition like this?

Code: Select all

var flage==0
When "scene launch' appears  and flag=0 
     then start clip(name) 
          set flag==1
else: do nothing
I have Ableton suite 9 and Max for live.

What I want is to start a clip when the scene is launched.
But it should only get started ONCE. When the scene is relaunched the clip should not get start again.
when next scene is launched the "program" should get closed and next time the variable flag should be 0 again.

The background of the problem is discribed in this thread:
viewtopic.php?f=4&t=232489

chapelier fou
Posts: 6021
Joined: Mon May 15, 2006 12:15 pm

Re: writing a batch of commands and trigger it

Post by chapelier fou » Sun Nov 18, 2018 11:59 am

What I would do would is put the clip in another scene, then delete its stop button.
Now you could code a M4L device that trigger this particular clip when you trigger the particular scene.
Easier to code.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

pottering
Posts: 1807
Joined: Sat Dec 06, 2014 4:41 am

Re: writing a batch of commands and trigger it

Post by pottering » Sun Nov 18, 2018 5:07 pm

If you are willing to do stuff like learning to program scripts, then ClyphX can do what you want.
♥♥♥

Bartho
Posts: 18
Joined: Wed Feb 14, 2018 10:44 am

Re: writing a batch of commands and trigger it

Post by Bartho » Mon Nov 19, 2018 9:41 am

OK I tried clyphX.
But it has huge latency in its commands...?
I mean, when I excute the command PLAY, it needs a feww hundred milliseconds to start.
that means, I'm out of synchronizity and I have an audio gap?

chapelier fou
Posts: 6021
Joined: Mon May 15, 2006 12:15 pm

Re: writing a batch of commands and trigger it

Post by chapelier fou » Mon Nov 19, 2018 9:45 am

I don't use ClyphX, but as far as I know, there is latency, but something less than 20ms for sure.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

Bartho
Posts: 18
Joined: Wed Feb 14, 2018 10:44 am

Re: writing a batch of commands and trigger it

Post by Bartho » Mon Nov 19, 2018 12:47 pm

The clyphX Forum is closed because they sell ClyphX Pro now.
I doubt that I need it. Just need that one command.
Is there the chance to discuss with someone who is experienced in Clyph X?

Post Reply