From ec28895e0b210973732d75c4121da1472fca5e76 Mon Sep 17 00:00:00 2001 From: rekado Date: Sat, 4 Jun 2016 22:16:38 +0200 Subject: song2: Add guitar part. --- 02-song2/02-song2.ly | 9 ++++++ 02-song2/instr/guitar.ly | 33 +++++++++++++++++++++ 02-song2/parts/guitar.ly | 58 ++++++++++++++++++++++++++++++++++++ 02-song2/parts/stick.ly | 76 ++++++++++++++++-------------------------------- 4 files changed, 125 insertions(+), 51 deletions(-) create mode 100644 02-song2/instr/guitar.ly create mode 100644 02-song2/parts/guitar.ly (limited to '02-song2') diff --git a/02-song2/02-song2.ly b/02-song2/02-song2.ly index 4026d32..c07f456 100644 --- a/02-song2/02-song2.ly +++ b/02-song2/02-song2.ly @@ -9,6 +9,7 @@ \include "parts/bass.ly" \include "parts/keys.ly" \include "parts/stick.ly" +\include "parts/guitar.ly" \include "parts/click.ly" \layout { @@ -35,6 +36,14 @@ AllMusic = << midiInstrument = #"clav" pedalSustainStyle = #'bracket } { \stick } + \new TabStaff = "acoustic guitar" + \with { + stringTunings = #guitar-tuning + \RemoveEmptyStaves + \tabFullNotation + instrumentName = #"Acoustic Guitar" + shortInstrumentName = #"Guitar" + } { \tabChordRepeats \guitar } >> %% Two scores are needed: one with unfolded repeats for MIDI and the diff --git a/02-song2/instr/guitar.ly b/02-song2/instr/guitar.ly new file mode 100644 index 0000000..c5bb6dc --- /dev/null +++ b/02-song2/instr/guitar.ly @@ -0,0 +1,33 @@ +\version "2.19.27" + +\header { + title = "Song 2" + subtitle = "Acoustic Guitar" + composer = "The very pretentious elephlies" + copyright = \markup { \char ##x00A9 "2002—2016 Ricardo Wurmus" } +} + +\include "../settings.ly" +\include "parts/guitar.ly" + +\score { + \new TabStaff = "acoustic guitar" + \with { + stringTunings = #guitar-tuning + \RemoveEmptyStaves + \tabFullNotation + } { + \tabChordRepeats + \compressMMRests + \guitar + } + + \layout { + indent = #0 + short-indent = #0 + \context { + \Score + \numericTimeSignature + } + } +} diff --git a/02-song2/parts/guitar.ly b/02-song2/parts/guitar.ly new file mode 100644 index 0000000..5ea1680 --- /dev/null +++ b/02-song2/parts/guitar.ly @@ -0,0 +1,58 @@ +\include "parts/stick.ly" +guitarBreak = { + \stickIntroLeft + \stickStanzaLeft + \stickBLeft + \stickStanzaLeft + \stickBLeft +} + +%% capo 2nd fret +guitar = \relative c { + \transposition d' + \time 4/4 + #(mmrest-of-length guitarBreak) + + %% transition + \repeat volta 2 { R1*4 } + \repeat volta 4 { + r16 8 16 8 16 + 8 8 r16 r4 | + r16 8 16 8 16 + 16 r16 16 4 r8 | + } + + %% three + \time 6/8 + \repeat unfold 2 { + 16 8 q q16 q16 8 q q16 | + q16 8 q r16 a,8\5 q | + } + + 16 q r q r q + q16 8 q8 q16 | + r16 r q r q + q16 8 q8 q16 | + + 16 q r q r q + q16 8 q8 q16 | + r16 8 q r16 q8 q r8 | + + %% marta rekado + \repeat unfold 2 { + \time 5/8 16 8 q q q16 q16 16 ~ | + \time 7/8 q16 q8 q q q q16 q16 | + } \alternative { + { \time 2/4 r16 8 q r r16 |} + { \time 2/4 r16 8 q r r16 |} + } + \time 3/4 + 16 q r q r q + q16 8 q8 q16 | + r16 r q r q + q16 8 q8 q16 | + %% TODO + 2.\arpeggio | + \time 7/8 + r16 r8 r q r r8. | +} diff --git a/02-song2/parts/stick.ly b/02-song2/parts/stick.ly index 65f26ef..17b1c5c 100644 --- a/02-song2/parts/stick.ly +++ b/02-song2/parts/stick.ly @@ -72,84 +72,58 @@ stickBRight = \relative c' { 8 r16 8 r16 2 r8 | } -%% TODO: switch to acoustic guitar here +%% switch to acoustic guitar here stickTransitionLeft = \relative c, { - \repeat volta 2 { - r1 | r1 | r1 | r1 | - } - \repeat volta 4 { - r16 8 16 8 16 - 8 8 r16 r4 | - r16 8 16 8 16 - 16 r16 16 4 r8 | - } + \repeat volta 2 { R1*4 } + \repeat volta 4 { R1*2 } } stickTransitionRight = \relative c' { - \repeat volta 2 { - r1 | r1 | r1 | r1 | - } - \repeat volta 4 { - r16 a8 gis16 a8 gis16 a8 a8 r16 r4 | - r16 a8 gis16 a8 gis16 a16 r16 a16 gis4 r8 | - } + \repeat volta 2 { R1*4 } + \repeat volta 4 { R1*2 } } %% TODO: this should be played by the acoustic guitar stickThreeLeft = \relative c, { \time 6/8 - \repeat unfold 2 { - b'16 cis8 cis cis16 fis16 gis8 gis gis16 | - gis16 a8 a r16 r8 | - } - - 8. r8 16 r16 8 8 16 | - r16 a r a r a r16 8 8 16 | - 8. r8 16 r16 8 8 16 | - cis,16 8 r16 8 r8 | + \repeat unfold 2 { R2.*2 } + R2.*4 } %% TODO: this should be played by the acoustic guitar stickThreeRight = \relative c' { \time 6/8 - \repeat unfold 2 { - gis16 a8 a a16 a16 b8 b b16 | - b16 cis8 cis r16 r8 | - } - - r16 16 r 16 r r 16 8 8 16 | - r16 r r 16 8 8 16 | - r8. 8 16 16 8 8 16 | - r16 8 r16 8 r8 | + \repeat unfold 2 { R2.*2 } + R2.*4 } %% TODO: this should be played by the acoustic guitar stickMartaRekadoLeft = \relative c, { - \time 5/8 r8*5 | - \time 7/8 r8*7 | - \time 2/4 r4*2 | + \time 5/8 R8*5 | + \time 7/8 R8*7 | + \time 2/4 R4*2 | - \time 5/8 r8*5 | - \time 7/8 r8*7 | - \time 2/4 r4*2 | + \time 5/8 R8*5 | + \time 7/8 R8*7 | + \time 2/4 R4*2 | \time 3/4 - r4*3 | r4*3 | r4*3 | - \time 7/8 r8*7 | + R4*3 | R4*3 | R4*3 | + \time 7/8 R8*7 | } stickMartaRekadoRight = \relative c' { - \time 5/8 r8*5 | - \time 7/8 r8*7 | - \time 2/4 r4*2 | + \time 5/8 R8*5 | + \time 7/8 R8*7 | + \time 2/4 R4*2 | - \time 5/8 r8*5 | - \time 7/8 r8*7 | - \time 2/4 r4*2 | + \time 5/8 R8*5 | + \time 7/8 R8*7 | + \time 2/4 R4*2 | \time 3/4 - r4*3 | r4*3 | r4*3 | - \time 7/8 r8*7 | + R4*3 | R4*3 | R4*3 | + \time 7/8 R8*7 | } stickRepriseLeft = \relative c, { -- cgit v1.2.3