Help needed-toggle button to map separate on/off states
Posted: Tue Oct 25, 2016 1:45 am
So I'm a n00b w/ Max, and I'm clumsily trying to build what I think is a very simple device that sends a MIDI CC at a specific value to a mapped parameter when on, and then a different MIDI CC at a specific value to a different parameter when off. I would like these parameters to be mappable to whatever destinations I choose, and that's actually where I'm having the most problems.
An example of this in use may make it more clear- if I use the Buffer Shuffler device, I want to have this toggle set up so I can, say, map the "On" state to trigger the Dice parameter, and then toggling it off, I want it to trigger the Reset parameter, setting everything back to normal.
I'm a bit lost with this in regards to how to get the values mapped to specific parameters. I can use the Live API info to populate a list of tracks, devices and parameters available as potential destinations, so far so good, but I can figure out how to actually send the values I choose to the parameters I choose.
I'm sure this is something easy, like I said, I'm new at this so I'm bumbling around in the dark.... I'd welcome any thoughts about how to create the entire device, I have a very clunky patch so far and I'm sure there's a more elegant way to do it....
Thanks in advance for your help
An example of this in use may make it more clear- if I use the Buffer Shuffler device, I want to have this toggle set up so I can, say, map the "On" state to trigger the Dice parameter, and then toggling it off, I want it to trigger the Reset parameter, setting everything back to normal.
I'm a bit lost with this in regards to how to get the values mapped to specific parameters. I can use the Live API info to populate a list of tracks, devices and parameters available as potential destinations, so far so good, but I can figure out how to actually send the values I choose to the parameters I choose.
I'm sure this is something easy, like I said, I'm new at this so I'm bumbling around in the dark.... I'd welcome any thoughts about how to create the entire device, I have a very clunky patch so far and I'm sure there's a more elegant way to do it....
Thanks in advance for your help