Linux Commands Examples

A great documentation place for Linux commands


manual page for midi2ly (LilyPond) 2.16.0


midi2ly [OPTION]... FILE

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!



$ midi2ly --key=-2:1 --duration-quant=32 --allow-tuplet=4*2/3 --allow-tuplet=2*4/3 foo.midi


Convert MIDI to LilyPond input.


-a, --absolute-pitches

print absolute pitches

-d, --duration-quant=DUR

quantise note durations on DUR

-D, --debug

debug printing

-e, --explicit-durations

print explicit durations

-h, --help

show this help and exit

-i, --include-header=FILE

prepend FILE to output

-k, --key=ALT[:MINOR]

set key: ALT=+sharps|-flats; MINOR=1

-o, --output=FILE

write output to FILE

-p, --preview

preview of first 4 bars

-q, --quiet

suppress progress messages and warnings about excess voices

-s, --start-quant=DUR

quantise note starts on DUR

-S, --skip

use s instead of r for rests

-t, --allow-tuplet=DUR*NUM/DEN

allow tuplet durations DUR*NUM/DEN

-V, --verbose

be verbose


show version number and exit

-w, --warranty

show warranty and copyright

-x, --text-lyrics

treat every text as a lyric

reporting bugs

Report bugs via

see also

The full documentation for midi2ly is maintained as a Texinfo manual. If the info and midi2ly programs are properly installed at your site, the command

info midi2ly

should give you access to the complete manual.

How can this site be more helpful to YOU ?

give  feedback