I know this is probably pretty simple but my brain has got knotted.
I use my FCB1010 footpedal to start my backtracks using a note on message, no problem there, been that way for years, but i would like to implement this.,.,. if i press the same pedal again within say , 5 seconds it then Stops playback,ie sends a different note,.,.,. one which I can designate to stop playback! then after the 5 seconds everything goes back to normal….ideas peeps?
Translator 1.1 takes the target note in. In the rules, it will either Perform “sendnote” with a parameter of 5 or 6 (which is the target note that you want to send). Depending on the value of the global variable ga (which is set or reset later).
Then it sets sets the global value of the global variable ga to a value of 1 and starts a one shot timer for 5 seconds.
Translator 1.1 is the timer and sets the value of the global variable ga back to 0 after it trips 5 seconds later.
Translator 1.2 sends the note. In this example, I use raw MIDI so I can send both a note-on and a note-off in one translator.