

Now, how does this interface with FL Studio? I have installed LoopBe1 Virtual Midi Driver, and so when I run the above code the LoopBe Internal Midi device shows up.

Once you know what your device name is you can do: output = mido.open_output(names) To see what midi devices are available to output too. I believe this assumes that a default device is set however, so you may need to run: names = mido.get_output_names() I was just looking to accomplish your exact task and came across the python "mido library".
