stopStaff at beginning of staff

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

stopStaff at beginning of staff

Sean Reed
hi,

first of all, thank you hans and ly programmers for this feature. it  
is fantastic.

however, somehow it isn't working the way i expect.
am i doing something wrong?
did i miss something in the news?

i'd like to have no staff lines in one instrument until a few  
measures into the piece, but no matter how long i make the first  
\skip, the first \stopStaff only leaves off the staff lines for the  
first 2 beats (more accurately: 1 beat plus the expected  1 beat of  
lead-in lines), and creates a bunch of empty measures with full staff  
lines after that.

there's a thread in the archives which may refer to the same thing,  
but i didn't see a real answer. the response was to look at the  
example in the documentation, but in the example in the documentation  
you don't notice it because the stopStaff is only told to be 2 beats  
anyway. if you take the example from the documentation and change the  
first \skip, which i've pretty much done in the script below, the  
same thing happens.

any help would be appreciated.

best,
sean
(osx 10.4, ly 2.7.17)
--------------------------------------------
Sean Reed
Hamburg, Germany
Web: www.seanreed.de

% **********
%  example:
% **********
\version "2.7.17"

<<
   \new Staff \with
   {
     \remove "Time_signature_engraver"
     firstClef = ##f
   }
   \relative c'' {
     \stopStaff
     \skip 2*2
       
    \startStaff
     \clef treble
     bes8[ g bes g]
     \stopStaff
    \skip 2

     \startStaff
     f8 d g4

     \stopStaff
    \skip 2*2

        \startStaff
     f8 d g4
   }
   \new Staff  \relative
   {
     \time 2/4
     c4 c g' g a a g2 c4 c g' g a a g2
   }

 >>




_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user