Hmm.  Not sure it's a bug.  The \transpose command transposes all
pitches within its scope, including the pitch in the \transposition command.
You can compensate for this by using \transposition ees rather than
\transposition bes in your example, but this seems a little confusing
and rather destroys the point of having just one \transpose command.

I'm sure others on the list will have better approaches to this problem.

Trevor

----- Original Message ----- From: "Zbyněk Burget" <[email protected]>
To: "Lilypond" <[email protected]>
Sent: Sunday, February 22, 2009 12:20 PM
Subject: \transpose and \transposition combination error(?)


Hi,
I found a (probably) error in combination \transpose and \transposition functions.
I've score:

\score {
  \new StaffGroup <<
    \new Staff {
      \key c \major
      c'1
    }
    \new Staff {
      \transposition bes
      \key d \major
      d'1
    }
  >>
  \midi {}
}

There is allright. But...

...now I need transpose all score to another key:

\score { \transpose c d {
  \new StaffGroup <<
    \new Staff {
      \key c \major
      c'1
    }
    \new Staff {
      \transposition bes
      \key d \major
      d'1
    }
  >> }
  \midi {}
}

In this case is produced midi file wrong. Only way to produce correct midi is as follows:

...
    \new Staff {
      \transposition bes
      \key d \major
      \transpose c g { d'1 }
    }
...

Is it error or feature?

Zbynek


_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user




_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to