Loading...
Logo
Processing Forum
Hello,

I noticed a difference between running a sketch from the GUI and as an exported application from the command line. Whatever MIDI library I use (javax.sound.midi, the MidiBus, ...), some MIDI devices are missing in the first case.

When I run the Basic example from MidiBus from the GUI, the output is:
Available MIDI Devices:
----------Input----------
[0] "Real Time Sequencer"
----------Output----------
[0] "UX16 [hw:1,0]"
[1] "Real Time Sequencer"
When I export the example as an application and run it from bash, I get:
Available MIDI Devices:
----------Input----------
[0] "UX16 [hw:1,0,0]"
[1] "Real Time Sequencer"
----------Output----------
[0] "Gervill"
[1] "UX16 [hw:1,0,0]"
[2] "Real Time Sequencer"
Why? Can I get all MIDI devices to be accessible when running a sketch from the GUI?

Thanks.