bug-lilypond
[Top][All Lists]
Advanced

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

\transpose should not affect \transposition


From: Trevor Daniels
Subject: \transpose should not affect \transposition
Date: Mon, 23 Feb 2009 09:26:40 -0000


The \transpose command transposes all pitches within its scope, including the pitch supplied to the \transposition command. This causes incorrect MIDI output for transposing instruments. The pitch supplied to \transposition is a constant determined by the instrument and should never be transposed.

\score {
 \transpose c d {
  \new StaffGroup <<
    \new Staff {
      \key c \major
      c'1
    }
    \new Staff {
      \transposition bes
      \key d \major
      d'1
    }
  >>
 }
 \layout {}
 \midi {}  % Should be a unison D, but is not
}

Trevor





reply via email to

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