lilypond-user
[Top][All Lists]
Advanced

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

Polymetric forcing break


From: Karim Haddad
Subject: Polymetric forcing break
Date: Fri, 24 Mar 2017 18:23:09 +0100
User-agent: NeoMutt/20170113 (1.7.2)

Hi List,

I have a issue with forced breaks using polymetric music.
I wanted to display measure numbers on individuale staves. This is ok. However 
breaks are not controllable. Here is a small example with a break in the first 
staff that doesn't work and another in the second which works. But this is not 
satisfactory since i have more than two voices, and can't break where i want.
I maybe am doing something wrong. Any clues ? 

Here is the example :



\version "2.19.49"

"one"=
{
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%% VOICE : 1 %%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%% MESURE : 1 %%%%%%%%%%%%%%%%%%%%%%%
\time 32/5
\set Staff.timeSignatureFraction = #'(32 . 5)
\clef "G"
c'\maxima*4/5
|
\once \set Staff.whichBar = "|"
%%%%%%%%%%%%%%%%%%%%%%% MESURE : 2 %%%%%%%%%%%%%%%%%%%%%%%
\time 5/12
\set Staff.timeSignatureFraction = #'(5 . 12)
c'2*2/3~
c'8*2/3
|
\once \set Staff.whichBar = "|"
%%%Break here doesn't work!
\break
%%%%%%%%%%%%%%%%%%%%%%% MESURE : 3 %%%%%%%%%%%%%%%%%%%%%%%
\time 5/7
\set Staff.timeSignatureFraction = #'(5 . 7)
c'1*4/7~
c'4*4/7
|
\once \set Staff.whichBar = "|"
%%%%%%%%%%%%%%%%%%%%%%% MESURE : 4 %%%%%%%%%%%%%%%%%%%%%%%
\time 15/14
\set Staff.timeSignatureFraction = #'(15 . 14)
c'1.*4/7~
c'4.*4/7
|
\once \set Staff.whichBar = "|"
%%%%%%%%%%%%%%%%%%%%%%% MESURE : 5 %%%%%%%%%%%%%%%%%%%%%%%
\time 8/11
\set Staff.timeSignatureFraction = #'(8 . 11)
c'1*8/11
|
\once \set Staff.whichBar = "|"
%%%%%%%%%%%%%%%%%%%%%%% MESURE : 6 %%%%%%%%%%%%%%%%%%%%%%%
\time 18/29
\set Staff.timeSignatureFraction = #'(18 . 29)
c'1*16/29~
c'8*16/29
|
\once \set Staff.whichBar = "|"

}


"two"=
{
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%% VOICE : 2 %%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%% MESURE : 1 %%%%%%%%%%%%%%%%%%%%%%%
\time 32/11
\set Staff.timeSignatureFraction = #'(32 . 11)

c'\longa*8/11
|
\once \set Staff.whichBar = "|"
%%%%%%%%%%%%%%%%%%%%%%% MESURE : 2 %%%%%%%%%%%%%%%%%%%%%%%
\time 5/16
\set Staff.timeSignatureFraction = #'(5 . 16)
c'4~
c'16
|
\once \set Staff.whichBar = "|"
%%%%%%%%%%%%%%%%%%%%%%% MESURE : 3 %%%%%%%%%%%%%%%%%%%%%%%
\time 32/11
\set Staff.timeSignatureFraction = #'(32 . 11)
c'\longa*8/11
|
\once \set Staff.whichBar = "|"
%%%%%%%%%%%%%%%%%%%%%%% MESURE : 4 %%%%%%%%%%%%%%%%%%%%%%%
\time 12/11
\set Staff.timeSignatureFraction = #'(12 . 11)
r1.*8/11
|
\once \set Staff.whichBar = "|"
%%%Break here works!
%\break
%%%%%%%%%%%%%%%%%%%%%%% MESURE : 5 %%%%%%%%%%%%%%%%%%%%%%%
\time 30/11
\set Staff.timeSignatureFraction = #'(30 . 11)
c'\breve.*8/11~
c'2.*8/11
|
\once \set Staff.whichBar = "|"
%%%%%%%%%%%%%%%%%%%%%%% MESURE : 6 %%%%%%%%%%%%%%%%%%%%%%%
\time 8/23
\set Staff.timeSignatureFraction = #'(8 . 23)
c'2*16/23
|
\once \set Staff.whichBar = "|"
}



\score {
 {

<<
\new Staff  {
\one
}

\new Staff  {
\two
}
 >>

}



\layout {
        ragged-last = ##f
        indent = 0.0

\context {\Voice
     \remove "Forbid_line_break_engraver"
           allowBeamBreak = ##t
               \consists "Bar_number_engraver"
               \override BarNumber.break-visibility = ##(#t #t #t)
                              }
\context {\Score

          defaultBarType = #""

            \override PaperColumn #'used = ##t
            \override Beam.breakable = ##t
             \override TieColumn.breakable = ##t
             \override TupletBracket.breakable = ##t
             \override NonMusicalPaperColumn.line-break-permission = ##f

   \remove "Timing_translator"
      \remove "Default_bar_line_engraver"

         }
         \context {\Staff
                   \numericTimeSignature
                   \override NoteHead #'style = #'baroque
                   \override Flag #'stencil = #modern-straight-flag

    \consists "Timing_translator"
    \consists "Default_bar_line_engraver"

}
}
}




Thanx

-- 
Karim Haddad




reply via email to

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