if toggle is pressed, to execute one thing, if not, to execute another.

Feb 19, 2013 at 9:06pm

if toggle is pressed, to execute one thing, if not, to execute another.

Hello.
i have a midiin that is connected to a midiparse that prints it’s data.

i want to have a record button that collects information from the midiparse. but i want it to collect information only when the record toggle is pressed. how can i do that? how can i execute something only when the toggle button is pressed ?

thanks

#66608
Feb 19, 2013 at 9:15pm

Check out the gate object.

#239733
Feb 20, 2013 at 7:48pm

thank you!

#239734
Feb 22, 2013 at 4:06pm

i found only gate~ that supposed to work with sound signals and not with regular numbers as far as i understand. i can’t quite understand how to work with it.

#239735
Feb 22, 2013 at 4:06pm

oh ok saw the gate now.. donno why didn’t see it before. let ya know how it works out

#239736
Feb 22, 2013 at 4:17pm

ok works great thanks! :)

#239737

You must be logged in to reply to this topic.