summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-31 08:49:14 +0200
committerErich Eckner <git@eckner.net>2019-07-31 08:49:14 +0200
commit68bc463f8f7f641a860638cc46631f5c563b5d28 (patch)
tree44477b777b258d678649242808f32b33263cad4f
parent06628a6e926160eec7674487dbaab4db15e359cd (diff)
downloadMusik-68bc463f8f7f641a860638cc46631f5c563b5d28.tar.xz
Auf_meinen_lieben_Gott: Ober- und Unterstimme konfigurierbar
-rw-r--r--Auf_meinen_lieben_Gott/Auf_meinen_lieben_Gott.ly30
-rw-r--r--Auf_meinen_lieben_Gott/Makefile16
2 files changed, 24 insertions, 22 deletions
diff --git a/Auf_meinen_lieben_Gott/Auf_meinen_lieben_Gott.ly b/Auf_meinen_lieben_Gott/Auf_meinen_lieben_Gott.ly
index 8f940ea..b1b7f9b 100644
--- a/Auf_meinen_lieben_Gott/Auf_meinen_lieben_Gott.ly
+++ b/Auf_meinen_lieben_Gott/Auf_meinen_lieben_Gott.ly
@@ -25,13 +25,13 @@
}
\new ChoirStaff <<
\set Score.skipBars = ##t
- \new Staff \with {
- fontSize = #-3
- \override StaffSymbol.staff-space = #(magstep -3)
- \override StaffSymbol.thickness = #(magstep -3)
- } <<
- \new Voice = oberstimme { \global \oneVoice \oberstimmeMelodie }
- >>
+ %Oberstimme% \new Staff \with {
+ %Oberstimme% fontSize = #-3
+ %Oberstimme% \override StaffSymbol.staff-space = #(magstep -3)
+ %Oberstimme% \override StaffSymbol.thickness = #(magstep -3)
+ %Oberstimme% } <<
+ %Oberstimme% \new Voice = oberstimme { \global \oneVoice \oberstimmeMelodie }
+ %Oberstimme% >>
\new Staff <<
\new Voice = sopran { \global \voiceOne \sopranMelodie }
\new Voice = alt { \global \voiceTwo \altMelodie }
@@ -46,14 +46,14 @@
\new Voice = tenor { \global \voiceOne \tenorMelodie }
\new Voice = bass { \global \voiceTwo \bassMelodie }
>>
- \new Staff \with {
- fontSize = #-3
- \override StaffSymbol.staff-space = #(magstep -3)
- \override StaffSymbol.thickness = #(magstep -3)
- } <<
- \clef "bass"
- \new Voice = unterstimme { \global \oneVoice \unterstimmeMelodie }
- >>
+ %Unterstimme% \new Staff \with {
+ %Unterstimme% fontSize = #-3
+ %Unterstimme% \override StaffSymbol.staff-space = #(magstep -3)
+ %Unterstimme% \override StaffSymbol.thickness = #(magstep -3)
+ %Unterstimme% } <<
+ %Unterstimme% \clef "bass"
+ %Unterstimme% \new Voice = unterstimme { \global \oneVoice \unterstimmeMelodie }
+ %Unterstimme% >>
>>
\layout {
indent = #0
diff --git a/Auf_meinen_lieben_Gott/Makefile b/Auf_meinen_lieben_Gott/Makefile
index 157c845..64d2377 100644
--- a/Auf_meinen_lieben_Gott/Makefile
+++ b/Auf_meinen_lieben_Gott/Makefile
@@ -8,16 +8,16 @@ else
# \#(set-global-staff-size 14)
endif
-ifeq ($(MIDI),1)
- MIDI_REGEX=
+ifeq ($(OBERSTIMME),1)
+ OBERSTIMMEN_REGEX=s/%Oberstimme%//;
else
- MIDI_REGEX=/\\\\midi/{ :a; s/\\\\midi[^{}]*{/\\\\midi/; tb; N; ba; :b; s/{[^{}]*}//; tb; s/\\\\midi[^{}]*}//; t; N; bb; };
+ OBERSTIMMEN_REGEX=/%Oberstimme%/d;
endif
-ifeq ($(KLAVIER),1)
- KLAVIER_REGEX=
+ifeq ($(UNTERSTIMME),1)
+ UNTERSTIMMEN_REGEX=s/%Unterstimme%//;
else
- KLAVIER_REGEX=/%Klavier%/d;
+ UNTERSTIMMEN_REGEX=/%Unterstimme%/d;
endif
all: $(CURDOC).pdf
@@ -37,7 +37,9 @@ Clean: clean
p; \
d; \
}; \
- /%[A-Z_0-9]\+%/d \
+ /%[A-Z_0-9]\+%/d; \
+ $(OBERSTIMMEN_REGEX) \
+ $(UNTERSTIMMEN_REGEX) \
" "$<" > "$@"
%.pdf: %.pre *.ly