Jump to content

How to set up a FIXED toggle button for a smart control?


KeithRamsey

Recommended Posts

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!

Link to comment
Share on other sites

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...
Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...