summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xHerr_erbarme_dich_erbarme_dich/Herr_erbarme_dich_erbarme_dich.ly32
-rw-r--r--Herr_erbarme_dich_erbarme_dich/Makefile41
-rw-r--r--Herr_erbarme_dich_erbarme_dich/stimmen.ly16
-rw-r--r--Herr_erbarme_dich_erbarme_dich/texte.ly6
4 files changed, 95 insertions, 0 deletions
diff --git a/Herr_erbarme_dich_erbarme_dich/Herr_erbarme_dich_erbarme_dich.ly b/Herr_erbarme_dich_erbarme_dich/Herr_erbarme_dich_erbarme_dich.ly
new file mode 100755
index 0000000..b82d57e
--- /dev/null
+++ b/Herr_erbarme_dich_erbarme_dich/Herr_erbarme_dich_erbarme_dich.ly
@@ -0,0 +1,32 @@
+\include "deutsch.ly"
+#(ly:set-option 'relative-includes #t)
+\include "stimmen.ly"
+\include "texte.ly"
+#(ly:set-option 'relative-includes #f)
+
+%spezifisch%
+
+\pointAndClickOff
+
+\header {
+ tagline = ""
+}
+\paper {
+ top-margin = 5
+ print-all-headers = ##t
+}
+
+\score {
+ \header {
+ title = "Herr, erbarme dich, erbarme dich"
+ }
+ \new ChoirStaff <<
+ \new Staff <<
+ \new Voice = "sopran" \melodie
+ \new Lyrics \lyricsto "sopran" \text
+ >>
+ >>
+ \layout {
+ indent = #0
+ }
+}
diff --git a/Herr_erbarme_dich_erbarme_dich/Makefile b/Herr_erbarme_dich_erbarme_dich/Makefile
new file mode 100644
index 0000000..358c2a7
--- /dev/null
+++ b/Herr_erbarme_dich_erbarme_dich/Makefile
@@ -0,0 +1,41 @@
+CURDOC=$(shell basename "$(CURDIR)")
+STROPHEN=[1-3]
+UNTERSTIMMEN=1
+
+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 14)
+endif
+
+ifeq ($(UNTERSTIMMEN),1)
+ UNTERSTIMMEN_REGEX=s@%unterstimme%@@
+else
+ UNTERSTIMMEN_REGEX=
+endif
+
+all: $(CURDOC).pdf
+
+clean:
+ rm -f *.pre
+
+Clean: clean
+ rm -f *.pdf *.midi
+
+%.pre: %.ly
+ sed " \
+ s@%spezifisch%@$(SPEZIFISCH)@ ; \
+ s@%spezifisch%@$(SPEZIFISCH)@ ; \
+ $(UNTERSTIMMEN_REGEX); \
+ /%STR_\($(STROPHEN)\)%/{ \
+ s/%[A-Z_0-9]\+%//; \
+ p; \
+ d; \
+ }; \
+ /%[A-Z_0-9]\+%/d \
+ " "$<" > "$@"
+
+%.pdf: %.pre *.ly
+ lilypond $<
+
diff --git a/Herr_erbarme_dich_erbarme_dich/stimmen.ly b/Herr_erbarme_dich_erbarme_dich/stimmen.ly
new file mode 100644
index 0000000..ed4fbee
--- /dev/null
+++ b/Herr_erbarme_dich_erbarme_dich/stimmen.ly
@@ -0,0 +1,16 @@
+Praes = {
+ \time 2/2
+ \key c \minor
+ \autoBeamOff
+}
+
+melodie = \relative e' {
+ e2. e4 |
+ e d d2 |
+ r4 f f f |
+ e1 |
+ a2. a4 |
+ a g g2 |
+ a4 g f e |
+ d1 | \bar "|."
+}
diff --git a/Herr_erbarme_dich_erbarme_dich/texte.ly b/Herr_erbarme_dich_erbarme_dich/texte.ly
new file mode 100644
index 0000000..b691d90
--- /dev/null
+++ b/Herr_erbarme_dich_erbarme_dich/texte.ly
@@ -0,0 +1,6 @@
+text = \lyricmode {
+ Herr, er -- bar -- me dich,
+ er -- bar -- me dich.
+ Herr, er -- bar -- me dich,
+ Herr, er -- bar -- me dich.
+}