lilypond-user
[Top][All Lists]
Advanced

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

Re: spacing staff...can it be done?


From: Kieren MacMillan
Subject: Re: spacing staff...can it be done?
Date: Sat, 14 Dec 2024 16:11:23 -0500

Hi Dirck,

> Is there a better way to set up voices in a template? 

One one option is included below.

Hope it helps!
Kieren.

%%%  SNIPPET BEGINS
\version "2.23.82"

rightOne = {
  c''8 d'' e'' d'' c'' d'' e'' d''
}

rightTwo = {
  e'8 f' g' f' e' f' g' f'
}

leftOne = {
  \clef bass
  g8 a g a g a g a
}

leftTwo = {
  \clef bass
  c8 b, c b, c b, c b,
}

\score {
  %%  PIANO
  \new PianoStaff <<
    %%  RH
    \new Staff = "right" \with {
      midiInstrument = "acoustic grand"
    }
    \voices 1,2 <<
      { \voiceOne \rightOne }
      \\
      \new Voice { \voiceTwo \rightTwo }
    >>
    %%  LH
    \new Staff = "left" \with {
      midiInstrument = "acoustic grand"
    }
    {
      \voices 1,2 <<
        { \voiceOne \leftOne }
        \\
        \new Voice { \voiceTwo \leftTwo }
      >>
    }
  >>



reply via email to

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