3 Octaves -- how to do pitches
7 The LilyPond input language, Mudela (help, silly name), should be easy
8 to read and write. In my experience Mudela is already quite convenient
9 for entering music. Every time i've entered a substantial piece of music,
10 however, i found that i made quite a few mistakes. The MIDI output helps
11 a lot with locating and correcting the errors. There's one type of error
12 that seems to be frequent, stubborn and hard to catch, and that's the
13 octavation error. The relative octave feature is an attempt to make
14 Mudela a bit easier to write. In addition, this featuer makes it harder
15 to make octavation mistakes, yet if you made one, its a lot simpler to find
23 forget the old "\octave c';" command
26 forget the old octave boundaries with octaves c .. c'
30 You start the relative octave mode (for now) with the command
34 From then on, the pitch of a note will be the closest to the last one,
35 assuming that large intervals are a lot more rare than small ones.
36 Thus, you can enter a scale without using octavation quotes:
40 the last c being an octave higher than the first. If you have to
41 enter an interval that is greater than a quart, you must specify
42 whether the pitch goes up, using post-quotes:
47 or down, using pre-quotes:
52 Although it is not necesary, and thus redundant, information to specify
53 the direction of smaller intervals, you are allowed to do so:
64 To convert a piece of music from the old absolute-octave notation to
65 relative octaves, lilypond provides the B<-f, --find-quarters> feature
66 to locate all big intervals in your music (sorry, fully automated convert
69 You'll do something like this:
71 lilypond -f los-toros-oboe 2>&1 | tee intervals
73 los-toros-oboe.ly: 59: warning: Interval greater than quart, relative: d':
76 los-toros-oboe.ly: 100: warning: Interval bigger than quart, relative: d':
81 Then you load a copy of the original mudela file in your favourite editor,
82 and let it parse the 'error file' F<intervals>. First you remove all
83 octavation quotes. Then, jumping from warning to warning, you enter quotes
84 as suggested by LilyPond.
88 See F<mutopia/ltor.ly>.