lilypond-user
[Top][All Lists]
Advanced

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

Re: compress full bar rests


From: Trevor Daniels
Subject: Re: compress full bar rests
Date: Fri, 9 Oct 2015 23:36:25 +0100


Try s1*5
 
Trevor

----- Original Message -----
Sent: Friday, October 09, 2015 9:31 PM
Subject: compress full bar rests

Somehow, through this framework, I cannot get full bar rests to compress when I use a globals treatment.

Does anyone have a clue as to how to get them to compress?

Thanks.



\version "2.19.15" 

structure = \relative c { 
    \compressFullBarRests
    \override MultiMeasureRest.expand-limit = #2   
    \override Score.RehearsalMark.self-alignment-X = #LEFT
    \mark "Globally Uncompressed"
    s1 | 
    s1 | s | s | s \bar "||" 
}

globals = #(define-music-function (parser location mus) (ly:music?) #{ << \structure \relative { $mus } >> #})

melody = \relative c'' {
    \compressFullBarRests
    \override MultiMeasureRest.expand-limit = #2
    c1 | R1*4 || 
}        

melodyGlobal = \globals { \melody }


<<
    \new Staff { 
        \compressFullBarRests
        \override MultiMeasureRest.expand-limit = #2
        \override Score.RehearsalMark.self-alignment-X = #LEFT
        \mark "Simple and Compressed"
        \melody
    }
>>

<<
    \new Staff { 
        \compressFullBarRests
        \override MultiMeasureRest.expand-limit = #2
        \melodyGlobal
    }
>>


David Elaine Alt
415 . 341 .4954                                           "Confusion is highly underrated"
address@hidden
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

reply via email to

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