简体   繁体   中英

Output midi events real-time in windows

In python on windows, how do I output midi-events in real-time, so that they are heard?

There exist several libraries to parse midi files, or to write midi files. What I need is not to play a static midi file, but to generate commands on the fly.

python-rtmidi is a good library for this. Real-time midi in and out, works on Mac/Win/Linux platforms. The included samples are a good place to start for your purposes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM