[solved] One button to play and stop

1.07K viewsGeneral
0

Hi,

is that possible to set play and stop to one button?
First touch for play, second for stop.

admin Changed status to publish May 22, 2024
Attached Files:
0

We have been asked how to do this quite a few times now, so I have written a tutorial on how to use a single button for play/stop.
You can find it here https://remotify.io/blog/how-set-single-button-control-ableton-live-play…
There are a couple of ways it can be done which are covered in this tutorial.

admin Changed status to publish May 22, 2024
Attached Files:
0

I think the pads on the Launchkey are probably momentary (doubt they are toggles) so you would need to use Reactions detailed in method 2 unless there is a way to change them to toggles in the hardware itself.
The best you will get out of method 1 is ‘start playing’ when you press and ‘stop playing’ when you release.

Method 2 should work for you though, did you download/import the completed script?

admin Changed status to publish May 22, 2024
Attached Files:
0

The error message you mentioned means that you have mappings in your script which aren’t assigned to any controls.
Make sure every mapping has a control selected for ‘Controller Input’.
Also you screenshots has ‘controller missing’ error. Attach a controller to your script!

One thing to note, scripts created with version 2.5.2 (released today) no longer require dummy mappings to be added.

admin Changed status to publish May 22, 2024
Attached Files:
0

Hey,

Ah yes that’s right. Because its a momentary button you will need to add a second condition into each reaction which checks the current value of the button.

I have updated the tutorial above on how to do this and the script download at the bottom of the tutorial is also updated with the example which you can use.

admin Changed status to publish May 22, 2024
Attached Files:
0

No problem 🙂 glad to hear it worked!

One thing I forgot to mention, from CSS version 2.5.2+ the dummy mapping is no longer needed, reactions now add all required code for attaching to controller inputs.

admin Changed status to publish May 22, 2024
Attached Files: