lilypond-user
[Top][All Lists]
Advanced

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

Re: Clef change at the beginning of a staff


From: Pierre Perol-Schneider
Subject: Re: Clef change at the beginning of a staff
Date: Thu, 30 Oct 2014 12:18:53 +0100

Hi Joram, Hi Abraham,

2014-10-30 10:11 GMT+01:00 Joram <address@hidden>:
 
I did not calculate the numbers well (1/128+1/4*31/32 = 1/4).
This works without warning:

\relative c' {
  %%  Start with a bass clef
  \clef bass
  %%  Use a skip (has the least effect on Score timing)
  s128
  %%  Put in the tenor clef and continue...
  \clef treble c4*31/32
  c4 c c | c1
}

 
How about :

\version "2.18.2"

\relative c' {
  %%  Start with a bass clef :
  \clef bass
  %%  Use a hidden grace note (avoid any wrong calculation):
  \once\hideNotes\grace c64
  %%  Adjust the clef spacing:
  \once\override Staff.Clef.X-extent = #'(1 . 2)
  %%  Put in the treble clef:
  \clef treble
  c4 c c c | c1
}

Cheers,
Pierre



reply via email to

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