]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/cross-staff-tremolos.ly
bfd631eb7c19ef6a46a3c152e16acc9ea2334fc2
[lilypond.git] / Documentation / snippets / cross-staff-tremolos.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.14.2"
8
9 \header {
10   lsrtags = "keyboards, real-music, repeats"
11
12   texidoc = "
13 Since @code{\\repeat tremolo} expects exactly two musical arguments for
14 chord tremolos, the note or chord which changes staff within a
15 cross-staff tremolo should be placed inside curly braces together with
16 its @code{\\change Staff} command.
17
18 "
19   doctitle = "Cross-staff tremolos"
20 } % begin verbatim
21
22
23 \new PianoStaff <<
24   \new Staff = "up" \relative c'' {
25     \key a \major
26     \time 3/8
27     s4.
28   }
29   \new Staff = "down" \relative c'' {
30     \key a \major
31     \time 3/8
32     \voiceOne
33     \repeat tremolo 6 {
34       <a e'>32
35       {
36         \change Staff = "up"
37         \voiceTwo
38         <cis a' dis>32
39       }
40     }
41   }
42 >>