Conductor score - partcombine problems

Begonnen von Swetom2011, Sonntag, 3. Juli 2022, 09:00

« vorheriges - nächstes »

Swetom2011

So, the instrument parts are ready and fine but review ongoing.  At the same time, I'm setting up the conductor score.  My files are organised in instrumentMusic.ily files including music and dynamics.  A top level instrument.ly file generates the individual sheet music.  In addition, there are a number of support files.

In some cases, to save some space, I put two instruments on one Staff.

A comment regarding \partcombine.  It took some time to realise that this has now been changed to \partCombine with a capital "C" with LilyPond version 2.22.1 and higher.  Frescobaldi, version 3.2, which I use, does not offer this when you start writing \partcCombine but only with a lower case "c".  Using \partcombine with a lower case "c", will not generate an error message but just two single staffs.

In code, see also the attachments, I played with 3 options, 1) the single instruments, 2) partCombine, 3) standard polyphony and 4) using voices.  Of these, partCombine seems to be the most suitable for me.

With this, I've (at least) two other problems
1.   Defining a decrescendo that ends on a rest. As I've written it in the code below, I have to use { s4\> s s r \p } for OboeOne and { s4\> s s s\p }
2.   The f to p decrescendo should only be shown below in the partCombine example

Here is the code
\version "2.22.1"


OboeOne = \relative c'' {
  \override Hairpin.minimum-length = #10
  << b2. \f { s4\> s s r \p }>>
  R1
  c2 \mf f,4 e
  c4 d e f
  b2. r4
}



OboeTwo = \relative c'' {
  \override Hairpin.minimum-length = #10
  << e2. \f { s4\> s s s\p }>>
  % for some reason I cannot use << e2. \f { s4\> s s r \p }>> here
  R1
  c2 \mf f,4 e
  a4 b c d
  b2. r4
}



%%**************************************
\markup "1) Oboe 1 (OboeOne) and Oboe 2 (OboeTwo) generated  separately"
\new Staff \OboeOne
\new Staff \OboeTwo

\markup "2) Here I'm using \partcombine with capital C"
\new Staff \partCombine \OboeOne \OboeTwo


%%**************************************
\markup "3) Using <<\OboeOne \\ \OboeTwo>>, i.e. standard polyphony"
<<\OboeOne \\ \OboeTwo>>

%%**************************************

\markup "4) Using new Voice = 'first' etc."
\new Staff<<
  \new Voice = "first"
  \stemUp \OboeOne
 
  \new Voice = "second"
  \OboeTwo
>>

Swetom2011

I tried another solution using Voices, see code below.  I'ts much better but not perfect or error free. Are there any other ideas how to solve this?

Apart from the error message, the conversion is completed successfully.

  • The 1/4 rest at the beginning is placed too high
  • I get one error message
    AppData/Local/Temp/frescobaldi-yxscbdy1/tmpmzzzgaxp/Decresendo.ly:32:21: warning: too many colliding rests
          \voiceOne e2.
                        r4
  • I have to set the length of the hairpin otherwise i's too short.  How do you revert the hairpin to it's standard value?



\version "2.22.1"

OboeOne = \relative c'' {
  \override Hairpin.minimum-length = #8
%  << b2. \f { s4\> s s r \p }>>
  <<
    \new Voice {
      \voiceOne b2. r4
    }
    {
      \voiceTwo s2. \f \> s4 \p \oneVoice
    }
  >>
 

  R1
  c2 \mf f,4 e
  c4 d e f
  b2. r4
}

OboeTwo = \relative c'' {
  \override Hairpin.minimum-length = #8
%  << e2.  \f { s4\> s s r \p }>>
 
  <<
    \new Voice {
      \voiceOne e2. r4
    }
    {
      \voiceTwo s2. \f \> s4 \p \oneVoice
    }
  >>
 
  R1
  c2 \mf f,4 e
  a4 b c d
  b2. r4
}

Du darfst diesen Dateianhang nicht ansehen.