Play/stop Button in ableton
Play/stop Button in ableton
Hello.
how do I map one button/switch on the lemur to control both play and stop in ableton? Each time the button is on i want ableton to play and each time its off i want ableton to stop playback. but i cant really figure out how to both control start and stop on the same button.
how do I map one button/switch on the lemur to control both play and stop in ableton? Each time the button is on i want ableton to play and each time its off i want ableton to stop playback. but i cant really figure out how to both control start and stop on the same button.
Re: Play/stop Button in ableton
I think you can do it with custom midi but I just used a script for that:
Use a custom button, set to switch behavior
add a script, call it OnChange or whatever, select On Expression for the trigger
will send a cc31 if the button is down and cc30 when up
Use a custom button, set to switch behavior
add a script, call it OnChange or whatever, select On Expression for the trigger
Code: Select all
ctlout(0,30+x,127,1);
Re: Play/stop Button in ableton
hmmm, it doesn't seem to work. when i try midimap the button in ableton this message appear: The selected controller conflicts with the previous mapping to transport start. Do you want to replace the previous mapping?
Im quite new to all this scripting so perhaps i did something wrong
Im quite new to all this scripting so perhaps i did something wrong
Re: Play/stop Button in ableton
i tried to upload a jzlib file with the button but it seems like my computer won't let me for some reason. perhaps its attached here.
Re: Play/stop Button in ableton
Did you remove the MIDI assignment (Target = none) ?
Re: Play/stop Button in ableton
i just tried it. but that didn't seem to help.
Re: Play/stop Button in ableton
here's how it looks. for some reason i can't upload it here on the forum
http://speedy.sh/eMBHs/StartStop-button.jzlib
http://speedy.sh/eMBHs/StartStop-button.jzlib
Re: Play/stop Button in ableton
Hi
To upload to forum -first compress the file - zip or similar . .
For the Button issue - the 30 to 31 in the controller section is for arrays of buttons
You need to either remove MIDI assign here or just deselect 'x' variable in Project pane.
Your OnChange script needs to know what is triggering it - put x in field next to execution 'On Expression' . . .x
Currently there is nothing telling it when to act . . .
Cheers
MM
To upload to forum -first compress the file - zip or similar . .
For the Button issue - the 30 to 31 in the controller section is for arrays of buttons
You need to either remove MIDI assign here or just deselect 'x' variable in Project pane.
Your OnChange script needs to know what is triggering it - put x in field next to execution 'On Expression' . . .x
Currently there is nothing telling it when to act . . .
Cheers
MM
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
-
- Newbie
- Posts: 9
- Joined: 16 Jan 2012 09:32
Re: Play/stop Button in ableton
U bloody legend! thnx