Neil,

On 16 January 2012 15:18, Neil Puttock <[email protected]> wrote:
> On 16 January 2012 15:09, Paul Scott <[email protected]> wrote:
>
>> Agreed.  What is the point of NR 1.2.6 and [mmrest|skip]-of-length at all?
>
> It is pretty pointless.

Should we be using something different in this example then?

I don't really understand these options but it seems that as it says:

--snip--

One solution to this problem is to use the functions mmrest-of-length
and skip-of-length... etc.

--snip--

Implying other solutions...however looking at what you suggest here:

> This has popped up before, and I suggested
> last time not to use \cadenzaOn since multi-measure rests need timing
> information (mainly measureLength) to work properly.  Try this
> instead:
>
> \version "2.15.26"
>
> \layout {
>  \context {
>    \Staff
>    \remove "Time_signature_engraver"
>  }
> }
>
> cadenzaRest =
> #(define-music-function (parser location music) (ly:music?)
>   "Make a full-bar rest with the same length as MUSIC
>   setting measureLength to ensure the rest is properly centred."
>  (make-sequential-music
>   (list
>    #{
>      \set Timing.measureLength = #(ly:music-length music)
>      $(mmrest-of-length music)
>      \unset Timing.measureLength
>    #})))
>
> timing = { }
>
> cnotes = \relative c'' {  c8[ d e f g]  }
> snotes = { $(skip-of-length cnotes) }
> mnotes = \cadenzaRest \cnotes
>
>
> \score {
>  <<
>    \new Staff \cnotes
>    \new Staff \mnotes
>    \new Staff \snotes
>  >>
> }
>

Seems more complex. But I am sure this is not in context of the
example in the doc.

If there is anything you can suggest I can update the example/para in the doc.

James

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

Reply via email to