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: Dirck Nagy
Subject: Re: spacing staff...can it be done?
Date: Sun, 15 Dec 2024 08:07:19 +0000

thank you, Kieren!

I'm trying it out.

dirck

From: Kieren MacMillan <kieren@kierenmacmillan.info>
Sent: Saturday, December 14, 2024 3:11 PM
To: Dirck Nagy <dnagy@uwlax.edu>
Cc: Lilypond-User Mailing List <lilypond-user@gnu.org>; dircknagy@hotmail.com <dircknagy@hotmail.com>
Subject: Re: spacing staff...can it be done?
 

Caution: *External Email: Use caution responding, opening attachments, or clicking on links.*


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]