lilypond-user
[Top][All Lists]
Advanced

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

Re: Splitting voices


From: Lukas-Fabian Moser
Subject: Re: Splitting voices
Date: Thu, 17 Feb 2022 22:08:09 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

Hi Erik,

I have a score consisting of 5 strings. Near the end all instrument voices (except the bass) split into two. The top voice being a solo, and the bottom one the rest. I have managed this for one voice, but can't figure out how to add second violin, viola, and cello in the same manner, then adding the single line bass below that. Here's what I created. 
All voices would need to be in the main group, Any help would be much appreciated.

How about:

\version "2.22.1"

\layout {
  indent = 20
  short-indent = 15
  \context {
    \Score
    \RemoveAllEmptyStaves
  }
}

\new StaffGroup <<
  \new GrandStaff \with {
    instrumentName = "Vln. I"
    shortInstrumentName = "Vln. I"
  }
  <<
    \new Staff \with {
      shortInstrumentName = solo
    } \relative {
      s1*6
      c'1 d e d
    }
    \new Staff \relative {
      c''1 | c | b | a | g | f | \break
      \set Staff.shortInstrumentName = tutti
      g | f | e | d
    }
  >>

  \new GrandStaff \with {
    instrumentName = "Vln. II"
    shortInstrumentName = "Vln. II"
  }
  <<
    \new Staff \with {
      shortInstrumentName = solo
    } \relative {
      s1*6
      c'1 d e d
    }
    \new Staff \relative {
      c''1 | c | b | a | g | f | \break
      \set Staff.shortInstrumentName = tutti
      g | f | e | d
    }
  >>

  \new GrandStaff \with {
    instrumentName = "Vla"
    shortInstrumentName = "Vla"
  }
  <<
    \new Staff \with {
      \clef alto
      shortInstrumentName = solo
    } \relative {
      s1*6
      c'1 d e d
    }
    \new Staff \with { \clef alto } \relative {
      c''1 | c | b | a | g | f | \break
      \set Staff.shortInstrumentName = tutti
      g | f | e | d
    }
  >>
  \new Staff \with {
    \clef bass
    instrumentName = "Bassi"
    shortInstrumentName = "Vc/Cb"
  }
  \relative {
    c1 d e d c d e d c d
  }
>>

Lukas


reply via email to

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