[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Offer to help development: Convert MIDI to Lilypond

From: karl
Subject: Re: Offer to help development: Convert MIDI to Lilypond
Date: Mon, 26 Dec 2016 19:05:27 +0100 (CET)

Joe Austin:
> I am offering to help with the project of converting midi2ly from
> C to Python, or more generally converting MIDI to Lilypond.

midi2ly is part python and part c, you can find them in git repo.:
midi2ly has been in the repository since 2001 according to logs.

If external dependances are ok, you can find midi support for python
below the header "MIDI Mania" in can possible be of help.


Midi file spec. are available at:

The midi-file spec. and RP-017 could be of help.


If you are interested, I'm working on a similar tool, in perl though:

I'm using perls midi module, a simple
midi dump program is available at


I have just started writing a paper to discuss implementions and
huristics in the conversion:

I'd be happy if you want to contribute to that paper and any possible
developments around midi -> lilypond in any programming language.

>From the top of my head, on my wishful agenda is:

 collect midi files generated from different notation programs together 
   with pdf outputs from same programs

 examine and establish huristics how to identify lyrics character 

 try to reserach and define a few conventions on how the lilypond code
   should be written and structured and write a output module/function
   for each convention
   e.g. relative and absolute pich output, names of music variables
   to match the users preferences

 research how polyfonic settings are written to midi file, how do you
   identify voices from a track with multiple voices

 research and define huristics to guess voice and instrument names

 support note scaling, i.e. duble, half note values and such

among other things.

/Karl Hammar

Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
+46 173 140 57

reply via email to

[Prev in Thread] Current Thread [Next in Thread]