Event_Sender, send all

Quote

This one is especially useful in conjunction with EVENT_RECEIVER for converting or just 1:1 forwarding incoming MIDI event values.

I’m trying to code a simple switcher in NG and find myself stuck. 4 buttons just select a synth on a channel, but I can’t find the Event_Sender setting that will allow all midi events to pass through as stated in the .NGC document. 

I’m no NG expert, but what is the exact event/ the parameters used? Do you set specific ports for example? Maybe post the config and somebody could help.

#attempt to make a small synth switcher RESET\_HW LCD "%C@(1:1:1)vo.B vo.K iPad syn4" #setup encoder ENC n= 1 sr= 1 pins=7:6 type=detented3 #disable router nodes ROUTER n= 1 src\_port=IN1 src\_chn=0 dst\_port=OUT1 dst\_chn=0 ROUTER n= 2 src\_port=IN1 src\_chn=0 dst\_port=OUT3 dst\_chn=0 ROUTER n= 3 src\_port=IN1 src\_chn=0 dst\_port=OUT4 dst\_chn=0 ROUTER n= 4 src\_port=IN2 src\_chn=0 dst\_port=OUT3 dst\_chn=0 ROUTER n= 5 src\_port=IN2 src\_chn=0 dst\_port=OUT4 dst\_chn=0 ROUTER n=10 src\_port=SPI4 src\_chn=0 dst\_port=OUT1 dst\_chn=0 ROUTER n=11 src\_port=SPI4 src\_chn=0 dst\_port=OUT1 dst\_chn=0 ROUTER n=12 src\_port=SPI4 src\_chn=0 dst\_port=OUT1 dst\_chn=0 ROUTER n=13 src\_port=USB1 src\_chn=0 dst\_port=OUT1 dst\_chn=0 ROUTER n=14 src\_port=USB1 src\_chn=0 dst\_port=OUT2 dst\_chn=0 ROUTER n=15 src\_port=USB1 src\_chn=0 dst\_port=OUT3 dst\_chn=0 ROUTER n=16 src\_port=USB1 src\_chn=0 dst\_port=OUT4 dst\_chn=0 #get midi events from port USB1 EVENT\_RECEIVER id=1 fwd\_id=SENDER:1 type=NoteOn chn=1 key=any ports=1000000000000000 #trigger different sections EVENT\_BUTTON id=5 hw\_id=5 radio\_group=1 button\_mode=Toggle range=1:1 value= 1 label="@(1:1:2) \* o o o " EVENT\_BUTTON id=6 hw\_id=6 radio\_group=1 button\_mode=Toggle range=2:2 value= 0 label="@(1:1:2) o \* o o " EVENT\_BUTTON id=3 hw\_id=3 radio\_group=1 button\_mode=Toggle range=3:3 value= 0 label="@(1:1:2) o o \* o " EVENT\_BUTTON id=4 hw\_id=4 radio\_group=1 button\_mode=Toggle range=4:4 value= 0 label="@(1:1:2) o o o \* " #send midi events to port usb1 if button pressed EVENT\_SENDER id=1 if\_equal=Button:5:1 type=NoteOn chn=1 key=any ports=1000000000000000 EVENT\_SENDER id=1 if\_equal=Button:6:2 type=NoteOn chn=2 key=any ports=1000000000000000 EVENT\_SENDER id=1 if\_equal=Button:3:3 type=NoteOn chn=3 key=any ports=1000000000000000 EVENT\_SENDER id=1 if\_equal=Button:4:4 type=NoteOn chn=4 key=any ports=1000000000000000 

This is my staring point. It works but the type=NoteOn parameter in the EVENT_SENDER line needs replacing with something to allow all midi events to pass. I’m sure I’m missing something simple here