Michael Sheldon's Stuff

Michael Sheldon (mike at mikeasoft dot com)

March 19, 2010

GStreamer MusicXML2MIDI Release 0.1
Mike @ 3:55 pm

A few months back I started writing a GStreamer element for converting MusicXML into MIDI, the eventual goal of this from my perspective is to allow for score editing inside Jokosher (without Jokosher having to deal with all the pain of the MIDI format itself). It’s far from being perfect and still has trouble with more complicated files, but hopefully it’ll be of use to some people in its current state so I’m releasing version 0.1.

Example Uses

  • Synthesising MusicXML directly:
    gst-launch filesrc location=song.xml ! musicxml2midi ! wildmidi ! audioconvert ! autoaudiosink
  • Generating a MIDI file:
    gst-launch filesrc location=song.xml ! musicxml2midi ! filesink location=song.mid
  • Generating an OGG Vorbis file:
    gst-launch filesrc location=song.xml ! musicxml2midi ! wildmidi ! audioconvert ! vorbisenc ! oggmux ! filesink location=song.ogg

Running the OGG Vorbis pipeline on the twovoices.xml test file produces the following output:

Download

MusicXML2MIDI 0.1 – Source Package
MusicXML2MIDI 0.1 – Debian/Ubuntu Package for 32-bit systems
MusicXML2MIDI 0.1 – Debian/Ubuntu Package for 64-bit systems

Alternatively there’s a PPA available: https://launchpad.net/~gst-musicxml2midi/+archive/ppa/

Contribute

All the source code is stored in a git repository: http://github.com/Elleo/gst-musicxml2midi. If you’d like to help out simply clone the repository and start hacking away, once you’re happy with your changes you can propose your branch for merging with my own.


5 Comments »

  1. nice work …….. 🙂

    Comment by sreerenj — March 19, 2010 @ 6:53 pm

  2. […] also been testing the XML I’ve generated on the MusicXML2Midi plugin(which can be found here(Elleo(my mentor)’s blog. once you have it installed you can use the following to get it to work (you’ll probably need […]

    Pingback by GSoC – Beginning Music XML « Redache’s Weblog — May 3, 2010 @ 3:14 am

  3. […] output some simple MusicXML based on an internal model (which can then be rendered to MIDI via the musicxml2midi element), this will then later be connected to a score editing UI, with the potential for multiple […]

    Pingback by Michael Sheldon's Stuff » Jokosher Summer of Code Projects — June 2, 2010 @ 4:07 pm

  4. […] Grab the MusicXML2Midi plugin from Elleo’s blog. […]

    Pingback by Weekly Report No 3 – Feel the Source « Redache's Weblog — June 10, 2010 @ 9:19 pm

  5. […] Grab the MusicXML2Midi plugin from Elleo’s blog. […]

    Pingback by Weekly Report No 3 – Feel the Source | Redache's Blog — January 6, 2011 @ 5:43 am

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress