[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-bug
Subject:    Re: \keepWithTag #'midi causing note to be one octave too low
From:       Reinhold Kainhofer <reinhold () kainhofer ! com>
Date:       2010-10-27 20:53:45
Message-ID: 201010272253.45929.reinhold () kainhofer ! com
[Download RAW message or body]

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, reinhold@kainhofer.com, 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic