lilypond-user
[Top][All Lists]
Advanced

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

Re: compress full bar rests


From: Jacques Menu
Subject: Re: compress full bar rests
Date: Fri, 9 Oct 2015 23:51:53 +0200

Hello David,

Played around with your example, but to no avail.

What is this « globals » function supposed to bring?

JM

Le 9 oct. 2015 à 22:31, Flaming Hakama by Elaine <address@hidden> a écrit :

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]