Input / Output

Musicxml

maelzel.core can input and output musicxml

MusicXML Input / Output
_images/notebook-musicxmlio.png

Introduction to notes, chords, voices, etc. Notation and playback

Lilypond

Lilypond can output lilypond files for further modification or use lilypond to render scores to pdf / png / svg.

Lilypond input, while not directly supported, can be achieved via lilypond -> musicxml -> maelzel, see https://python-ly.readthedocs.io/en/latest/ly.musicxml.html

MIDI

A Score can be written as a MIDI file:

TODO: example with screenshot

Direct MIDI input is not supported at the moment but you can convert any MIDI file to musicxml via a wide number of applications (MuseScore, for example) and use that as an input.