MIDI DESIGNER
The only MIDI controller for iPad, iPhone, and Mac


Talk to other MIDI Designer users about MIDI Designer, iOS MIDI and related topics. Or share layouts, pages, and ideas.

Check out our Facebook Group.

Of course, if you want to send us an email, feel free.

Open problem reports

Summary of user requests
Hardware pedalboard toggle to momentary - MIDI Designer Q&A
0 votes
in Basic by gurbz (2.5k points)
I set up for the CC messages also een knob+ button group. That works but: the hardware pedalboard uses a toggle switches so when activated you still have to press another time to deactivate the switch.
I am an idiot, use streambyter input rules!

B0 46-54 00 = XX XX 7F

Everything is now 7F.
Not an idiot, you are solving the most complex tooling problems and it’s impressive!
I meant: why did I not think of this before! Agreed: not an idiot. Nic from audeonic taught quite a lot about streambyter, he is fantastic! Streambyter ‘s gonna be more present in the upcoming totally revised Katana sysex layout.

2 Answers

0 votes

Use streambyter to modify incoming messages


MIDI Target Manufacturer(s): Original, Generic

Here is my Stream Byter script for input messages.

#all CC 70-84 toggle switches (standard art x-15 footcontrol in effect mode) OFF (00) become ON (7F) 
#so every time I press the pedalboard it responds instead of requiring two presses for a response;

B0 46-54 00 = XX XX 7F

# all cc 70 - 84 send an OFF message after sending ON,  which is typically momentary (127-000/7F-00)
IF M0 == B0
  IF M1 > 45
    IF M1 < 55
      IF M2 == 7F
        SND M0 M1 00
      END
    END
  END
END

by gurbz (2.5k points)
edited by MIDI Designer Team (Dan)
Nic created even slicker code: http://audeonic.boards.net/thread/694/simple-toggle-momentary-script-art?page=1&scrollTo=4225

B0 46-54 = XX XX 7F
B0 46-54 = XX XX 00 +C
0 votes

Slick streambyter input rule for toggle —-> momentary (audeonic’s answer)


MIDI Target Manufacturer(s): Original, Generic

B0 46-54 = XX XX 7F

B0 46-54 = XX XX 00 +C

by gurbz (2.5k points)
...