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 AI 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 computer-music complexity algorithms aesthetics wayfinding visualization tools theory temporal sustainability supercollider 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 message-passing 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 compmus cognition business birds biology bio-inspiration android ai agents action