summaryrefslogtreecommitdiff
path: root/hr/schott/life
diff options
context:
space:
mode:
Diffstat (limited to 'hr/schott/life')
-rw-r--r--hr/schott/life/dynArt.ly21
-rw-r--r--hr/schott/life/life.ly60
-rw-r--r--hr/schott/life/midi.lua50
-rw-r--r--hr/schott/life/stimmen.ly61
-rw-r--r--hr/schott/life/texte.ly22
5 files changed, 214 insertions, 0 deletions
diff --git a/hr/schott/life/dynArt.ly b/hr/schott/life/dynArt.ly
new file mode 100644
index 0000000..756726f
--- /dev/null
+++ b/hr/schott/life/dynArt.ly
@@ -0,0 +1,21 @@
+%some settings% vim: ai sw=2 lbr nu encoding=utf8 et
+
+ meta = {
+ %(dynamic) marks global to all voices
+ \dynamicUp
+ }
+
+% articulation
+
+ sopranArt = {
+ }
+
+ altArt = {
+ }
+
+ tenorArt = {
+ }
+
+ bassArt = {
+ }
+
diff --git a/hr/schott/life/life.ly b/hr/schott/life/life.ly
new file mode 100644
index 0000000..40bb740
--- /dev/null
+++ b/hr/schott/life/life.ly
@@ -0,0 +1,60 @@
+%some settings% vim: ai sw=2 lbr nu encoding=utf8 et
+
+\version "2.12"
+\include "stimmen.ly"
+\include "texte.ly"
+
+ \header {
+ title = "It's my life"
+ composer = "Jon Bon Jovi"
+ %opus = "<+Werk+>"
+ tagline = ""
+ }
+
+ \paper {
+ line-width = \paper-width - 30
+ top-margin = 10
+ bottom-margin = 10
+ ragged-last-bottom = #'f
+ }
+
+ \layout {
+ indent = #0
+ \context {
+ \Staff
+ \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3.5)
+ }
+ }
+
+ %#(set-global-staff-size 17)
+
+ \score {
+ \new ChoirStaff \with {} <<
+ \new Staff = sopran <<
+ %\new Voice = "meta" { s1*<+Anzahl der Takte+> \bar "|." }
+ \new Voice = "soprane" { \global \sopranMelodie }
+ %\addlyrics { \sopranText }
+ >>
+ \new Staff = alt <<
+ \new Voice = "alti" { \global \altMelodie }
+ %\addlyrics { \altText }
+ >>
+ \new Staff = tenor <<
+ \new Voice = "tenoere" { \global \tenorMelodie }
+ %\addlyrics { \tenorText }
+ >>
+ \new Staff = bass <<
+ \new Voice = "baesse" { \global \bassMelodie }
+ %\addlyrics { \bassText }
+ >>
+ >>
+ %\midi {
+ %\context{
+ %\Score
+ %tempoWholesPerMinute = #(ly:make-moment 72 4)
+ %}
+ %}
+ \layout {
+ }
+ }
+
diff --git a/hr/schott/life/midi.lua b/hr/schott/life/midi.lua
new file mode 100644
index 0000000..f8b2520
--- /dev/null
+++ b/hr/schott/life/midi.lua
@@ -0,0 +1,50 @@
+ -- some settings -- vim: ai sw=2 lbr nu encoding=utf8 et
+
+pre=[[
+%some settings% vim: ai sw=2 lbr nu encoding=utf8 et
+
+\version "2.12"
+\include "stimmen.ly"
+
+ \score {
+]]
+
+post=[[
+ \midi {
+ \context{
+ %\Score
+ %tempoWholesPerMinute = #(ly:make-moment 72 4)
+ }
+ }
+ }
+]]
+
+voices={ "s", "a", "t", "b" }
+expand = { s="sopran", a="alt", t="tenor", b="bass" }
+map = { sopran="soprane", alt="alti", tenor="tenoere", bass="baesse" }
+
+function text(stimme)
+ return
+[[
+ \new Staff = ]]..stimme..[[ <<
+ %\new Voice = "meta" { s1*<+Anzahl der Takte+> \bar "|." }
+ \new Voice = "]]..map[stimme]..[[" { \global \]]..stimme..[[Melodie }
+ >>
+]]
+end
+
+function err() print("oops") os.exit() end
+
+which=which or "satb"
+if type(which)~="string" then err() end
+
+for _,v in pairs(voices) do
+ if string.find(which, v) then pre=pre..text(expand[v]) end
+end
+
+input=pre..post
+
+--os.execute(lilypond -...)
+io.stdout:write(input)
+os.exit()
+
diff --git a/hr/schott/life/stimmen.ly b/hr/schott/life/stimmen.ly
new file mode 100644
index 0000000..2df1b96
--- /dev/null
+++ b/hr/schott/life/stimmen.ly
@@ -0,0 +1,61 @@
+%some settings% vim: ai sw=2 lbr nu encoding=utf8 et
+
+ \version "2.12"
+ \include "dynArt.ly"
+
+ global = {
+ \key e \major
+ %\override Staff.TimeSignature #'style = #'()
+ \time 4/4
+ %\autoBeamOff
+ }
+
+% Die Stimmen
+
+ sopranMelodie = \relative c' {
+ <<
+ { \meta }
+ %\sopranArt
+ %the actual tune
+ {
+ <c g'>4 <c g'>4 r8
+ r1
+ }
+ >>
+ }
+
+ altMelodie = \relative c' {
+ <<
+ { \meta }
+ %\altArt
+ %the actual tune
+ {
+ r1
+ }
+ >>
+ }
+
+ tenorMelodie = \relative c' {
+ <<
+ { \meta }
+ %\tenorArt
+ %the actual tune
+ \clef "treble_8"
+ {
+ r1
+ }
+ >>
+ }
+
+ bassMelodie = \relative c {
+ <<
+ { \meta }
+ %\bassArt
+ %the actual tune
+ \clef bass
+ {
+ r1
+ }
+ >>
+ }
+
diff --git a/hr/schott/life/texte.ly b/hr/schott/life/texte.ly
new file mode 100644
index 0000000..51d4b6a
--- /dev/null
+++ b/hr/schott/life/texte.ly
@@ -0,0 +1,22 @@
+%some settings% vim: ai sw=2 lbr nu encoding=utf8 et
+
+% Abkürzungen
+
+% Die Textaufteilungen
+
+ sopranText = \lyrics {
+ %<+hier den Text für den Sopran eintragen+>
+ }
+
+ altText = \lyrics {
+ %<+hier den Text für den Alt eintragen+>
+ }
+
+ tenorText = \lyrics {
+ %<+hier den Text für den Tenor eintragen+>
+ }
+
+ bassText = \lyrics {
+ %<+hier den Text für den Baß eintragen+>
+ }
+