summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex4musicians/Figures/abctab.ly
blob: 55596cf95156474be52796c8093f29fb58d6c2e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53

\version "2.18.2"
% automatically converted by musicxml2ly from abctab.xml

\header {
    encoder = "abc2xml version 218"
    encodingdate = "2018-12-22"
    }

\layout {
    \context { \Score
        autoBeaming = ##f
        }
    }
PartPOneVoiceOne =  \relative c' {
    \key c \major \time 3/4 c4 d4 e4 | % 2
    f4 g4 a4 | % 3
    b4 a4 b4 | % 4
    c2 r4 \bar "|."
    }

PartPTwoVoiceOne =  \relative c {
    \clef "tab" \stopStaff \override Staff.StaffSymbol #'line-count = #6
    \startStaff \key c \major \time 3/4 c4 \5 d4 \4 e4 \4 | % 2
    f4 \4 g4 \3 a4 \3 | % 3
    b4 \2 a4 \3 b4 \2 | % 4
    c2 \2 r4 \bar "|."
    }


% The score definition
\score {
    <<
        \new Staff <<
            \context Staff << 
                \context Voice = "PartPOneVoiceOne" { \PartPOneVoiceOne }
                >>
            >>
        \new TabStaff \with { stringTunings = #`( ,(ly:make-pitch 0 2 0)
            ,(ly:make-pitch -1 6 0) ,(ly:make-pitch -1 4 0)
            ,(ly:make-pitch -1 1 0) ,(ly:make-pitch -2 5 0)
            ,(ly:make-pitch -2 2 0) ) } <<
            \context TabStaff << 
                \context TabVoice = "PartPTwoVoiceOne" { \PartPTwoVoiceOne }
                >>
            >>
        
        >>
    \layout {}
    % To create MIDI output, uncomment the following line:
    %  \midi {}
    }