summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Kanons/Lobet_und_preiset/Lobet_und_preiset.ly31
-rw-r--r--Kanons/Lobet_und_preiset/Makefile44
-rw-r--r--Kanons/Lobet_und_preiset/stimmen.ly22
-rw-r--r--Kanons/Lobet_und_preiset/texte.ly5
4 files changed, 102 insertions, 0 deletions
diff --git a/Kanons/Lobet_und_preiset/Lobet_und_preiset.ly b/Kanons/Lobet_und_preiset/Lobet_und_preiset.ly
new file mode 100644
index 0000000..bd6d41b
--- /dev/null
+++ b/Kanons/Lobet_und_preiset/Lobet_und_preiset.ly
@@ -0,0 +1,31 @@
+\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 = ##f
+}
+\paper {
+ top-margin = 5
+ print-all-headers = ##t
+}
+
+\score {
+ \header {
+ title = "Lobet und preiset"
+ }
+ \new Staff <<
+ \new Voice = melodie { \global \melodie }
+ \new Lyrics \lyricsto melodie { \text }
+ >>
+ \layout {
+ indent = #0
+ ragged-last = ##f
+ }
+}
diff --git a/Kanons/Lobet_und_preiset/Makefile b/Kanons/Lobet_und_preiset/Makefile
new file mode 100644
index 0000000..ca9dbe1
--- /dev/null
+++ b/Kanons/Lobet_und_preiset/Makefile
@@ -0,0 +1,44 @@
+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 14)
+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/Kanons/Lobet_und_preiset/stimmen.ly b/Kanons/Lobet_und_preiset/stimmen.ly
new file mode 100644
index 0000000..18423dd
--- /dev/null
+++ b/Kanons/Lobet_und_preiset/stimmen.ly
@@ -0,0 +1,22 @@
+global = {
+ \key es \major
+ \time 3/4
+ \autoBeamOff
+}
+
+melodie = \relative b' {
+ \repeat volta 2 {
+ b4^\markup { "1." } b b |
+ b4. as8 g4 |
+ as g f |
+ g2.^\fermata |
+ g4^\markup { "2." } g g |
+ g4. f8 es4 |
+ f es d |
+ es2.^\fermata |
+ es2^\markup { "3." } es4 |
+ es2 es4 |
+ b b b |
+ es2. |
+ }
+}
diff --git a/Kanons/Lobet_und_preiset/texte.ly b/Kanons/Lobet_und_preiset/texte.ly
new file mode 100644
index 0000000..7b02172
--- /dev/null
+++ b/Kanons/Lobet_und_preiset/texte.ly
@@ -0,0 +1,5 @@
+text = \lyricmode {
+ Lo -- bet und prei -- set ihr Völ -- ker den Herrn,
+ freu -- et euch sei -- ner und die -- net ihm gern.
+ All ihr Völ -- ker, lo -- bet den Herrn.
+}