lilypond-user
[Top][All Lists]
Advanced

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

Re: mmrest-oflength not generating MMR 2.15.24


From: Paul Scott
Subject: Re: mmrest-oflength not generating MMR 2.15.24
Date: Mon, 16 Jan 2012 08:47:38 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20120104 Icedove/8.0

On 01/16/2012 08:18 AM, Neil Puttock wrote:
On 16 January 2012 15:09, Paul Scott<address@hidden>  wrote:

Agreed.  What is the point of NR 1.2.6 and [mmrest|skip]-of-length at all?
It is pretty pointless.  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:

Perfect!!  Thank you!

Something like this might also help when trying to use hidden notes to make glissandos which don't end on a note.

Paul



\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
   >>
}



--
Paul Scott
Librarian
Southern Arizona Symphony Orchestra
address@hidden





reply via email to

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