[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: partCombine misinterprets Solo
From: |
David Santamauro |
Subject: |
Re: partCombine misinterprets Solo |
Date: |
Wed, 23 Mar 2022 06:34:52 -0400 |
I believe this is all related to the dynamics (more to the point, the
termination: \!. If we forget the misplacement of “Solo” for a moment and
observe the behavior of \partCombine with just the dynamics, it seems to have
real difficulties with dynamics termination.
\version "2.22.2"
\include "english.ly"
vOne = \relative {
c''4 c4 c4 c4
c1\>
R1\!
R1*2
r2 r4 c4\<
c1\!
}
vTwo = \relative {
R1
R1
R1
R1*3
e'1
}
\score {
<<
\new Staff \vOne
\new Staff \vTwo
\new Staff \partCombine #'(0 . 0) \vOne \vTwo
>>
\layout { }
}
… vOne \> termination in m. 3 is ignored and instead, \partCombine moves on to
the \< in m. 5 and finally terminates in m.6
> On Mar 23, 2022, at 5:46 AM, David Santamauro <david.santamauro@gmail.com>
> wrote:
>
> From: Aaron Hill <lilypond@hillvisions.com>
>
>
> On 2022-03-23 1:52 am, David Santamauro wrote:
> > > mm 1- 3 and 3-6 are note-identical. The only difference is the
> > > decrescendo in m. 1, terminated in m. 2. I believe the terminating
> > > decrescendo in vTwo/m. 2 causes the partCombine code to think there's
> > > music in vTwo/m. 2 -- I could be wrong, but the result is wrong
> > > nevertheless.
>
> > Consider adding...
> >
> > \once \partCombineSoloI
> > ...at the beginning of the second measure.
>
> Thanks …
>
> %%%%%%
> \version "2.22.2"
>
> \include "english.ly"
>
> vOne = \relative {
> c''1\>
> \once \partCombineSoloI c1\!
> c1 \bar "||"
> c1 c1 c1
> }
> vTwo = \relative {
> e'1\> R1\! R1
> e1 R1 R1
> }
>
> \score {
> <<
> \new Staff \vOne
> \new Staff \vTwo
> \new Staff \partCombine #'(0 . 0) \vOne \vTwo
> >>
> \layout { }
> }
> %%%%%%%
>
> … yields:
> ./snippet.ly:6:7: warning: unterminated decrescendo
> c''1
> \>
> ./snippet.ly:12:6: warning: unterminated decrescendo
> e'1
> \> R1\! R1
>
> But it did force "Solo" albeit without the specified hairpin.