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: Tue, 19 Sep 2006 15:05:37 +0300



On 9/19/06, Libero Mureddu <address@hidden> wrote:


On 9/18/06, Han-Wen Nienhuys < address@hidden> wrote:

I think you're looking for Forbid_line_break_engraver. Try removing it.

Hi Han-Wen,
thank you very much: removing this property did the job on some examples that I tried. Great!
However, it doesn't work for the following example, that is closer to what I need to type: each staff has a different tempo, here in this example, I just put some simple metric proportions between the staves to give an idea.
I cannot put \break in order to split this sequence (that I'll need when it becomes longer!)

Do you have any solution in mind?

Best regards,

Libero

lily 2.9.17
ibook g4
macos 10.4.7


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

    \new Staff {    % second staff
                \time 9/4
                \set Staff.timeSignatureFraction = #'(3 . 4)
                \compressMusic #'(3 . 4) {
                c c c \bar "|"
                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 _expression_ 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]