diff options
author | Erich Eckner <git@eckner.net> | 2019-08-17 22:13:17 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-08-17 22:13:17 +0200 |
commit | c63ae0bc4ca7997e4c56b48cd07aa426ffd7a5ac (patch) | |
tree | 70682744a65605cce31bc669ffa4b076ed10b968 | |
parent | afebb697442613040a8309dd9690bd36282ebc3c (diff) | |
download | Musik-c63ae0bc4ca7997e4c56b48cd07aa426ffd7a5ac.tar.xz |
Lobe_den_Herren_: Oberstimme neu, alles transponierbar
-rw-r--r-- | Lobe_den_Herren_/Lobe_den_Herren_.ly | 15 | ||||
-rw-r--r-- | Lobe_den_Herren_/Makefile | 9 | ||||
-rw-r--r-- | Lobe_den_Herren_/stimmen.ly | 19 |
3 files changed, 39 insertions, 4 deletions
diff --git a/Lobe_den_Herren_/Lobe_den_Herren_.ly b/Lobe_den_Herren_/Lobe_den_Herren_.ly index 4f5ebe3..0b7cf90 100644 --- a/Lobe_den_Herren_/Lobe_den_Herren_.ly +++ b/Lobe_den_Herren_/Lobe_den_Herren_.ly @@ -26,9 +26,16 @@ } \new ChoirStaff << \set Score.skipBars = ##t + %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 \transpose c %TRANSPOSE% { \global \oneVoice \trombaIMelodie } + %Oberstimme% >> \new Staff << - \new Voice = sopran { \global \voiceOne \sopranMelodie } - \new Voice = alt { \global \voiceTwo \altMelodie } + \new Voice = sopran \transpose c %TRANSPOSE% { \global \voiceOne \sopranMelodie } + \new Voice = alt \transpose c %TRANSPOSE% { \global \voiceTwo \altMelodie } >> %STR_1% \new Lyrics \lyricsto alt { \textI } %STR_1% \new Lyrics \lyricsto alt { \textIb } @@ -42,8 +49,8 @@ %STR_5% \new Lyrics \lyricsto alt { \textVb } \new Staff << \clef "bass" - \new Voice = tenor { \global \voiceOne \tenorMelodie } - \new Voice = bass { \global \voiceTwo \bassMelodie } + \new Voice = tenor \transpose c %TRANSPOSE% { \global \voiceOne \tenorMelodie } + \new Voice = bass \transpose c %TRANSPOSE% { \global \voiceTwo \bassMelodie } >> >> \layout { diff --git a/Lobe_den_Herren_/Makefile b/Lobe_den_Herren_/Makefile index 534dba3..86849a0 100644 --- a/Lobe_den_Herren_/Makefile +++ b/Lobe_den_Herren_/Makefile @@ -1,5 +1,6 @@ CURDOC=$(shell basename "$(CURDIR)") STROPHEN=[1-5] +TRANSPOSE=c ifeq ($(FUER),ewe) SPEZIFISCH=\#(set! paper-alist (cons '(\"kindle\" . (cons (* 210 mm) (* 130 mm))) paper-alist))\n\#(set-default-paper-size \"kindle\") @@ -8,6 +9,12 @@ else # \#(set-global-staff-size 14) endif +ifeq ($(OBERSTIMME),1) + OBERSTIMMEN_REGEX=s/%Oberstimme%//; +else + OBERSTIMMEN_REGEX=/%Oberstimme%/d; +endif + all: $(CURDOC).pdf pkill -SIGHUP -xf 'mupdf(-x11)? (.*/)?$<' || true @@ -20,6 +27,8 @@ Clean: clean %.pre: %.ly sed " \ s@%spezifisch%@$(SPEZIFISCH)@ ; \ + s@%TRANSPOSE%@$(TRANSPOSE)@g; \ + $(OBERSTIMMEN_REGEX) \ /%STR_\($(STROPHEN)\)%/{ \ s/%[A-Z_0-9]\+%//; \ p; \ diff --git a/Lobe_den_Herren_/stimmen.ly b/Lobe_den_Herren_/stimmen.ly index 09c8544..3a303cd 100644 --- a/Lobe_den_Herren_/stimmen.ly +++ b/Lobe_den_Herren_/stimmen.ly @@ -11,6 +11,25 @@ global = { % Die Stimmen +trombaIMelodie = \relative g'' { + \autoBeamOn + \repeat volta 2 { + g4 g g | + g4. g8 a4 | + h g h | + c h c8 a | + h2 c4 | + } + g4. b8 a g | + f2. | + c4. d8 d4^\markup { \italic "tr" } | + e8 d e f g a | + h2. | + g~ | + g8 f g a g a | + g a16 h h4^\markup { \italic "[tr]" } c^\fermata | \bar "|." +} + sopranMelodie = \relative c'' { \repeat volta 2 { c4 c g' | |