gitara 0.8.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +8 -1
- data/README.markdown +15 -21
- data/examples/{aimee-man-wise-up/aimee-man-wise-up.ly → aimee-man-wise-up.ly} +94 -80
- data/examples/aimee-man-wise-up.midi +0 -0
- data/examples/aimee-man-wise-up.pdf +0 -0
- data/examples/{aimee-man-wise-up/aimee-man-wise-up.rb → aimee-man-wise-up.rb} +7 -7
- data/examples/{eraserheads-huling-el-bimbo/tab.ly → eraserheads-huling-el-bimbo.ly} +27 -57
- data/examples/eraserheads-huling-el-bimbo.midi +0 -0
- data/examples/eraserheads-huling-el-bimbo.pdf +0 -0
- data/examples/{eraserheads-huling-el-bimbo/tab.rb → eraserheads-huling-el-bimbo.rb} +7 -7
- data/examples/{foo-fighters-walking-after-you/foo-fighters-walking-after-you.ly → foo-fighters-walking-after-you.ly} +19 -90
- data/examples/{foo-fighters-walking-after-you/foo-fighters-walking-after-you.midi → foo-fighters-walking-after-you.midi} +0 -0
- data/examples/foo-fighters-walking-after-you.pdf +0 -0
- data/examples/{foo-fighters-walking-after-you/foo-fighters-walking-after-you.rb → foo-fighters-walking-after-you.rb} +1 -1
- data/examples/tab-with-alternate-tuning.ly +11 -7
- data/examples/tab-with-alternate-tuning.midi +0 -0
- data/examples/tab-with-alternate-tuning.pdf +0 -0
- data/examples/tab-with-alternate-tuning.rb +1 -1
- data/examples/tab-with-chords.ly +134 -0
- data/examples/tab-with-chords.midi +0 -0
- data/examples/tab-with-chords.pdf +0 -0
- data/examples/tab-with-chords.rb +16 -0
- data/examples/tab-with-key-signature.ly +21 -7
- data/examples/tab-with-key-signature.midi +0 -0
- data/examples/tab-with-key-signature.pdf +0 -0
- data/examples/tab-with-key-signature.rb +2 -2
- data/examples/tab-with-line-with-no-break.ly +7 -12
- data/examples/tab-with-line-with-no-break.midi +0 -0
- data/examples/tab-with-line-with-no-break.pdf +0 -0
- data/examples/tab-with-partial.ly +25 -15
- data/examples/tab-with-partial.midi +0 -0
- data/examples/tab-with-partial.pdf +0 -0
- data/examples/tab-with-partial.rb +7 -7
- data/examples/tab-with-repeats.ly +25 -9
- data/examples/tab-with-repeats.midi +0 -0
- data/examples/tab-with-repeats.pdf +0 -0
- data/examples/tab-with-reused-bar-in-stanza.ly +154 -0
- data/examples/tab-with-reused-bar-in-stanza.midi +0 -0
- data/examples/tab-with-reused-bar-in-stanza.pdf +0 -0
- data/examples/tab-with-reused-bar-in-stanza.rb +14 -0
- data/examples/tab-with-time-signature.ly +27 -8
- data/examples/tab-with-time-signature.midi +0 -0
- data/examples/tab-with-time-signature.pdf +0 -0
- data/lib/gitara/node/bar.rb +0 -25
- data/lib/gitara/node/stanza.rb +22 -2
- data/lib/gitara/template/bar.erb +0 -1
- data/lib/gitara/template/chord_set.erb +1 -1
- data/lib/gitara/template/line.erb +0 -1
- data/lib/gitara/template/score.erb +2 -0
- data/lib/gitara/template/stanza.erb +1 -1
- data/lib/gitara/template/tab.erb +10 -5
- data/lib/gitara/version.rb +1 -1
- data/spec/lib/gitara/app_spec.rb +14 -39
- data/spec/lib/gitara/node/bar/stanza_version_spec.rb +1 -1
- data/spec/lib/gitara/node/bar_spec.rb +2 -58
- data/spec/lib/gitara/node/stanza_spec.rb +21 -1
- data/spec/spec_helper.rb +5 -1
- data/spec/support/app_tester.rb +12 -1
- metadata +34 -16
- data/examples/aimee-man-wise-up/aimee-man-wise-up.midi +0 -0
- data/examples/aimee-man-wise-up/aimee-man-wise-up.pdf +0 -0
- data/examples/eraserheads-huling-el-bimbo/tab.midi +0 -0
- data/examples/eraserheads-huling-el-bimbo/tab.pdf +0 -0
- data/examples/foo-fighters-walking-after-you/foo-fighters-walking-after-you.pdf +0 -0
- data/examples/tab.ly +0 -193
- data/examples/tab.rb +0 -67
data/examples/tab.rb
DELETED
@@ -1,67 +0,0 @@
|
|
1
|
-
Gitara.define do
|
2
|
-
title "Wise Up"
|
3
|
-
composer "Aimee Mann"
|
4
|
-
arranger "Arranged by George Mendoza"
|
5
|
-
instrument "Guitar (capo on second fret)"
|
6
|
-
midi_instrument "acoustic guitar (nylon)"
|
7
|
-
transposition "d"
|
8
|
-
tempo "4 = 75"
|
9
|
-
|
10
|
-
chords :Am, 'r4-"Am" r r r'
|
11
|
-
chords :AmC, 'r4-"Am" r r-"C" r'
|
12
|
-
chords :BbF, 'r4-"Bb" r r-"F" r'
|
13
|
-
chords :CCGE, 'r4-"C" r r-"G" r-"E"'
|
14
|
-
chords :D, 'r4-"D" r r r'
|
15
|
-
chords :FC, 'r4-"F" r r-"C" r'
|
16
|
-
chords :FD, 'r4-"F" r r-"D" r'
|
17
|
-
|
18
|
-
bar :BeganIt do
|
19
|
-
notes "/skip 4 <a/3 c'/2 >8 <g/3>8 /skip 4 <g/3 c'/2 >8 <g/3>8"
|
20
|
-
notes "<f/4>4 <f/4>4 <c/5>4 <e/4>4"
|
21
|
-
chords :FC
|
22
|
-
end
|
23
|
-
|
24
|
-
bar :ItsNot do
|
25
|
-
notes "r8 <g'/1>4 <a/3>16 <g'/1>8 <g/3>16 <e'/1>4 <g/3>16( <a/3>16)"
|
26
|
-
notes "<f/4>4 <f/4>4 <c/5>4 <e/4>4"
|
27
|
-
chords :FC
|
28
|
-
end
|
29
|
-
|
30
|
-
bar :ItThough do
|
31
|
-
notes "r8 <d'/2>16( <c'/2>16) r8 <a/3>16 <c'/2>16 r8 <d'/2>16( <c'/2>16) r8 <a/3>8"
|
32
|
-
notes "<f/4>4 <f/4>4 <d/4>4 <d/4>4"
|
33
|
-
chords :FD
|
34
|
-
end
|
35
|
-
|
36
|
-
bar :WhatYouThought do
|
37
|
-
notes "r8 <g'/1>4 <a/3>16 <g'/1>8 <g/3>16 <e'/1>4 <g/3>8"
|
38
|
-
notes "<f/4>4 <f/4>4 <c/5>4 <e/4>4"
|
39
|
-
chords :FC
|
40
|
-
end
|
41
|
-
|
42
|
-
bar :WhenYouFirst do
|
43
|
-
notes "<e'/1>8 <d'/2>16( <c'/2>8) <a/3>8. <c'/2>4 <a/3>8 <c'/2>8"
|
44
|
-
notes "<a,/5>4 <a,/5>8 <e/4>4 <a,/5>4 /skip 8"
|
45
|
-
chords :Am
|
46
|
-
end
|
47
|
-
|
48
|
-
bar :YouGot do
|
49
|
-
notes "<g'/1>8 <a/3>8 <g'/1>8 <a/3>16 <g'/1>8 <g/3>16 <e'/1>4 <g/3>16( <a/3>16)"
|
50
|
-
notes "<f/4>4 <f/4>4 <c/5>4 <e/4>4"
|
51
|
-
chords :FC
|
52
|
-
end
|
53
|
-
|
54
|
-
line :VerseOneLineTwo do
|
55
|
-
bar :YouGot, :WhatYouThought, :WhenYouFirst, :ItThough
|
56
|
-
end
|
57
|
-
|
58
|
-
score do
|
59
|
-
stanza "Verse 1" do
|
60
|
-
line do
|
61
|
-
bar :ItsNot, :WhatYouThought, :WhenYouFirst, :BeganIt
|
62
|
-
end
|
63
|
-
|
64
|
-
line :VerseOneLineTwo
|
65
|
-
end
|
66
|
-
end
|
67
|
-
end
|