[Top][All Lists]

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

Polyphony confuses \change

From: Jean Abou Samra
Subject: Polyphony confuses \change
Date: Tue, 3 Mar 2020 11:10:09 +0100 (CET)

   Hi again,

   In this example, LilyPond complains and \change has no effect. However,
   if you move the \change between the second and the third measure (i.e.
   one line lower), then all is fine. So, it seems that \change does not
   work right after the end of simultaneous voices.

   \version "2.21.0"

     \new Staff = "up" {
       << { c'' } \\ { c' } >>
       \change Staff = "down"
     \new Staff = "down" {

   The log contains:

   warning: Change_iterator::process (): Staff = `up':
   -:8:5: warning: cannot change `Staff' to `down': not changing to same
   context type: Staff
   \change Staff = "down"

   A workaround is to add a \grace s8  in all voices, between the end of
   simultaneous voices and the \change invocation.


   Jean Abou Samra

reply via email to

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