python tools for midi

Keywords: python, music, midi, score, event representation

And the best is the non-python midicsv, which reads the midifile and dumps it into a nice table of comma-separated values.

Some python candidate packages for working with MIDI, essentially reading and parsing MIDI files but musicology can be put on top.

Mido - MIDI Objects for Python,

Mido is a library for working with MIDI messages and ports. It’s designed to be as straight forward and Pythonic as possible.


Python MIDI,,

Python, for all its amazing ability out of the box, does not provide you with an easy means to manipulate MIDI data. There are probably about ten different python packages out there that accomplish some part of this goal, but there is nothing that is totally comprehensive.

This toolkit aims to fulfill this goal.

music21: a toolkit for computer-aided musicology,

Music21 is a set of tools for helping scholars and other active listeners answer questions about music quickly and simply.

mingus,, Docs:

mingus is a package for Python used by programmers, musicians, composers and researchers to make and analyse music

Result: Pip installed all four of them without issues, music21 nags about running in python2, loaded and dumped some midi data.

Open ends: musicxml, configure music21 with all helper programs, workflows for some common conversion tasks.


tag cloud

robotics music research books AI sound intelligence feed ethology computational psychology startups jcl audio models brain organization motivation micro management jetpack funding dsp algorithms testing test synthesis sonfication smp scope risk principles musician motion mapping gt generative fail exploration evolution epistemology digital decision datadriven computing computer complexity aesthetics wyafinding visualization tools theory temporal sustainability stuff sonic-art sonic-ambience society signal-processing sequence self score robots robot-learning robot python pxp priors predictive policies philosophy perception organization-of-behavior open-world open-culture neuroscience networking network navigation minecraft midi measures math locomotion linux learning kpi internet init health hacker growth grounding graphical gaming games explanation event-representation embedding economy discrete development definitions cyberspace culture creativity computer-music compmus cognition business birds biology bio-inspiration android agents action