KeithRamsey Posted March 16, 2022 Share Posted March 16, 2022 Hello, I've set up a toggle button in Touch OSC, so that when it lights up red as I touch it, it sends a MIDI CC 37, value 127. When I touch it again, it sends a MIDI CC 37, value 0. *** My question is, how to do I set up Logic Controller Assignments, so that a midi event MIDI CC 37, 0, always turns a smart control button OFF, and MIDI CC 37, 127, always turns it ON? *** Right now, the best I can do is set up a controller assignment as a toggle that always just reverses what ever the current setting is. But then my button and the onscreen controls sometimes get out of sync (where what used to mean off meant on, and so forth.) The problem is, I'm not well-versed in all the technical stuff of "unsigned" "2's compliment" "scaled" "relative" stuff, so I'm having trouble translating the manual to get it to do what I need. thanks! Quote Link to comment Share on other sites More sharing options...
des99 Posted March 16, 2022 Share Posted March 16, 2022 If you want to keep it simple, you don't have to do both states in one command - you can learn the ON MIDI message to set the value you want, and separately learn the OFF message to set the off state of whatever you want - then you don't have to worry about transforming both states in one messsage... Quote Link to comment Share on other sites More sharing options...
KeithRamsey Posted March 16, 2022 Author Share Posted March 16, 2022 If you want to keep it simple, you don't have to do both states in one command - you can learn the ON MIDI message to set the value you want, and separately learn the OFF message to set the off state of whatever you want - then you don't have to worry about transforming both states in one messsage... Thanks for the response! The trick seemed to be, after hitting the learn button, to press the OSC button twice, so that Logic hears both the 0 and 127 message. The "received" message changes to "Lo7". Then in the controller assignments, it sets itself to min/max 0 127, and format unsigned, multiplier 1, and mode scaled. Thanks for the help, it seems to be working now! Quote Link to comment Share on other sites More sharing options...
des99 Posted March 16, 2022 Share Posted March 16, 2022 Great! So the regular mode works - Lo7 just means "match any value between 0 and 127" and your settings just translates those 0 and 127 values into off and on - so it didn't require anything difficult at all in terms of value scaling or anything... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.