lilypond-user
[Top][All Lists]
Advanced

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

Re: Polyrythmic exercices with two gridline on the top and bottom of a s


From: Peter Bjuhr
Subject: Re: Polyrythmic exercices with two gridline on the top and bottom of a score with two rythmics voices
Date: Fri, 08 Nov 2013 15:58:36 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.0


On 11/08/2013 01:48 PM, daviau ewen wrote:


I hope that could help you to help me ;)





Ok, here is a more minimal example which hopefully can be a starting point!

\version "2.16.2"

voicei = \relative c''{
  \time 12/4
  r4 e r e ~ e r r e e ~ e r e |
  e r e ~ e r r e e ~ e r r e
}

voiceii = \relative c'{
  \time 12/4
  f4 r f r f r r f r f f f |
  r f ~ f f f r f r f f r f
}

refUp = \relative c''{
  \time 12/4
  \override NoteHead #'transparent = ##t
  \once \override Stem #'color = #red
  b4 b b b b b b b b b b b |
  \once \override Stem #'color = #red
  b4 b b b b b b b b b b b
}
refDwn = \relative c''{
  \time 12/4
  \override NoteHead #'transparent = ##t
  \once \override Stem #'color = #blue
  e4 e e e e e e e e e e e |
  \once \override Stem #'color = #blue
  e4 e e e e e e e e e e e
}

\layout {
  \context {
    \type "Engraver_group"
    \consists "Axis_group_engraver"
    \consists "Note_heads_engraver"
    \consists "Stem_engraver"
    \name "ref"
    \alias "Staff"
  }
  \context {
    \Score
    \accepts ref
  }
}

\score {
  <<
    \new ref \refUp
    \new Staff <<
      \new Voice {\voiceOne \voicei }
      \new Voice {\voiceTwo \voiceii }
    >>
    \new ref \refDwn
  >>
}

Best
Peter



reply via email to

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