lilypond-user
[Top][All Lists]

## Re: Allow LilyPond to automatically handle then end of a staff with \par

 From: Trevor Daniels Subject: Re: Allow LilyPond to automatically handle then end of a staff with \partial Date: Tue, 7 Apr 2009 17:33:55 +0100

I see what you're suggesting now - you'd like the bar check on the final bar automatically to take the initial \partial into account, if there was one, by adding the length of first and last bars together, right? It would be nice feature. Bet Sibelius and Finale don't do that!

Trevor


----- Original Message ----- From: "Tom Dickson" <address@hidden>
To: "Mats Bengtsson" <address@hidden>
Sent: Tuesday, April 07, 2009 5:04 PM

Subject: Re: Allow LilyPond to automatically handle then end of a staff with \partial



That's basically what I do, but using \time. With your example I use:

\relative c'{\partial 8 c8 |
c4 d e f |

\override Staff.TimeSignature #'stencil = ##f \time 7/8 d2 c4. \bar "|." |
}


Since I'm combining Soprano and Alto voices into one staff, this allows me to put all the timing information in the Soprano voice and have the Alto
voice inherit it.

-tom


On Tue, Apr 7, 2009 at 8:58 AM, Mats Bengtsson <address@hidden>wrote:




Tom Dickson wrote:


I use it to verify I didn't make a mistake in the last measure, especially
when I have multiple voices in a single staff.


??? If you know that the last measure is incomplete, it's obvious that you will get a bar check error if you insert a bar check there. If you really want to verify that the last measure is exactly 7/8 long (for example), you could explicitly set the measure length manually for that measure:

\relative c'{\partial 8 c8 |
c4 d e f |

\set Timing.measureLength = #(ly:make-moment 7 8) d2 c4. | \bar "|."
}

/Mats



-tom


On Tue, Apr 7, 2009 at 8:27 AM, Mats Bengtsson <address@hidden<mailto:
address@hidden>> wrote:


Why would you insert a bar check at a place where you know that
   the measure isn't finished?

Bar checks are only intended to help you make sure that LilyPond
   thinks that the measure is
finished at the same place as you think it is.


If you want an ending bar line, just use \bar "|." (or whatever
   bar type you wish) but not a bar check.

/Mats

Tom Dickson wrote:


A feature I would like is to make it so that barchecks don't fail on the end of a staff started with \partial. Especially in songs, the last measure will usually be cut down by the same amount as the \partial at the beginning. Currently I have to hide the time signature and change time at the end of the
       staff to make it look right.

Other than that Lilypond has worked wonderfully for our
booklet we're making. Thanks!

-tom

_______________________________________________
lilypond-user mailing list
http://lists.gnu.org/mailman/listinfo/lilypond-user

--    =============================================
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden

Phone: (+46) 8 790 8463 Fax:
(+46) 8 790 7260

WWW: http://www.s3.kth.se/~mabe <http://www.s3.kth.se/%7Emabe><
http://www.s3.kth.se/%7Emabe>
=============================================

------------------------------------------------------------------------

_______________________________________________
lilypond-user mailing list
http://lists.gnu.org/mailman/listinfo/lilypond-user



--
=============================================
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax:   (+46) 8 790 7260

WWW: http://www.s3.kth.se/~mabe <http://www.s3.kth.se/%7Emabe>
=============================================






--------------------------------------------------------------------------------


_______________________________________________
lilypond-user mailing list