lilypond-user
[Top][All Lists]
Advanced

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

Re: horicontally shift of polyrhythmic staves


From: Klaus Blum
Subject: Re: horicontally shift of polyrhythmic staves
Date: Mon, 22 Feb 2016 14:36:37 -0700 (MST)

Hi Jonathan, 

maybe this thread could be interesting: 
http://lilypond.1069038.n5.nabble.com/Creating-cut-away-or-scrapbook-scores-in-LilyPond-td177436.html

In the documentation, you could look for "ossia" staves and the techniques
to produce them. 

In your ME, I took your "secondVoice" and inserted "thirdVoice" after the
first quarter note, preceeded by "\new Staff" and "\new Voice".
Here is what I could achieve:

% -----------------------------------------

\version "2.19.22"

firstVoice= \relative c'' {
  \time 2/4
  g2
  \time 4/4
  g4. b8 b4 g4
  \time 1/4
  c\bar"|."
}

thirdVoice= \relative c' {
  \time 3/4
  e4 e e
  e2.\bar"|."
}

secondVoice= \relative c' {
  \new Voice = "second"
  \time 2/4
  c4
  <<
    {
      c
      \time 4/4
      g'4 g f e
      \time 1/4
      c\bar"|."
    }
    \once \override Score.Clef.full-size-change = ##t
    \new Staff
    \new Voice = "third"
    {
      \thirdVoice
    }
  >>
}

\score {
  \new StaffGroup <<
    \new Staff <<
      \new Voice = "first" { \firstVoice}
    >>
    \new Staff <<
      { \secondVoice}
    >>
  >>%end of outer StaffGroup

  %layout settings needed for drawing barlines correctly
  \layout {
    \context {
      \Score
      \remove "Timing_translator"
      \remove "Default_bar_line_engraver"
    }

    \context{
      \Staff
      \consists "Timing_translator"
      \consists "Default_bar_line_engraver"
    }
  }
} % end of score

% -----------------------------------------

Cheers, 
Klaus




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/horicontally-shift-of-polyrhythmic-staves-tp187528p187562.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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