This project exports all MIDI tracks from Ardour into a single MIDI file.
Ardour is great for recording and editing MIDI. However, you cannot create sheet music in Ardour.
This project lets your quickly compose in Ardour, but then export to notation software via MIDI.
- Install python and add to your path.
- From the command run:
pip install mido
(see mido instructions for details). - Run
python main.py
- Open the MIDI file in your favorite notation software.
- -h, --help
- show a list of command line options
- -f FILE, --file FILE
- source FILE you would like to convert. Use Linux-style path conventions (like ~/Ardour Folder/My Session.ardour) or Windows (like C:/Users/username/Ardour Folder/My Session.ardour).
- -m, --musescore
- works around a quirk in MuseScore MIDI import. MuseScore assumes any piano part should have two tracks, so this setting adds a second track (containing a single note) after any piano track.
- -op, --omitparens
- omits any text in the track name that is inside parentheses () or square brackets [].
- -v, --verbose
- show MIDI messages and other debugging information.
- Exports the initial tempo and meter but ignores any changes later in the file.
- Export fails on any overlapping regions. For accurate results, remove any overlapping regions in your Ardour session before exporting. (Technically, only overlapping events between two regions are a problem.)
- Almost all MIDI data (beyond pitches, rhythms, and track names) is open to interpretation by your notation software. If you haven't quantized in Ardour, even the rhythms are open to interpretation.