Start breaking up music into pieces/score parts

This commit is contained in:
Andrew Miner
2017-08-28 18:28:26 -07:00
parent e62a87bcd2
commit a3ec651687
8 changed files with 95 additions and 70 deletions
+2 -2
View File
@@ -39,7 +39,7 @@ function compile-ly {
$LILYPOND -I "$PWD/src/includes" -I "$PWD/src/pieces" -o "dist/$DIR_NAME/$BASE_NAME" $1 $LILYPOND -I "$PWD/src/includes" -I "$PWD/src/pieces" -o "dist/$DIR_NAME/$BASE_NAME" $1
if [[ "$VIEW" == "YES" ]]; then if [[ "$VIEW" == "YES" ]]; then
open -a "/Applications/Preview.app" -g "dist/$DIR_NAME/$BASE_NAME.pdf" open -a "/Applications/Safari.app" -g "dist/$DIR_NAME/$BASE_NAME.pdf"
fi fi
} }
@@ -70,7 +70,7 @@ function command-compile {
function command-watch { function command-watch {
CURRENT_DIR=$(dirname $0) CURRENT_DIR=$(dirname $0)
$FSWATCH -r src/scores | grep '\.ly$' --line-buffered | grep -v 'includes' --line-buffered | while read FILE; do $FSWATCH -r src/scores | egrep '\.ly$' --line-buffered | grep -v 'includes' --line-buffered | while read FILE; do
FILE=$(echo $FILE | sed 's@.*/src/scores/\(.*\)$@./src/scores/\1@') FILE=$(echo $FILE | sed 's@.*/src/scores/\(.*\)$@./src/scores/\1@')
compile-ly $FILE compile-ly $FILE
done done
+34
View File
@@ -0,0 +1,34 @@
% Copied from Easy Classical Clarinet Solos by Javier Marcó
% pg 19
\include "globals.ly"
\header {
title = "Greensleeves"
composer = "Traditional"
arranger = "arr. Javier Marcó"
}
melody = \relative c' {
\tempo "Andante"
\time 3/4
\key c \major
r2 a4 \mf |
\repeat volta 2 {
c2 d4 | e4. f8 e4 | d2 b4 | g4. a8 b4 |
c2 a4 | a4. gs8 a4 | b2 gs4 | e2 a4 |
c2 d4 | e4. f8 e4 | d2 b4 | g4. a8 b4 |
c4. b8 a4 | gs4. fs8 gs4 | a2 a4 |
}
\alternative {{ a2 a4 } { a2. }}
\repeat volta 2 {
g'2. | g4. f8 e4 | d2 b4 | g4. a8 b4 |
c2 a4 | a4. fs8 a4 | b2 gs4 | e2. |
g'2. | g4. f8 e4 | d2 b4 | g4. a8 b4 |
c4. b8 a4 | gs4. fs8 gs4 | a2 a4 | a2. |
}
}
+32
View File
@@ -0,0 +1,32 @@
% Copied from First Book of Clarinet Solos by John Davies and Paul Reade
% pg 2
\include "globals.ly"
\header {
title = "Song of the Volga Boatmen"
composer = "Traditional"
arranger = "arr. Paul Reade"
}
melodyNotes = \relative c' {
\tempo "Lento e sostenuto"
\numericTimeSignature \time 2/2
\key a \minor
c4 a d2 | a2 r | c4 a d2 | a2 r | c2 f | e4 f8-- e d2 |
c4 a d2 | a2 r | c2. c4 | c4-- bf a g | a2 c | a2 r | c2. c4 |
c4-- bf a g | a2 c | a2 r | d2 d4 d | a2 a | f'2 e4 d | c2 a |
d2 f | d4 f8-- e d2 | c4 a d2 | a2 r | c4 a d2 | a2 r |
\bar "|."
}
melodyDecoration = \relative c' {
s4 \mf \< s4 s2 \! \> | s2 s2 \! | s4 \< s4 s2 \! \> | s2 \! s2 | s1 | s1 |
s4 \< s2 s4 \! \> | s2 s2 \! | s2. \p s4 | s4 s4 \< s4 s4 \! | s2 \> s2 | s2 \! s2 | s1 |
s4 s4 \< s4 s4 \! | s2 \> s2 \! | s1 | s2 \f s2 | s1 | s1 | s1 |
s2 \cresc s2 | s1 \! | s4 s4 s2 \dim | s2 s2 \! | s4 \< s4 \s2 \! \> | s2 s2 \! |
}
melody = << \melodyNotes \melodyDecoration >>
+1 -34
View File
@@ -1,37 +1,4 @@
% Copied from Easy Classical Clarinet Solos by Javier Marcó \include "greensleeves.ly"
% pg 19
\include "globals.ly"
\header {
title = "Greensleeves"
composer = "Traditional"
arranger = "arr. Javier Marcó"
}
melody = \relative c' {
\tempo "Andante"
\time 3/4
\key c \major
r2 a4 \mf |
\repeat volta 2 {
c2 d4 | e4. f8 e4 | d2 b4 | g4. a8 b4 |
c2 a4 | a4. gs8 a4 | b2 gs4 | e2 a4 |
c2 d4 | e4. f8 e4 | d2 b4 | g4. a8 b4 |
c4. b8 a4 | gs4. fs8 gs4 | a2 a4 |
}
\alternative {{ a2 a4 } { a2. }}
\repeat volta 2 {
g'2. | g4. f8 e4 | d2 b4 | g4. a8 b4 |
c2 a4 | a4. fs8 a4 | b2 gs4 | e2. |
g'2. | g4. f8 e4 | d2 b4 | g4. a8 b4 |
c4. b8 a4 | gs4. fs8 gs4 | a2 a4 | a2. |
}
}
\book { \book {
\score { \score {
@@ -1,46 +1,14 @@
% Copied from First Book of Clarinet Solos by John Davies and Paul Reade % Copied from First Book of Clarinet Solos by John Davies and Paul Reade
% pg 2 % pg 2
\include "globals.ly" \include "song-of-the-volga-boatmen.ly"
\header {
title = "Song of the Volga Boatmen"
composer = "Traditional"
arranger = "arr. Paul Reade"
}
melody = \relative c' {
\tempo "Lento e sostenuto"
\numericTimeSignature \time 2/2
\key a \minor
c4 a d2 | a2 r | c4 a d2 | a2 r | c2 f | e4 f8-- e d2 |
c4 a d2 | a2 r | c2. c4 | c4-- bf a g | a2 c | a2 r | c2. c4 |
c4-- bf a g | a2 c | a2 r | d2 d4 d | a2 a | f'2 e4 d | c2 a |
d2 f | d4 f8-- e d2 | c4 a d2 | a2 r | c4 a d2 | a2 r |
\bar "|."
}
decoration = \relative c' {
s4 \mf \< s4 s2 \! \> | s2 s2 \! | s4 \< s4 s2 \! \> | s2 \! s2 | s1 | s1 |
s4 \< s2 s4 \! \> | s2 s2 \! | s2. \p s4 | s4 s4 \< s4 s4 \! | s2 \> s2 | s2 \! s2 | s1 |
s4 s4 \< s4 s4 \! | s2 \> s2 \! | s1 | s2 \f s2 | s1 | s1 | s1 |
s2 \cresc s2 | s1 \! | s4 s4 s2 \dim | s2 s2 \! | s4 \< s4 \2 \! \> | s2 s2 \! |
}
\book { \book {
\score { \score {
\layout {
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/4)
}
}
\new Staff \with { \new Staff \with {
instrumentName = "Clarinet" instrumentName = "Clarinet"
} { } {
<< \melody \decoration >> \melody
} }
} }
} }
+12
View File
@@ -0,0 +1,12 @@
\include "greensleeves.ly"
\book {
\score {
\new Staff \with {
instrumentName = "Tenor Sax"
} {
\transpose c' c''
\melody
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 MiB

@@ -0,0 +1,12 @@
\include "song-of-the-volga-boatmen.ly"
\book {
\score {
\new Staff \with {
instrumentName = "Tenor Sax"
} {
\transpose g' bf'
\melody
}
}
}