Total beginner - making my button a gate
Hey!
So, I wanted to play simpler slices with a drum rack while both on another channel, and my idea was to map Ableton's envelope midi to a note synced bang. It took a while, but it worked!
Now I only have one problem, it works perfect with triggered slices, but I also wanna play gated slices, only the button is (logically) not gated. Is there any way to make the button gated so when I hold the button the slice plays until I release it?
I added a screenshot of my build, hopefully somebody can help me figure this out!I tried my best finding the info, but I guess I dont really know the right keywords so search for, sorry! :)
Thanks!

you need something that outputs 1 when pressed, 0 when released.
It is a shame that Max has no such object.
if you want to use live.button, try this

it will give you bang on press and release.
set button to bang on mouse down in inspector

use that 2 bangs to trigger note On & Off.
I guess your next problem will be to remotelly trigger that button
using Live automation...
This is a snippet that I designed to make a momentary push button:

The actual button in the centre of the patch will send a 1 whilst it's pressed and a 0 when it's released. I use this in presentation mode as a bpatcher for a user interface.
