[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Used piano template, but need extra melody staff
From: |
Aaron Hill |
Subject: |
Re: Used piano template, but need extra melody staff |
Date: |
Sat, 09 Nov 2019 14:21:47 -0800 |
User-agent: |
Roundcube Webmail/1.3.8 |
On 2019-11-09 1:49 pm, Robin Bannister wrote:
Stacy Fatemi wrote:
.... but halfway through notating the song I realized
that I actually need a second melody staff. Maybe a rookie question,
but
how do I add one?
Extend your PianoStaff
\new PianoStaff <<
\new Staff = "upper" \upper
\new Staff = "lower" \lower
>>
to include a third staff, for example:
\new PianoStaff <<
\new Staff = "upper" \upper
\new Staff = "middle" \middle
\new Staff = "lower" \lower
>>
I am uncertain that approach does what was being asked. It adds a new
staff *between* the piano hands, rather than add a new staff like the
one for the existing melody. Consider this alternate pattern:
%%%%
\version "2.19.83"
common = { \key g \major \time 4/4 }
descant = \fixed c'' { \clef treble \common b,4 c d e }
melody = \fixed c' { \clef treble \common g4 a b c' }
upper = \fixed c' { \clef treble \common <d g b>2 <g b d'> }
lower = \fixed c { \clef bass \common g,4 d g2 }
\score {
<<
\new Staff \descant
\new Staff \melody
\new PianoStaff <<
\new Staff \upper
\new Staff \lower
>>
>>
\layout { \context { \Score \RemoveEmptyStaves } }
}
%%%%
-- Aaron Hill