lilypond-user
[Top][All Lists]
Advanced

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

Tremolo repeat with Staff change


From: René Brandenburger
Subject: Tremolo repeat with Staff change
Date: Fri, 19 Jan 2007 17:28:39 +0100

Hi,

is there a simple way to typeset a tremolo repeat with a staff change
like the one attached?

i tried the following, but got some strange results:
if i run lilypond on the following snippet, the tremolo looks like
expected, but activating either octavation or staff change, the barcheck
fails and the tremolo bars don't follow the second chord to the upper
staff. 

running 2.10.11 on winXP

best regards

rene brandenburger

--8<--Snip--begin copy paste--Snip-->8-- 

\version "2.10.11"
\new PianoStaff {
  \time 4/4
  <<
  \context Staff = "RH" {  % Right hand 
    \clef treble
    \key c \major
    \relative c' {
      \skip 1 |
      \skip 1 |
    }
  }
  \context Staff = "LH" {  % Left hand                           
    \clef bass
    \key c \major
    \clef treble
    \repeat tremolo 32
    {
      <g' d'' g''>64
      %%\change Staff = RH
      %%#(set-octavation 1)
      <a'' d''' a'''>64
      %%#(set-octavation 0)
      %%\change Staff = LH
    } |
    \skip 1
  }
  >>
}
--8<--Snip--end   copy paste--Snip-->8-- 

Attachment: Tremolo.png
Description: PNG image


reply via email to

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