Two MIDI Outputs

I am trying to connect two devices to the MIDI outputs in Processing 4.
The problem is that in order to do so I have to use

String destination = "device1";
String destination = "device2";

either one will work but not together. I get, quite rightly a “Duplicate Field” error.

Is there a way round this?

I found a way to do it in Contributed libraries → The MidiBus → MultipleBuses .

It shows a whole new way of declaring busses from the normal “simple” method.

1 Like