lilypond-user
[Top][All Lists]
Advanced

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

Polyrythmic exercices with two gridline on the top and bottom of a score


From: zaord
Subject: Polyrythmic exercices with two gridline on the top and bottom of a score with two rythmics voices
Date: Thu, 7 Nov 2013 22:17:41 -0800 (PST)

Hi here,

I try to do an exercice partition for working on polyrythms with two
simultaneous rythms.
I have a score with two voice, for the two rythme of the polyrythm.

I want a gridline on the top, giving the pulse of the top-voice and a
another gridline in a different collor for emphasis the pulse of the second
rythm-voice.

There is a bug there and I don't knox how to solve it ;)


Here is my code:

\version "2.12.0" 
#(set-global-staff-size 30) 
#(set-default-paper-size "a4" 'landscape) 


global = { 
  \time 12/4 

} 


\layout { 
  \context { 
    
 \Staff 
 \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(4 . -4) 
 %\override GridPoint.Y-extent = #'(4 . -4) 
   \override TupletNumber #'transparent = ##t 
  \override TupletBracket #'bracket-visibility = ##f 
\consists "Grid_point_engraver" 
gridInterval = #(ly:make-moment 1/12) 
\remove "Time_signature_engraver" 
\remove "Clef_engraver" 
 } 
 \context { 
      \Score 
       \consists "Grid_line_span_engraver" 
      % center grid lines horizontally below note heads 
      \override NoteColumn.X-offset = #-0.5 
      \override NonMusicalPaperColumn #'line-break-permission = ##f 
    } 
ragged-right = ##t 
} 

\score { 
  \new ChoirStaff { 
    \relative c'' << 
      \new Staff { 
    
  
  
        \time 12/4 
        % hides staff and notes so that only the grid lines are visible 
        \hideNotes 
        \override Staff.BarLine.transparent = ##t 
        \override Staff.StaffSymbol.line-count = #0 

        % dummy notes to force regular note spacing 
        \once   \override Score.GridLine.thickness = #4.0  \once \override
Score.GridLine.color = #red 
       \times 12/4 { c4 c c } 
        \once   \override Score.GridLine.thickness = #4.0  \once \override
Score.GridLine.color = #red 
        c4 c c c c c c c c c c c 
        \once   \override Score.GridLine.thickness = #4.0  \once \override
Score.GridLine.color = #red 
        c4 c c c c c c c c c c c 
        } 
  
      \new Staff \with {      instrumentName = \markup \center-column {Ex: 
5 6 }  } <<    \new Voice  { \voiceOne \relative c'' {  \time 12/8 
    r4 e  r r e r r e e r r e | e e r e~ e e e~ e r e~ e e | r e e e r r e r
e r e e  | } }     \new Voice { \voiceTwo \relative c' { \global 
    f4 r r f r f f r f r f f | r f f r f r r f f r r f | f~ f f f f r f~ f r
f~ f r |                            } } >>   
    
   \new Staff { 
        
        
          \time 12/4 
        % hides staff and notes so that only the grid lines are visible 
        \hideNotes 
        \override Staff.BarLine.transparent = ##t 
        \override Staff.StaffSymbol.line-count = #0 
  

        % dummy notes to force regular note spacing 
      \once     \override Score.GridLine.thickness = #4.0  \once   \override
Score.GridLine.color = #blue 
        c4 c c c c c c c c c c c 
        \once   \override Score.GridLine.thickness = #4.0  \once \override
Score.GridLine.color = #blue 
          c4 c c c c c c c c c c c 
        \once   \override Score.GridLine.thickness = #4.0  \once \override
Score.GridLine.color = #blue 
         c4 c c c c c c c c c c c   
      
      } 
    >> 
  } 
} 


Best and thanks

Ewen



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Polyrythmic-exercices-with-two-gridline-on-the-top-and-bottom-of-a-score-with-two-rythmics-voices-tp153516.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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