6

Essentially, I'm trying to create MIDI's from scratch and put them online. I'm open to different languages, but prefer to use Python (one of the 2's, if that makes any difference.) and was wondering what library I should use. Thanks in advance!

Nate
  • 63
  • 1
  • 3
  • 1
    duplicate of [Simple, Cross Platform MIDI Library for Python](http://stackoverflow.com/questions/569321/simple-cross-platform-midi-library-for-python) – agf Sep 01 '11 at 20:39

2 Answers2

9

Looks like this is what you are looking for:

Simple, Cross Platform MIDI Library for Python

MidiUtil can create MIDI files in python.

Community
  • 1
  • 1
tylerthemiler
  • 5,496
  • 6
  • 32
  • 40
  • Can it do multiple instruments? Sorry, I'm a complete noob to sound/music programming. – Nate Sep 01 '11 at 23:28
  • Literally the first paragraph of the website I posted, "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." :PP – tylerthemiler Sep 02 '11 at 00:32
-2

Perl has the module MIDI::Simple. I remember an article about it in the now extinct The Perl Journal:

http://www.foo.be/docs/tpj/issues/vol4_1/tpj0401-0018.html

Dov Grobgeld
  • 4,783
  • 1
  • 25
  • 36