lilypond-user
[Top][All Lists]
Advanced

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

Re: Skip to Specific Bar


From: Kieren MacMillan
Subject: Re: Skip to Specific Bar
Date: Wed, 11 Sep 2013 10:37:31 -0400

Hi Ed,

> Hopefully this shows what I'm trying to do...

Well, here's my snippet using tags:

\language "english"

global = {
  \time 5/16
  \set Timing.beatStructure = #'(5)
  s16*5
  \time 6/16
  \tag #'test << s16*6 >>
}

toptreb = \relative c' {
  c4.   |
}

topfoot = {
  \clef percussion
  \stemUp \autoBeamOn
  \override NoteHead #'style = #'triangle
  R16*5   |
  a16[ a] r r8.   |
}

topbass = \relative a, {
  \clef bass
  a16[ e' <d e>-> g, <d' e>]->   |
  d,16 a' <a bf> d,16 a' <a bf>   |
}

\score {
  <<
    \new Staff \pushToTag #'test \toptreb \global
    \new RhythmicStaff << \global \topfoot >>
    \new Staff << \global \topbass >>
  >>
}

But now that I see your exact example, I believe you want to be using an ossia 
staff instead:
<http://lilypond.org/doc/v2.17/Documentation/notation/modifying-single-staves#ossia-staves>

You could fake it with my snippet with something starting from this
    \new Staff { \stopStaff \pushToTag #'test { \startStaff \toptreb } \global }
but I doubt it's worth the effort. Unless, of course, you want to pull parts 
out — including toptreb — in which case I would probably go with something else.

Hope this helps!
Kieren.


reply via email to

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