lilypond-user
[Top][All Lists]
Advanced

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

Re: change staff


From: Malte Meyn
Subject: Re: change staff
Date: Wed, 25 Jan 2017 12:07:00 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1


Am 25.01.2017 um 11:55 schrieb Gianmaria Lari:
> - Is there a simpler way to write this source code avoiding all these
> change staff?

You could use a simple music function:

l =
#(define-music-function (music) (ly:music?)
   #{
     \change Staff = "left"
     #music
     \change Staff = "right"
   #})

right = \fixed c' {
  \clef treble
  \time 2/4
  g8-4 \l g_4 e-3 \l e_3
  g8-4 \l g_4 e4-2
  \bar "|."
}

> - Is it correct writing the left hand using s2 etc. etc.?

Yes it is.




reply via email to

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