diff --git a/build.sh b/build.sh index a5628e6..10e48a9 100755 --- a/build.sh +++ b/build.sh @@ -39,7 +39,7 @@ function compile-ly { $LILYPOND -I "$PWD/src/includes" -I "$PWD/src/pieces" -o "dist/$DIR_NAME/$BASE_NAME" $1 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 } @@ -70,7 +70,7 @@ function command-compile { function command-watch { 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@') compile-ly $FILE done diff --git a/src/pieces/greensleeves.ly b/src/pieces/greensleeves.ly new file mode 100644 index 0000000..c45b254 --- /dev/null +++ b/src/pieces/greensleeves.ly @@ -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. | + } +} diff --git a/src/pieces/song-of-the-volga-boatmen.ly b/src/pieces/song-of-the-volga-boatmen.ly new file mode 100644 index 0000000..fa5ff28 --- /dev/null +++ b/src/pieces/song-of-the-volga-boatmen.ly @@ -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 >> diff --git a/src/scores/clarinet-solo/greensleeves.ly b/src/scores/clarinet-solo/greensleeves.ly index c4de9cc..e396d8a 100644 --- a/src/scores/clarinet-solo/greensleeves.ly +++ b/src/scores/clarinet-solo/greensleeves.ly @@ -1,37 +1,4 @@ -% 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. | - } -} +\include "greensleeves.ly" \book { \score { diff --git a/src/scores/clarinet-solo/song-of-the-volga-boatmen.ly b/src/scores/clarinet-solo/song-of-the-volga-boatmen.ly index 36c984d..455859d 100644 --- a/src/scores/clarinet-solo/song-of-the-volga-boatmen.ly +++ b/src/scores/clarinet-solo/song-of-the-volga-boatmen.ly @@ -1,46 +1,14 @@ % 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" -} - -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 \! | -} +\include "song-of-the-volga-boatmen.ly" \book { \score { - \layout { - \context { - \Score - proportionalNotationDuration = #(ly:make-moment 1/4) - } - } \new Staff \with { instrumentName = "Clarinet" } { - << \melody \decoration >> + \melody } } } diff --git a/src/scores/sax-tenor-solo/greensleeves.ly b/src/scores/sax-tenor-solo/greensleeves.ly new file mode 100644 index 0000000..7649cb3 --- /dev/null +++ b/src/scores/sax-tenor-solo/greensleeves.ly @@ -0,0 +1,12 @@ +\include "greensleeves.ly" + +\book { + \score { + \new Staff \with { + instrumentName = "Tenor Sax" + } { + \transpose c' c'' + \melody + } + } +} diff --git a/src/scores/sax-tenor-solo/saxophone-fingerings.png b/src/scores/sax-tenor-solo/saxophone-fingerings.png new file mode 100644 index 0000000..261a117 Binary files /dev/null and b/src/scores/sax-tenor-solo/saxophone-fingerings.png differ diff --git a/src/scores/sax-tenor-solo/song-of-the-volga-boatmen.ly b/src/scores/sax-tenor-solo/song-of-the-volga-boatmen.ly new file mode 100644 index 0000000..a4017f0 --- /dev/null +++ b/src/scores/sax-tenor-solo/song-of-the-volga-boatmen.ly @@ -0,0 +1,12 @@ +\include "song-of-the-volga-boatmen.ly" + +\book { + \score { + \new Staff \with { + instrumentName = "Tenor Sax" + } { + \transpose g' bf' + \melody + } + } +}