I'd like to use a midi note or cc to press a Live.button. Currently it takes one press to turn it on and one to turn it off. Is there a way to have it listen to on/off commands and behave like a mouse click does?
Trigger mode is not supported at this time. This is on our list of things that we want to support, but I can't tell you when or if it's going to be available. In the meantime, you can still fake it using a pattr object (if you want to automatize it) and some select object.
I think you can do this with a Max messagebox containing "bang" cross wired back to the input of the Live buttton. It doesn't go into an on/off loop, it just fires the once and re-sets the button back to off. It's quite cool. I have this working in a patch for re-setting track sends that I'll be posting up on maxforlive.com soon.
I'd like to see that, i've never used a pattr before and the APC40 has it claims momentary buttons for stop clips but when you map them they become toggles which i can't seem to change with M4L..... Help anyone?
No in that version he's calling a set call to the live api, the buttons on the apc when in ableton mode 1 are momentary so you just need to observe there state, this can then be tapped to give you momentary control....
Have a look at Mike Chenetz's launchpad tutorial patches and you'll see how to observe them, then you simply connect the output to a live.text button and then to a toggle....
So I've been having a problem where if I press a live.button too many times, too quickly it starts acting like a toggle instead of a momentary. I've been substituting live.button for live.numbox. When you map it, it acts the same as live.button no matter how fast you press it.
It looks stupid, but im only making utility type things for myself, so it doesn't bother me too much. I know I could always hardwire it, but... meh.. Lookin forward to that being fixed though.
I was looking for a similar solution, and I have found a fantastic one.
I can now assign a button to a shift function in Ableton (without MIDI Learn), which sets all incoming button messages from my controller to momentary as long as the shift button is active.
M4L cannot access external MIDI ports by default, there is however a way to set up a patch that hijacks incoming MIDI messages from any port before they reach Ableton Live (and the custom MIDI assignments within it!!) — the patch and further file installation instructions are to be found here: https://cycling74.com/forums/m4l-midi-lib-unrestricted-midi-io/
This basically allows for reshaping incoming MIDI messages before they actually reach Ableton and transform them before they go back to the controller in use. Bombastic.
in order to set any button's messages to momentary alignment, one has to merely unpack the incoming MIDI message and pack it again after setting the incoming velocity to 64, this way a toggle function of a Live button will get a switch message again when the button is released (its 0 message is turned to a 64 message).
The incorporation of a shift button additionally allows gated routing and choice between momentary function and the usual toggle mode. Hijacking the outgoing MIDI message from Ableton then again enables individual LED feedback, i.e. blinking red when pressed etc.
very revealing and utterly practical. Best of luck!
i noticed this problem also with vsts. i cannot automate certain momentary buttons of vst plug-ins in Live without breaking the automation. I'm so sick of finding this kind of absurd limitations under the surface..
On the other hand the limitations force us to become great workarounders. I added a button to my device to switch off the momentary mode in case a automation is played back. Because the "second bang" method seems to be working good except the automation..
And automation of the momentary button of a vst now also works after routing it to a macro.
Momentary can be achieved it seems only by using a CC and not a midi note. For the launchpad it looks like this is possible with automap, for the apc40 you need to make a patch in max proper before live to hijack the notes. It's a real bitch I know