4 @chapter Converting to LilyPond format.
19 Midi2ly translates a MIDI input file to a LilyPond source file. MIDI
20 (Music Instrument Digital Interface) is a standard for digital
21 instruments: it specifies cabling, a serial protocol and a file format.
23 The MIDI file format is a de facto standard format for exporting music
24 from other programs, so this capability may come in useful when you want
25 to import files from a program that has no converter for its native
28 It is possible to record a MIDI file using a digital keyboard, and then
29 convert it to @file{.ly}. However, human players can not rhythmically
30 exact enough to make a MIDI to .ly conversion trivial. midi2ly tries to
31 compensate for these timing errors, but is not very good at this. It is
32 therefore not recommended to use midi2ly for human-generated midi
33 files. Correcting the quantization mistakes of the human player takes a
36 Hackers who know about signal processing are invited to write a more
39 @subsection Invoking midi2ly
42 midi2ly [OPTION]... MIDI-FLIE
45 @unnumberedsubsec Options
48 @item -b, --no-quantify,
49 Write exact durations, e.g.: `a4*385/384'.
51 Print lots of debugging stuff.
53 Show a summary of usage.
54 @item -I, --include=@file{DIR},
55 Add DIR to search path.
56 @item -k, --key=ACC[:MINOR],
57 Set default key. ACC > 0 sets number of sharps; ACC < 0 sets number
58 of flats. A minor key is indicated by ":1".
60 Assume no plets or double dots, assume smallest (reciprocal) duration 16.
61 @item -o, --output=@file{FILE},
62 Set @file{FILE} as default output.
67 @item -s, --smallest=N,
68 Assume no shorter (reciprocal) durations than N.
72 Show the warranty with which midi2ly comes. (It comes with @strong{NO WARRANTY}!)
73 @item -x, --no-double-dots,
74 Assume no double dotted notes.
78 Report bugs to @email{bug-gnu-music@@gnu.org}.
81 Written by @email{Jan Nieuwenhuizen, janneke@@gnu.org}.
88 ETF (Enigma Transport Format) is a format used by Coda Music
89 Technology's Finale product. This program will convert part of an ETF
90 file to a ready-to-use LilyPond file.
92 @subsection Invoking etf2ly
96 etf2ly [OPTION]... ETF-FILE
99 Convert ETF to LilyPond.
101 @unnumberedsubsec Options
105 @item -o,--output=FILE
106 set output filename to FILE
114 Known: articulation scripts are buggy. Empty measures confuse etf2ly.
115 Report bugs to @email{bug-gnu-music@@gnu.org}.
117 Written by @email{Han-Wen Nienhuys,hanwen@@cs.uu.nl}.
120 Report bugs to @email{bug-gnu-music@@gnu.org}.
125 ABC is a fairly simple ASCII based format. It is described at
126 @uref{http://www.gre.ac.uk/~c.walshaw/abc2mtex/abc.txt}.
128 @subsection Invoking abc2ly
131 abc2ly [OPTION]... ABC-FILE
134 Convert ABC to LilyPond.
136 @unnumberedsubsec Options
140 @item -o,--output=FILE
141 set output filename to FILE
148 The ABC standard is not very "standard". For extended features
149 (eg. polyphonic music) different conventions exist.
152 Written by @email{Han-Wen Nienhuys,hanwen@@cs.uu.nl}.
155 Report bugs to @email{bug-gnu-music@@gnu.org}.
160 PMX is a Musixtex preprocessor written by Don Simons, see
161 @uref{http://icking-music-archive.sunsite.dk/Misc/Music/musixtex/software/pmx/}.
163 Report bugs to @email{bug-gnu-music@@gnu.org}.
165 @subsection Invoking pmx2ly
168 pmx2ly [OPTION]... PMX-FILE
171 Convert PMX to LilyPond.
173 @unnumberedsubsec Options
178 @item -o,--output=FILE
179 set output filename to FILE
184 Report bugs to @email{bug-gnu-music@@gnu.org}.
186 Written by @email{Han-Wen Nienhuys,hanwen@@cs.uu.nl}.
192 Musedata (@uref{http://www.musedata.org/}) is an electronic library of
193 classical music scores, currently comprising about 800 composition
194 dating from 1700 to 1825. The music is encoded in so-called Musedata
196 (@uref{http://www.ccarh.org/publications/books/beyondmidi/online/musedata}).
197 musedata2ly converts a set of musedata files to one .ly file, and will
198 include a @code{\header} field if a @file{.ref} file is supplied
200 @subsection Invoking musedata2ly
203 musedata2ly [OPTION]... MUSEDATA-FILE
206 Convert Musedata to LilyPond.
208 @unnumberedsubsec Options
213 @item -o,--output=@var{file}
214 set output filename to @var{file}
217 @item -r,--ref=@var{reffile}
218 read background information from ref-file
222 Report bugs to @email{bug-gnu-music@@gnu.org}.
224 Written by @email{Han-Wen Nienhuys,hanwen@@cs.uu.nl}.
230 MUP (Music Publisher) is a shareware music notation program by Arkkra
231 Enterprises. It is also the name of the input format. Mup2ly will
232 convert part of a Mup file to a ready-to-use LilyPond file.
234 @subsection Invoking mup2ly
237 mup2ly [OPTION]... MUP-FILE
240 Convert Mup to LilyPond.
242 @unnumberedsubsec Options
246 show what constructs are not converted, but skipped.
247 @item D, --define=@var{NAME}[=@code{EXP}]
248 define macro @var{NAME} with opt expansion @code{EXP}
249 @item -E,--pre-process
250 only run the pre-processor
253 @item -o,--output=FILE
254 write output to @var{FILE}
258 print warranty and copyright. Mup2ly comes with absolutlely @strong{NO WARRANTY}.
264 Currently, only plain notes (pitches, durations), voices and staffs are
267 Written by @email{Jan Nieuwenhuizen,janneke@@gnu.org}, based on pmx2ly.
269 Report bugs to @email{bug-gnu-music@@gnu.org}.