Signal Routing Question

May 25, 2012 at 4:20pm

Signal Routing Question

Hey I was hoping to get some advice. I am trying to design a system where when one signal is set, no other input can be can be received until that signal is released. For example: I press ‘shift + w’ to activate a toggle. I can also press ‘w’ to activate the toggle, but that is a different command. Currently, pressing ‘w’ deactivates the toggle. However I want it to be where only ‘shift + w’ can release the toggle after is is activated. Any advice would be much appreciated!

May 25, 2012 at 10:43pm

i dont see where there would be any signals in your description. where are they?

May 25, 2012 at 10:48pm

have ‘w’ send a (1) to toggle and ‘shift+w’ send a bang.

May 26, 2012 at 12:16am

Yeah i tried that, the issue was when I would hit 'w' it would untoggle the 'shift + w'. However I did solve the problem after a couple hours of slaving away at it. What I am creating is a talkback button if that helps at all. I attached a pic of what I have so far.


  1. Talkback.png
May 26, 2012 at 10:14am

in such cases it can be handy to store your toggle state in a v(alue) object. when a key press is received, retrieve the toggle state and process accordingly. store the new toggle state if it changes.

btw, ‘signal’ in max terms is an audio connection. in your case we’re talking about messages.


You must be logged in to reply to this topic.