summaryrefslogtreecommitdiff
path: root/Still
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-03-29 08:03:28 +0100
committerErich Eckner <git@eckner.net>2019-03-29 08:03:28 +0100
commitb03acbf30ec2ac75c088bff46b7e88f3e83b6273 (patch)
tree519c8f56c6701901d968b069152cb8baac1635e4 /Still
parenta9b98706dc29fe439865618dfb8ce57aa388f8f6 (diff)
downloadMusik-b03acbf30ec2ac75c088bff46b7e88f3e83b6273.tar.xz
Still: Akkorde & Makefile neu
Diffstat (limited to 'Still')
-rw-r--r--Still/Makefile43
-rw-r--r--Still/Still.ly22
-rw-r--r--Still/stimmen.ly24
3 files changed, 81 insertions, 8 deletions
diff --git a/Still/Makefile b/Still/Makefile
new file mode 100644
index 0000000..921a24f
--- /dev/null
+++ b/Still/Makefile
@@ -0,0 +1,43 @@
+CURDOC=$(shell basename "$(CURDIR)")
+STROPHEN=[1-9]\|1[01]
+
+ifeq ($(FUER),ewe)
+ SPEZIFISCH=\#(set! paper-alist (cons '(\"kindle\" . (cons (* 210 mm) (* 130 mm))) paper-alist))\n\#(set-default-paper-size \"kindle\")
+else
+ SPEZIFISCH=\#(set-global-staff-size 19.5)
+endif
+
+ifeq ($(MIDI),1)
+ MIDI_REGEX=
+else
+ MIDI_REGEX=/\\\\midi/{ :a; s/\\\\midi[^{}]*{/\\\\midi/; tb; N; ba; :b; s/{[^{}]*}//; tb; s/\\\\midi[^{}]*}//; t; N; bb; };
+endif
+
+ifeq ($(KLAVIER),1)
+ KLAVIER_REGEX=
+else
+ KLAVIER_REGEX=/%Klavier%/d;
+endif
+
+all: $(CURDOC).pdf
+ pkill -SIGHUP -xf 'mupdf(-x11)? (.*/)?$<'
+
+clean:
+ rm -f *.pre
+
+Clean: clean
+ rm -f *.pdf *.midi
+
+%.pre: %.ly
+ sed " \
+ s@%spezifisch%@$(SPEZIFISCH)@ ; \
+ /%STR_\($(STROPHEN)\)%/{ \
+ s/%[A-Z_0-9]\+%//; \
+ p; \
+ d; \
+ }; \
+ /%[A-Z_0-9]\+%/d \
+ " "$<" > "$@"
+
+%.pdf: %.pre *.ly
+ lilypond $<
diff --git a/Still/Still.ly b/Still/Still.ly
index f85f159..13103f5 100644
--- a/Still/Still.ly
+++ b/Still/Still.ly
@@ -1,24 +1,30 @@
+\version "2.19.82"
+
\include "deutsch.ly"
+#(ly:set-option 'relative-includes #t)
\include "stimmen.ly"
\include "texte.ly"
+#(ly:set-option 'relative-includes #f)
-\pointAndClickOff
+%spezifisch%
-#(set! paper-alist (cons '("kindle" . (cons (* 210 mm) (* 130 mm))) paper-alist))
-#(set-default-paper-size "kindle")
+\pointAndClickOff
\header {
- title = "Still"
- composer = "Melodie: Reuben Morgan"
- poet = "Text: Reuben Morgan"
- arranger = "Chorsatz: Daniel Scheufler"
- meter = "Deutsch: Winnie Schweitzer"
tagline = ##f
}
\score {
+ \header {
+ title = "Still"
+ composer = "Melodie: Reuben Morgan"
+ poet = "Text: Reuben Morgan"
+ arranger = "Chorsatz: Daniel Scheufler"
+ meter = "Deutsch: Winnie Schweitzer"
+ }
\new ChoirStaff <<
\set Score.skipBars = ##t
+ \new ChordNames { \global \akkorde }
\new Lyrics = "sopranTextI" {}
\new Lyrics = "sopranTextII" {}
\new Staff <<
diff --git a/Still/stimmen.ly b/Still/stimmen.ly
index 96d13d6..3b07bca 100644
--- a/Still/stimmen.ly
+++ b/Still/stimmen.ly
@@ -7,6 +7,30 @@ global = {
\partial 8
}
+akkorde = \chordmode {
+ s8 |
+ s1*4 |
+ \repeat volta 2 {
+ c2 g |
+ f c |
+ f d |
+ g gis |
+ a:m7 c |
+ f c |
+ d1:m7 |
+ g2 c |
+ f g |
+ c1 |
+ f2 g |
+ a:m c |
+ f g:7 |
+ f4 c g2 |
+ f g |
+ f1*4 |
+ }
+ s1 |
+}
+
frauenPausen = {
r8 |
R1*4 |