lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 645 in lilypond: \transposition + \partcombine


From: lilypond
Subject: Re: [Lilypond-auto] Issue 645 in lilypond: \transposition + \partcombine = wrong MIDI output
Date: Mon, 16 Sep 2013 13:08:32 +0000


Comment #13 on issue 645 by address@hidden: \transposition + \partcombine = wrong MIDI output
http://code.google.com/p/lilypond/issues/detail?id=645

A variation of the original problem is the following:
\version "2.16.0"

untransposed = \relative c'' {
  c4 c d d
}

transposed = \relative c'' {
  % Setting the number of repetitions to 1 fixes the problem in the
  % MIDI output.  With the number set to 2, the transposition invades
  % the "untransposed" Staff in MIDI.

  \repeat unfold 2 \transposition bes

  R1
}

\score {
  <<
    \new Staff = \untransposed
    \new Staff = \partcombine \transposed \transposed
  >>
  \layout{ }
  \midi{ }
}

\transposition bes essentially is the same as
\set Staff.instrumentTransposition = #{ bes #}
and that is
  (make-music
    'ContextSpeccedMusic
    'context-type
    'Staff
    'element
    (make-music
      'PropertySet
      'value
      (ly:make-pitch -1 6 -1/2)
      'symbol
      'instrumentTransposition)))

It is not clear to me why this would migrate out of the original Staff, but then I don't understand what's happening in lily/performer-group.cc at all. No idea whether that's involved as well.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

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