\partcombine and \setTextCresc

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

\partcombine and \setTextCresc

Frédéric Bron
In the following example, the crescendo has airpins instead of text.
Everything is fine if \partcombine is replaced by polyphony <<  ... \\
... >>.

\version "2.6.4"
\include "english.ly"

\score {
        \partcombine
        {
                \setTextCresc
                r4 c'\< r d'
                e'\!\f
        }
        {
                R1*1
                c'4\f
        }
}



_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: partcombine and setTextCresc

Mats Bengtsson-6
This isn't surprising, since the part combiner keeps shuffling
different notes and rests to different Voice contexts, so it's
not easy for LilyPond to realize which voice the \setTextCresc
setting should be applied to.

The easiest solution is to modify the definition of this macro, so it
applies to the full Staff. For example, by adding the following to the
top of your file:

setTextCresc = {
    \set Staff.crescendoText = \markup { \italic "cresc." }
    \set Staff.crescendoSpanner = #'dashed-line
}

   /Mats

Quoting Frédéric Bron <[hidden email]>:

> In the following example, the crescendo has airpins instead of text.
> Everything is fine if \partcombine is replaced by polyphony <<  ...
> \\ ... >>.
>
> \version "2.6.4"
> \include "english.ly"
>
> \score {
>        \partcombine
>        {
>                \setTextCresc
>                r4 c'\< r d'
>                e'\!\f
>        }
>        {
>                R1*1
>                c'4\f
>        }
> }
>
>
>
> _______________________________________________
> bug-lilypond mailing list
> [hidden email]
> http://lists.gnu.org/mailman/listinfo/bug-lilypond
>





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