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