lilypond-user
[Top][All Lists]
Advanced

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

Re: Repeating cross staff tremolo


From: Allen Wu
Subject: Re: Repeating cross staff tremolo
Date: Tue, 14 Mar 2017 02:09:55 -0500

I see.  Thank you so much.




On Mon, Mar 13, 2017 at 7:49 PM, Thomas Morley <address@hidden> wrote:


2017-03-14 1:06 GMT+01:00 Allen Wu <address@hidden>:

Hey Guys,

I was trying the example of crossing staff tremolo, but I found it difficult to repeat the same one to the next.  Can someone tell me what did I do wrong?  

Thanks,
Allen


%Here is my code:

upper = {s4 s4}
^^^^^^^^^^^^^^^^^^^^^
You should see this warning:
warning: cannot find context to switch to

The upper-context ends to early, try:
upper = { s1 }

lower = \relative c''' {
  \voiceOne
  \repeat tremolo 8 {<g d'>32 \change Staff = "up" \voiceTwo <af ef'>} %Works

  \voiceOne \change Staff = "down"
  \repeat tremolo 8 {<g d'>32 \change Staff = "up" \voiceTwo <af ef'>}  %Wrong
}


\new PianoStaff <<
  \new Staff = "up"   \upper
  \new Staff = "down" \lower
>>

Cheers,
  Harm



reply via email to

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