Reading a MIDI file in Python

后端 未结 6 2625
被撕碎了的回忆
被撕碎了的回忆 2021-02-20 06:26

I want to be able to read events from a MIDI file in Python. I have looked for libraries, but can\'t find one that works with my MIDI file in windows. I do not need to do anythi

6条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-20 06:29

    I once wrote a simple library in pure C to read/write Midifiles. If you want to have a look here it is: http://code.google.com/p/middl/

    It is a low level library that ease the task of dealing with midifiles but you should be familiar with the Midi file formaat to use it.

提交回复
热议问题