Added Dependencies: svenax's bagpipemusic for his definitions

and lilydrum for drum definitions
This commit is contained in:
Eric Teunis de Boone 2016-02-19 19:49:13 +01:00
parent e4b226c55d
commit dd45601514
6 changed files with 108 additions and 3 deletions

2
.gitmodules vendored
View File

@ -1,6 +1,6 @@
[submodule "lilydrum"]
path = lilydrum
url = ../../git/lilydrumi.git
url = /home/ericteunis/public/git/lilydrum.git/
[submodule "bagpipemusic"]
path = bagpipemusic
url = https://github.com/svenax/bagpipemusic.git

5
build
View File

@ -1,7 +1,7 @@
#!/bin/bash
MKDRUMCOMMAND="./lily_files/makedrum"
MKDRUMOPTIONS="--no-log -i ./lily_files/defs.ly -i ./lily_files/header_default.ily --drumfile ./lily_files/lilydrum/lilydrum.ly --pipefile ./lily_files/bagpipe_new.ly -s 18"
MKDRUMCOMMAND="./lilydrum/makedrum"
MKDRUMOPTIONS="--no-log -i ./defs/defs.ly -i ./defs/header_default.ily --drumfile ./lilydrum/lilydrum.ly --pipefile ./bagpipemusic/bagpipe_new.ly -s 18"
MUSIC_DIR="./music/"
OUT_DIR="./pdf/"
MKDRUMOPTIONS="$MKDRUMOPTIONS -d $OUT_DIR"
@ -43,6 +43,7 @@ elif [ -d "$1" ]; then
another_dir "$1"
fi
# Fix naming
for f in $OUT_DIR/music-*
do
mv $f ${f/music-/}

22
defs/defs.ly Normal file
View File

@ -0,0 +1,22 @@
% =================================================== %
% *Shorts* for Naming %
% =================================================== %
instrumentSide = "Side"
instrumentTenor = "Tenor"
instrumentBass = "Bass"
instrumentPipes = "Pipes"
instrumentPipessecnd = "Seconds"
instrumentPipesthrd = "Thirds"
shortInstrumentSide = "S.D."
shortInstrumentTenor = "T.D."
shortInstrumentBass = "B.D."
shortInstrumentPipes = "P."
shortInstrumentPipessecnd = "P.2"
shortInstrumentPipesthrd = "P.3"
composerSide = ""
composerTenor = ""
composerBass = ""
composerPipes = ""
composerPipessecnd = ""
composerPipesthrd = ""

42
defs/header_book.ily Normal file
View File

@ -0,0 +1,42 @@
%{
Header formatting for tunes. Customize to get your name in the tag line.
%}
\version "2.16.0"
today = #(strftime "%B %e, %Y" (localtime (current-time)))
\paper {
raggedbottom = ##t
tagline = \markup {
\line {
"ET de Boone, Seaforths of Holland,"
\concat { "(rev. " \today ")" }
}
}
bookTitleMarkup = \markup {
\override #'(baseline-skip . 3.5)
\column {
\fill-line { \fromproperty #'header:dedication }
\override #'(baseline-skip . 3.5)
\column {
\huge \larger \bold
\fill-line {
\larger \fromproperty #'header:title
}
\fill-line {
\large \smaller \bold
\larger \fromproperty #'header:subtitle
}
\fill-line {
\smaller \bold
\fromproperty #'header:source
}
\fill-line {
\line { \fromproperty #'header:meter }
\line { \fromproperty #'header:composer " " \italic \fromproperty #'header:arranger }
}
}
}
}
}

39
defs/header_default.ily Normal file
View File

@ -0,0 +1,39 @@
%{
Header formatting for tunes. Customize to get your name in the tag line.
%}
\version "2.16.0"
today = #(strftime "%B %e, %Y" (localtime (current-time)))
\paper {
tagline = \markup {
\line {
"ET de Boone, Seaforths of Holland,"
\concat { "(rev. " \today ")" }
}
}
scoreTitleMarkup = \markup {
\override #'(baseline-skip . 3)
\column {
\fill-line {
\column {
\large \bold \fromproperty #'header:title
\bold \fromproperty #'header:subtitle
}
\fromproperty #'header:meter
\column \right-align {
\fromproperty #'header:instrument
\line {
\fromproperty #'header:composer
$(if (and (ly:get-option 'header:composer) (ly:get-option 'header:arranger))
(markup " "))
\italic \fromproperty #'header:arranger }
}
}
$(if (not (ly:get-option 'without-comment))
(markup #:justify-field 'header:comment)
(markup))
}
}
}

1
lilydrum Submodule

@ -0,0 +1 @@
Subproject commit c6a9c956321a175e33e1668cea8e8e3e19cb7a0e