python tools for midi

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

And the best is the non-python midicsv, http://www.fourmilab.ch/webtools/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, https://github.com/olemb/mido

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

Docs: https://mido.readthedocs.io/en/latest/

Python MIDI, https://github.com/vishnubob/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, http://web.mit.edu/music21/

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

mingus, https://github.com/bspaans/python-mingus, Docs: http://bspaans.github.io/python-mingus/

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.

Comments

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