Trevor Daniels wrote
> Mark Stephen Mrotek wrote Friday, July 26, 2013 4:17 AM
> 
>> In the attached file ( cadenza.ly ) everything should fit in one measure,
>> i.e., the last quaver in each staff should be on the first beat of the
>> next
>> measure.
> 
> Using a \cadenzaOn \cadenzaOff pair causes the internal accounting of
> position within a bar to be discontinued.  In particular, the value of
> measurePosition is reset to zero.  So if a cadenza starts anywhere
> but at a bar line you have to manually reset the value of measurePosition
> to the correct position within a bar.
> 
> In your case, Mark, inserting
>   \set Timing.measurePosition = #(ly:make-moment 1/4)
> after \cadenzaOff will correct the problem, since the cadenza
> starts one quarter note after the start of the bar.
> 
> @BugSquad I think this justifies at least a doc issue, but maybe this
> should be a bug - cadenze should be able to start within a bar.

they already can - the problem is /after/ the cadenza and as you've shown
you can re-dimension the remaining measure duration with \set
Timing.measurePosition = #(ly:make-moment 1/4).
you can also do this with \set Timing.measureLength = #(ly:make-moment 2/4)
which expresses that there are 2 quarters to fill in the actual measure.

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Cadenza-tp148435p148460.html
Sent from the User mailing list archive at Nabble.com.

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

Reply via email to