[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \keepWithTag #'midi causing note to be one octave too low
From: |
Reinhold Kainhofer |
Subject: |
Re: \keepWithTag #'midi causing note to be one octave too low |
Date: |
Wed, 27 Oct 2010 22:53:45 +0200 |
User-agent: |
KMail/1.13.5 (Linux/2.6.35-22-generic; KDE/4.5.2; i686; ; ) |
Am Mittwoch, 27. Oktober 2010, um 21:53:10 schrieb Ed:
> Tiny example:
[...]
> \relative c' {
> \clef bass
> bf8 a16 g a8 d, g ef c d
> \tag #'notate {g,1 \fermata}
> \tag #'midi {g,1.}
The pitch values are evaluated before the tag-killing routine comes in.
Pitches in \relative mode are always relative to the previous note written,
even if that previous note will later be removed by a \keepWithTag (or
\removeWithTag). So, you are going one octave down in the #'notate section and
then another octave in the #'midi section... You don't need the octave-down in
the second tag.
Cheers,
Reinhold
--
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* LilyPond, Music typesetting, http://www.lilypond.org