diff --git a/.gitignore b/.gitignore index a8b4a83..2e9fc73 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,2 @@ -to_process/ -piobaireachd/ sets -tmp/ +*.pdf diff --git a/README.md b/README.md index 5c5984b..2002f47 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,24 @@ # pipeband-music Collection of lilypond files for a pipeband. -It concerns bagpipes and three types of drums (bass, tenor and snare (or side)). +It concerns pipes and three types of drums (bass, tenor and snare (or side)). To this end, you will need the bagpipe.ly normally included by lilypond aswell as the lilydrum package ([lyp-package](https://github.com/lyp-packages/lilydrum/) / [git](https://github.com/kastdeur/lilydrum)). -For most tunes there are at least pipe and snare scores + a 'full' score containing both. +For most tunes there are at least pipe and snare scores + a "full" score containing both. If we play our standards for a tune, it is not included. The same holds for tenor and bass scores. Although this is my personal collection, quite a few tunes are used for my pipeband [The Seaforth Highlanders of Holland Memorial Pipes and Drums](https://seaforth.nl). + +## How to compile a score +You can use the './build' script for this. +It is a bash wrapper script for lilypond. + +Inspect this file first, to link lilydrum and review options you want. + +With the '-dno-strip-output-dir' setting, files will be compiled in their respective folders. + +## How to add a new score +In './templates' you can find templates for the various permutations of instruments and their scores. +These can be used as a starting point for a new score. +You will need at least './templates/config.ily' to define the title, meter, time signature, etc diff --git a/build b/build new file mode 100755 index 0000000..3d16f7b --- /dev/null +++ b/build @@ -0,0 +1,26 @@ +#!/bin/bash +# Wrapper script for pipeband scores +# +# It uses (standard) commandline options of lilypond +# + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +LIB=~/projects/scoring/lib + +# Change the Stylesheet variable if you want different 'settings' +# It is handy to include ./defs.ily since it defines some text variables, +# it will complain otherwise about not finding variables +#STYLESHEET=$DIR/defs.ily +STYLESHEET="$LIB/styles/pipeband.sly" + +# Add lilydrum to the search path +LILYDRUM="$LIB/lilydrum/" +# Add custom bagpipe.ly to search path +BAGPIPELY="$LIB/bagpipe.ly/" + +# Options by this script +# see http://lilypond.org/doc/v2.18/Documentation/usage/command_002dline-usage#advanced-command-line-options-for-lilypond +OPTIONS="-dno-strip-output-dir -dno-point-and-click -dpaper-size=\"a4landscape\"" + +# Execute +lilypond -dinclude-settings=$STYLESHEET -I $LILYDRUM -I $BAGPIPELY $OPTIONS $@ diff --git a/defs/naming.ily b/defs.ily similarity index 77% rename from defs/naming.ily rename to defs.ily index 988e72f..da4536f 100644 --- a/defs/naming.ily +++ b/defs.ily @@ -1,9 +1,8 @@ -% =================================================== % -% *Shorts* for Naming % -% =================================================== % -#(newline) -#(display "Short naming loaded") +%{ + Some definitions for text, used throughout the repo. + Not critical if missing. But there is complaining.. +%} instrumentSide = "Side" instrumentTenor = "Tenor" instrumentBass = "Bass" diff --git a/defs/layout.ily b/defs/layout.ily deleted file mode 100644 index ef37071..0000000 --- a/defs/layout.ily +++ /dev/null @@ -1,9 +0,0 @@ -\paper { - -} - -\layout { - indent = 0.0 - ragged-right = ##f - ragged-bottom = ##f -} diff --git a/defs/paper.ily b/defs/paper.ily deleted file mode 100644 index 52d8f7c..0000000 --- a/defs/paper.ily +++ /dev/null @@ -1,2 +0,0 @@ -\paper { -} diff --git a/defs/point-and-click.ily b/defs/point-and-click.ily deleted file mode 100644 index 03159da..0000000 --- a/defs/point-and-click.ily +++ /dev/null @@ -1 +0,0 @@ -#(ly:set-option 'point-and-click #f)