commit 1a4efd23ef79b33d18e10b47d9ec4b2eb8a932fb Author: Midgard Date: Sat Sep 19 16:46:15 2020 +0200 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3900761 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.pdf +*.midi +*-tmp-* diff --git a/makefile b/makefile new file mode 100644 index 0000000..cd2c2b3 --- /dev/null +++ b/makefile @@ -0,0 +1,7 @@ +.PHONY: all clean +all: welkom.pdf +clean: + rm -f welkom*.pdf welkom*.midi + +%.pdf: %.ly parts-*.ly + lilypond --pdf $< diff --git a/parts-keys.ly b/parts-keys.ly new file mode 100644 index 0000000..83cde77 --- /dev/null +++ b/parts-keys.ly @@ -0,0 +1,46 @@ +melodicaMusic = { + \meterAndTempo + \clef "treble" + \key f \major + + \fixed f' { + \stub + } +} + +pianoRHMusic = { + \meterAndTempo + \clef "treble" + \key f \major + + \fixed f' { + \stub + } +} + +pianoLHMusic = { + \meterAndTempo + \clef "bass" + \key f \major + + \fixed f' { + \stub + } +} + + +staffMelodica = \new Staff \with { + instrumentName = "Melodica" + shortInstrumentName = "Mel." + midiInstrument = "Melodica" +} \melodicaMusic + + +staffPiano = \new PianoStaff \with { + instrumentName = "Piano" + shortInstrumentName = "P." + midiInstrument = "Grand" +} << + \new Staff \pianoRHMusic + \new Staff \pianoLHMusic +>> diff --git a/parts-percussion.ly b/parts-percussion.ly new file mode 100644 index 0000000..3ef3604 --- /dev/null +++ b/parts-percussion.ly @@ -0,0 +1,15 @@ +percussionMusic = \drummode { + \meterAndTempo + + \stub +} + + +staffPercussion = \new DrumStaff \with { + instrumentName = "Percussie" + shortInstrumentName = "Perc." +} \percussionMusic + +staffgroupPercussion = \new StaffGroup << + \staffPercussion +>> diff --git a/parts-strings.ly b/parts-strings.ly new file mode 100644 index 0000000..712ee5b --- /dev/null +++ b/parts-strings.ly @@ -0,0 +1,50 @@ +violinMusic = { + \meterAndTempo + \clef "treble" + \key f \major + + \stub +} + + +celloMusic = { + \meterAndTempo + \clef "bass" + \key f \major + + \stub +} + + +guitarMusic = { + \meterAndTempo + \clef "treble" + \key f \major + + \stub +} + + +staffViolin = \new Staff \with { + instrumentName = "Viool" + shortInstrumentName = "Vln." + midiInstrument = "Violin" +} \violinMusic + +staffCello = \new Staff \with { + instrumentName = "Cello" + shortInstrumentName = "Vcl." + midiInstrument = "Cello" +} \celloMusic + +staffGuitar = \new Staff \with { + instrumentName = "Gitaar" + shortInstrumentName = "Gtr." + midiInstrument = "Guitar" +} \celloMusic + +staffgroupStrings = \new StaffGroup << + \staffViolin + \staffCello + \staffGuitar +>> diff --git a/parts-vocals.ly b/parts-vocals.ly new file mode 100644 index 0000000..276f349 --- /dev/null +++ b/parts-vocals.ly @@ -0,0 +1,41 @@ +vocalsIMusic = { + \meterAndTempo + \clef "treble" + \key f \major + + \stub +} + +vocalsIIMusic = { + \meterAndTempo + \clef "treble" + \key f \major + + \stub +} + + +vocalsILyrics = \lyricmode { +} + +vocalsIILyrics = \lyricmode { +} + + +staffgroupVocals = \new ChoirStaff << + \new Staff \with { + instrumentName = "Zang 1" + shortInstrumentName = "Z1" + midiInstrument = "Alto Sax" + } + \new Voice = "vocals1" \vocalsIMusic + \new Lyrics \lyricsto "vocals1" \vocalsILyrics + + \new Staff \with { + instrumentName = "Zang 2" + shortInstrumentName = "Z2" + midiInstrument = "Tenor Sax" + } + \new Voice = "vocals2" \vocalsIIMusic + \new Lyrics \lyricsto "vocals2" \vocalsIILyrics +>> diff --git a/welkom.ly b/welkom.ly new file mode 100644 index 0000000..1c40543 --- /dev/null +++ b/welkom.ly @@ -0,0 +1,47 @@ +\include "english.ly" +\version "2.21.4" +\header { + composer = "Zeus WPI" + title = "Welkom" + subtitle = \markup{ \concat { "Voor de " \italic{on/off-generatie} } } + tagline = ##f +} +#(set-global-staff-size 18) +#(set-default-paper-size "a4") +\paper { + indent = 3.0\cm % add space for instrumentName + short-indent = 1.5\cm % add less space for shortInstrumentName +} + +meterAndTempo = { + \time 4/4 + \tempo 4 = 102 +} + +stub = { + R1*4 | \bar "|." +} + +\include "parts-keys.ly" +\include "parts-percussion.ly" +\include "parts-strings.ly" +\include "parts-vocals.ly" + + +\book { + \score { + \compressMMRests + << + \staffgroupPercussion + \staffMelodica + \staffPiano + \staffgroupVocals + \staffGuitar + \staffgroupStrings + >> + \layout { + \context { \GrandStaff \accepts "Lyrics" } + } + \midi {} + } +}