{"id":506,"date":"2018-01-28T02:16:12","date_gmt":"2018-01-28T02:16:12","guid":{"rendered":"https:\/\/grexblog.com\/?p=506"},"modified":"2018-01-28T02:16:12","modified_gmt":"2018-01-28T02:16:12","slug":"software-to-write-midi-files-in-python","status":"publish","type":"post","link":"https:\/\/grexblog.com\/?p=506","title":{"rendered":"Software to write MIDI files in Python"},"content":{"rendered":"<p><a href=\"https:\/\/code.google.com\/archive\/p\/midiutil\/\">https:\/\/code.google.com\/archive\/p\/midiutil\/<\/a><\/p>\n<blockquote><p><em>MIDIUtil is a pure Python library that allows one to write muti-track Musical Instrument Digital Interface (MIDI) files from within Python programs. It is object-oriented and allows one to create and write these files with a minimum of fuss.<\/em><\/p>\n<p><em>MIDIUtil isn&#8217;t a full implementation of the MIDI specification. The actual specification is a large, sprawling document which has organically grown over the course of decades. I have selectively implemented some of the more useful and common aspects of the specification. The choices have been somewhat idiosyncratic; I largely implemented what I needed. When I decided that it could be of use to other people I fleshed it out a bit, but there are still things missing. Regardless, the code is fairly easy to understand and well structured. Additions can be made to the library by anyone with a good working knowledge of the MIDI file format and a good, working knowledge of Python. Documentation for extending the library is provided. If you\u00a0don&#8217;t\u00a0have a good understanding of MIDI (and don&#8217;t want to acquire one), feel free to request an addition.<\/em><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/code.google.com\/archive\/p\/midiutil\/ MIDIUtil is a pure Python library that allows one to write muti-track Musical Instrument Digital Interface (MIDI) files from within Python programs. It is object-oriented and allows one to create and write these files with a minimum of fuss. &hellip; <a href=\"https:\/\/grexblog.com\/?p=506\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"class_list":["post-506","post","type-post","status-publish","format-standard","hentry","category-music-software"],"_links":{"self":[{"href":"https:\/\/grexblog.com\/index.php?rest_route=\/wp\/v2\/posts\/506","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/grexblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/grexblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/grexblog.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/grexblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=506"}],"version-history":[{"count":1,"href":"https:\/\/grexblog.com\/index.php?rest_route=\/wp\/v2\/posts\/506\/revisions"}],"predecessor-version":[{"id":507,"href":"https:\/\/grexblog.com\/index.php?rest_route=\/wp\/v2\/posts\/506\/revisions\/507"}],"wp:attachment":[{"href":"https:\/\/grexblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=506"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/grexblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=506"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/grexblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}