]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/polyphony-in-tablature.ly
Imported Upstream version 2.16.0
[lilypond.git] / Documentation / snippets / polyphony-in-tablature.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.16.0"
8
9 \header {
10   lsrtags = "fretted-strings"
11
12   texidoc = "
13 Polyphony is created the same way in a @code{TabStaff} as in a regular
14 staff.
15
16 "
17   doctitle = "Polyphony in tablature"
18 } % begin verbatim
19
20
21 upper = \relative c' {
22   \time 12/8
23   \key e \minor
24   \voiceOne
25   r4. r8 e, fis g16 b g e e' b c b a g fis e
26 }
27
28 lower = \relative c {
29   \key e \minor
30   \voiceTwo
31   r16 e d c b a g4 fis8 e fis g a b c
32 }
33
34 \score {
35   <<
36     \new StaffGroup = "tab with traditional" <<
37       \new Staff = "guitar traditional" <<
38         \clef "treble_8"
39         \context Voice = "upper" \upper
40         \context Voice = "lower" \lower
41       >>
42       \new TabStaff = "guitar tab" <<
43         \context TabVoice = "upper" \upper
44         \context TabVoice = "lower" \lower
45       >>
46     >>
47   >>
48 }