diff options
author | Erich Eckner <git@eckner.net> | 2019-11-11 10:04:18 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-11-11 10:04:18 +0100 |
commit | 2e1cd1e452ac5ae1bf04a9767dfbab3ff991ee92 (patch) | |
tree | 0a5a7830734fc15535df57bdd2ed038ca18058c2 /Lobsinget_Gott_dem_Herrn | |
parent | 3d59a1c8ce6be759609c183017d8e881f3d791f1 (diff) | |
download | Musik-2e1cd1e452ac5ae1bf04a9767dfbab3ff991ee92.tar.xz |
Lobsinget_Gott_dem_Herrn: Klavierstimme optional
Diffstat (limited to 'Lobsinget_Gott_dem_Herrn')
-rw-r--r-- | Lobsinget_Gott_dem_Herrn/Lobsinget_Gott_dem_Herrn.ly | 24 | ||||
-rw-r--r-- | Lobsinget_Gott_dem_Herrn/Makefile | 8 |
2 files changed, 19 insertions, 13 deletions
diff --git a/Lobsinget_Gott_dem_Herrn/Lobsinget_Gott_dem_Herrn.ly b/Lobsinget_Gott_dem_Herrn/Lobsinget_Gott_dem_Herrn.ly index 91ac149..afc8726 100644 --- a/Lobsinget_Gott_dem_Herrn/Lobsinget_Gott_dem_Herrn.ly +++ b/Lobsinget_Gott_dem_Herrn/Lobsinget_Gott_dem_Herrn.ly @@ -43,17 +43,17 @@ \new Voice = bass { \global \clef "bass" \voiceTwo \bassMelodie } >> \new Lyrics \lyricsto bass { \maennerText } - \new PianoStaff << - \new Staff = klavierRechts << - \new Voice = rechteHand { \global \oneVoice \klavierRechts } - \new Voice = rechteHandO { \global \voiceOne \klavierRechtsO } - \new Voice = rechteHandU { \global \voiceTwo \klavierRechtsU } - >> - \new Staff = klavierLinks << - \new Voice = linkeHand { \global \clef "bass" \oneVoice \klavierLinks } - \new Voice = linkeHandO { \global \clef "bass" \voiceOne \klavierLinksO } - \new Voice = linkeHandU { \global \clef "bass" \voiceTwo \klavierLinksU } - >> - >> + \new PianoStaff << %Klavier% + \new Staff = klavierRechts << %Klavier% + \new Voice = rechteHand { \global \oneVoice \klavierRechts } %Klavier% + \new Voice = rechteHandO { \global \voiceOne \klavierRechtsO } %Klavier% + \new Voice = rechteHandU { \global \voiceTwo \klavierRechtsU } %Klavier% + >> %Klavier% + \new Staff = klavierLinks << %Klavier% + \new Voice = linkeHand { \global \clef "bass" \oneVoice \klavierLinks } %Klavier% + \new Voice = linkeHandO { \global \clef "bass" \voiceOne \klavierLinksO } %Klavier% + \new Voice = linkeHandU { \global \clef "bass" \voiceTwo \klavierLinksU } %Klavier% + >> %Klavier% + >> %Klavier% >> } diff --git a/Lobsinget_Gott_dem_Herrn/Makefile b/Lobsinget_Gott_dem_Herrn/Makefile index 300cdb2..b49439c 100644 --- a/Lobsinget_Gott_dem_Herrn/Makefile +++ b/Lobsinget_Gott_dem_Herrn/Makefile @@ -7,6 +7,12 @@ else # \#(set-global-staff-size 14) endif +ifeq ($(KLAVIER),1) + KLAVIER_REGEX= +else + KLAVIER_REGEX=/%Klavier%/d; +endif + all: $(CURDOC).pdf pkill -SIGHUP -xf 'mupdf(-x11)? (.*/)?$<' || true @@ -17,7 +23,7 @@ Clean: clean rm -f *.pdf *.midi %.pre: %.ly - sed "s@%spezifisch%@$(SPEZIFISCH)@" "$<" > "$@" + sed "s@%spezifisch%@$(SPEZIFISCH)@;$(KLAVIER_REGEX)" "$<" > "$@" %.pdf: %.pre *.ly lilypond $< |