summaryrefslogtreecommitdiff
path: root/Jena_Lied
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-03-12 12:08:32 +0100
committerErich Eckner <git@eckner.net>2019-03-12 12:08:32 +0100
commit5805175037231ad9e318a93af442f154ca8a57d9 (patch)
treef0869cc7de65588e2d7930edd9987212fb5b663e /Jena_Lied
parentd51d512b2fbfc9849a8f6181e3999e2c40158f5e (diff)
downloadMusik-5805175037231ad9e318a93af442f154ca8a57d9.tar.xz
Jena_Lied: Bass konfigurierbar
Diffstat (limited to 'Jena_Lied')
-rw-r--r--Jena_Lied/Jena_Lied.ly6
-rw-r--r--Jena_Lied/Makefile11
2 files changed, 13 insertions, 4 deletions
diff --git a/Jena_Lied/Jena_Lied.ly b/Jena_Lied/Jena_Lied.ly
index 48c9f0b..f2f62a9 100644
--- a/Jena_Lied/Jena_Lied.ly
+++ b/Jena_Lied/Jena_Lied.ly
@@ -41,9 +41,9 @@
\new Lyrics = textV { }
\new Lyrics = textVI { }
- \new Staff <<
- \new Voice = bass { \global \clef "bass" \melodieBass }
- >>
+ \new Staff << %Bass%
+ \new Voice = bass { \global \clef "bass" \melodieBass } %Bass%
+ >> %Bass%
\context Lyrics = textI \lyricsto melodie { \textI }
\context Lyrics = textII \lyricsto melodie { \textII }
diff --git a/Jena_Lied/Makefile b/Jena_Lied/Makefile
index ef6dedf..f3d138c 100644
--- a/Jena_Lied/Makefile
+++ b/Jena_Lied/Makefile
@@ -7,6 +7,12 @@ else
# \#(set-global-staff-size 14)
endif
+ifeq ($(BASS),1)
+ BASS_REGEX=
+else
+ BASS_REGEX=/%Bass%/d;
+endif
+
all: $(CURDOC).pdf
clean:
@@ -16,7 +22,10 @@ Clean: clean
rm -f *.pdf *.midi
%.pre: %.ly
- sed "s@%spezifisch%@$(SPEZIFISCH)@" "$<" > "$@"
+ sed " \
+ s@%spezifisch%@$(SPEZIFISCH)@ ; \
+ $(BASS_REGEX) ; \
+ " "$<" > "$@"
%.pdf: %.pre *.ly
lilypond $<