bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: \keepWithTag #'midi causing note to be one octave too low


From: James Bailey
Subject: Re: \keepWithTag #'midi causing note to be one octave too low
Date: Wed, 27 Oct 2010 22:29:42 +0200

On Oct 27, 2010, at 9:53 PM, Ed wrote:

>> I'm not top posting.
> 
> Tiny example:
> 
> \include "english.ly"
> 
> %\version "2.12.3"
> 
> \score {
> 
> %  \keepWithTag #'notate
>   \keepWithTag #'midi
> 
>   \relative c' {
>      \clef bass
>      bf8 a16 g   a8 d,   g ef c d
>      \tag #'notate {g,1 \fermata} 
>      \tag #'midi {g,1.}
>   }
> 
> \layout { }
> \midi { }
> 
> }
> 
> 
> Behavior:
> 
> When the "\keepWithTag #'notate" line is active alone, both midi and layout
> outputs are correct.
> 
> When the  "\keepWithTag #'midi"  line is active alone, the final note is one
> octave too low.  But, if the "\tag #'notate {g,1 \fermata}" line is commented
> out, then the final note is in the correct octave.  The above example is the
> last measure of a Bach piece with the "notate" "midi" tags used to
> include/exclude trill notes, and all the other instances are working 
> correctly.
> 
> Thanks, LilyPond is a great piece of software.

I don't know if this is necessarily a problem. The notes are relative to the 
preceeding note. Since the note directly before is in the octave you want, 
entering g, puts the note yet another octave lower. The octavation is relative 
the directly precedent entered note, regardless of whether that note is typeset 
or not.
example:
\score {

%  \keepWithTag #'notate
  \keepWithTag #'midi

  \relative c' {
     \clef bass
     bf8 a16 g   a8 d,   g ef c d
     \tag #'notate {g,1 \fermata} 
     \tag #'midi {g,1.}
  }

\layout { }
\midi { }

}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]