From 4ddb75c00d2340458e89dd8457381450711bd28a Mon Sep 17 00:00:00 2001 From: Andrew Miner Date: Mon, 4 May 2026 18:58:42 -0600 Subject: [PATCH] Add 'E Lucevan el stelle' for violin --- build.sh | 15 +--------- src/includes/functions.ly | 4 +-- src/pieces/e-lucevan-le-stelle.ly | 29 +++++++++++++++++++ .../violin-solo/violin-e-lucevan-le-stelle.ly | 12 ++++++++ 4 files changed, 44 insertions(+), 16 deletions(-) create mode 100644 src/pieces/e-lucevan-le-stelle.ly create mode 100644 src/scores/violin-solo/violin-e-lucevan-le-stelle.ly diff --git a/build.sh b/build.sh index c737e09..4c03435 100755 --- a/build.sh +++ b/build.sh @@ -3,7 +3,7 @@ # Constants ############################################################################################################ read -d  USAGE <<-END -USAGE: $0 (--view) +USAGE: $0 (--view) END @@ -15,10 +15,6 @@ function cancel { } function check-dependencies { - if ! which -s "fswatch"; then - brew install fswatch - fi - if ! which -s "lilypond"; then brew install lilypond fi @@ -61,14 +57,6 @@ function command-compile { done } -function command-watch { - CURRENT_DIR=$(dirname $0) - 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 -} - # Initialization ####################################################################################################### check-dependencies @@ -97,6 +85,5 @@ case "$COMMAND" in clean) command-clean;; compile) command-compile;; help|-h|-?|--help) usage;; - watch) command-watch;; *) cancel "Unrecognized command: $COMMAND" esac diff --git a/src/includes/functions.ly b/src/includes/functions.ly index 6669f56..b200be7 100755 --- a/src/includes/functions.ly +++ b/src/includes/functions.ly @@ -55,8 +55,8 @@ naturalizeMusic = #(define-music-function (parser location m) ) ) -scoop = \once \override NoteHead #'stencil = #scoop-stencil +scoop = \once \override NoteHead.stencil = #scoop-stencil toCoda = \markup { \fontsize #-2 \lower #1 "TO" \musicglyph #"scripts.coda" -} \ No newline at end of file +} diff --git a/src/pieces/e-lucevan-le-stelle.ly b/src/pieces/e-lucevan-le-stelle.ly new file mode 100644 index 0000000..f56281a --- /dev/null +++ b/src/pieces/e-lucevan-le-stelle.ly @@ -0,0 +1,29 @@ +\include "globals.ly" + +\header { + title = "E Lucevan le Stelle" + subtitle = "from Tosca" + composer = "Puccini" +} + +melody = \relative c'' { + \tempo "Andante lento appassionato molto" + \numericTimeSignature + \key cs \minor + + %{ 1 %} | \time 6/4 s4\p s8 gs8 ds' e fs(^\markup "rubando" gs fs e) ds8.^\markup "rit." gs,16 + %{ 2 %} \bar "||" \time 3/4 cs4. cs8( ds8 e8 + %{ 3 %} | a,4~ a8.) a16( b cs ds e) + %{ 4 %} | fs8[ gs a b] \grace { a16 b16( } a8.) fs16( + %{ 5 %} | gs4) gs2( + %{ 6 %} | gs16) gs, ds' e fs( gs fs e) ds8. gs,16( + %{ 7 %} | cs4.)\< cs8( ds e + %{ 8 %} | a4) a2(\!\mf + %{ 9 %} | a8) a a a fs8. ds16( + %{ 10 %} | gs2.)\> + %{ 11 %} | s8\! gs gs gs ds8. bs16(\< + %{ 12 %} | e4)\! e2\> + %{ 13 %} \bar "||" \time 4/4 s8\!\mf b8(^\markup "so st'do vagamente" fs' gs) a( b) a16( gs fs b,) + %{ 14 %} | \time 3/4 e8^\markup "affrett." e4. ds8.(^\markup "rit." gs,16 + %{ 15 %} | cs2.) +} diff --git a/src/scores/violin-solo/violin-e-lucevan-le-stelle.ly b/src/scores/violin-solo/violin-e-lucevan-le-stelle.ly new file mode 100644 index 0000000..90c395d --- /dev/null +++ b/src/scores/violin-solo/violin-e-lucevan-le-stelle.ly @@ -0,0 +1,12 @@ +\version "2.24.4" +\include "e-lucevan-le-stelle.ly" + +\book { + \score { + \new Staff \with { + instrumentName = "Violin" + } { + \transpose c bf, \melody + } + } +}