lilypond-user
[Top][All Lists]
Advanced

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

Re: problem with line breaking with polyrhythm


From: Libero Mureddu
Subject: Re: problem with line breaking with polyrhythm
Date: Fri, 22 Sep 2006 00:17:21 +0300

Hi,
unfortunately it doesn't work. I put my example in the message, so you
can see if I did something wrong with the whichBar property. (I tried
in the first and in the second staff).

Thanks,

Libero

lily 2.9.17
ibook g4
mac os 10.4.7

%%% SNIPPET %%%

\score {
                        <<
        \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
        \new Staff {    % first staff
                                \time 3/4
                                c c c %\set Score.whichBar = #""  \bar "|" 
\break
                                c c c
                                c c c
                                } % end staff

        \new Staff {    % second staff
                                \time 9/4
                                \set Staff.timeSignatureFraction = #'(3 . 4)
                                \compressMusic #'(3 . 4) {
                                c c c \set Score.whichBar = #""  \bar "|" \break
                                c c c \bar "|"
                                c c c \bar "|"
                                c c c
                                        } % end compressMusic
                                } % end staff

        \new Staff {    % third staff
                                \time 6/4
                                \set Staff.timeSignatureFraction = #'(3 . 4)
                                \compressMusic #'(6 . 9) {
                                c c c \bar "|"
                                c c c \bar "|"
                                c c c
                                        } % end compressMusic
                                } % end staff

                        >> %end of expressions together
        } %end of \score

\layout {
        \context {
                        \Score
                                \remove "Timing_translator"
                                \remove "Default_bar_line_engraver"
                        } % end of context Score
        
        \context {
                        \Staff
                        \consists "Timing_translator"
                        \consists "Default_bar_line_engraver"
                        } % end of context Staff

        \context {
                        \Voice
                        \remove "Forbid_line_break_engraver"
                        } % end of context Voice
        } % end of layout




reply via email to

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