[icon]

GNU LilyPond

Welcome to the home of the GNU Music Typesetter

What is LilyPond
General information
Simple examples
Complex examples
Download
GNU/Linux binaries
Windows
Source code
Documentation
Tutorial
Manual
Glossary
other ...

Support
Mailing lists
Search
WikiWiki
FAQs

External sites
lilypond.org/development
lilypond.org/stable
ftp.lilypond.org
Mutopia
Other music online

Node:midi2ly, Next:, Up:Conversion tools



midi2ly

Midi2ly translates a MIDI input file to a LilyPond source file. MIDI (Music Instrument Digital Interface) is a standard for digital instruments: it specifies cabling, a serial protocol and a file format.

The MIDI file format is a de facto standard format for exporting music from other programs, so this capability may come in useful when you want to import files from a program that has no converter for its native format.

It is possible to record a MIDI file using a digital keyboard, and then convert it to .ly. However, human players are not rhythmically exact enough to make a MIDI to LY conversion trivial. midi2ly tries to compensate for these timing errors, but is not very good at this. It is therefore not recommended to use midi2ly for human-generated midi files. Correcting the quantization mistakes of the human player takes a lot of time.

Hackers who know about signal processing are invited to write a more robust midi2ly.

Invoking midi2ly


        midi2ly [OPTION]... MIDI-FILE

Options

-b, --no-quantify,
Write exact durations, e.g.: `a4*385/384'.
-D, --debug,
Print lots of debugging stuff.
-h, --help,
Show a summary of usage.
-I, --include=DIR,
Add DIR to search path.
-k, --key=ACC[:MINOR],
Set default key. ACC > 0 sets number of sharps; ACC < 0 sets number of flats. A minor key is indicated by ":1".
-n, --no-silly,
Assume no plets or double dots, assume smallest (reciprocal) duration 16.
-o, --output=FILE,
Set FILE as default output.
-p, --no-plets,
Assume no plets.
-q, --quiet,
Be quiet.
-s, --smallest=N,
Assume no shorter (reciprocal) durations than N.
-v, --verbose,
Be verbose.
-w, --warranty,
Show the warranty with which midi2ly comes. (It comes with NO WARRANTY!)
-x, --no-double-dots,
Assume no double dotted notes.

Report bugs to bug-lilypond@gnu.org.

Written by janneke@gnu.org.

Go back to index of LilyPond.

Please send GNU LilyPond questions and comments to lilypond-user@gnu.org.

Please send comments on these web pages to lilypond@packages.debian.org

Copyright (c) 1997--2001 Han-Wen Nienhuys and Jan Nieuwenhuizen.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.


This page was built from LilyPond-1.4.12 (stable-branch) by

Anthony Fok <lilypond@packages.debian.org>, Tue Mar 12 01:35:39 2002 HKT.