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.
- 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:
Alternatively there’s a PPA available: https://launchpad.net/~gst-musicxml2midi/+archive/ppa/
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.