In order to read or write to midi devices you need to have a "mido backend" installed. Thus, when your python program writes to the device FL Studio reads it as midi input!Īlas, I did have some trouble setting up mido on my windows machine and so I thought I would give you a pointer. Similarly, in FL Studio I have enabled the LoopBe Internal MIDI device. 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".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |