mirror of
https://github.com/kastdeur/pipeband-music.git
synced 2024-12-22 16:23:31 +01:00
New ./build script to compile score
Removed ./defs folder, left 'defs/naming.ily -> defs.ily' only ./build script uses commandline arguments of lilypond itself. Possible to define external stylesheet in ./build script. This might phase out ./makedrum
This commit is contained in:
parent
1ecf854c2b
commit
d314f76966
7 changed files with 46 additions and 22 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,4 +1,2 @@
|
||||||
to_process/
|
|
||||||
piobaireachd/
|
|
||||||
sets
|
sets
|
||||||
tmp/
|
*.pdf
|
||||||
|
|
17
README.md
17
README.md
|
@ -1,11 +1,24 @@
|
||||||
# pipeband-music
|
# pipeband-music
|
||||||
Collection of lilypond files for a pipeband.
|
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)).
|
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.
|
If we play our standards for a tune, it is not included.
|
||||||
The same holds for tenor and bass scores.
|
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).
|
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
|
||||||
|
|
26
build
Executable file
26
build
Executable file
|
@ -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 $@
|
|
@ -1,9 +1,8 @@
|
||||||
% =================================================== %
|
%{
|
||||||
% *Shorts* for Naming %
|
Some definitions for text, used throughout the repo.
|
||||||
% =================================================== %
|
|
||||||
#(newline)
|
|
||||||
#(display "Short naming loaded")
|
|
||||||
|
|
||||||
|
Not critical if missing. But there is complaining..
|
||||||
|
%}
|
||||||
instrumentSide = "Side"
|
instrumentSide = "Side"
|
||||||
instrumentTenor = "Tenor"
|
instrumentTenor = "Tenor"
|
||||||
instrumentBass = "Bass"
|
instrumentBass = "Bass"
|
|
@ -1,9 +0,0 @@
|
||||||
\paper {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
\layout {
|
|
||||||
indent = 0.0
|
|
||||||
ragged-right = ##f
|
|
||||||
ragged-bottom = ##f
|
|
||||||
}
|
|
|
@ -1,2 +0,0 @@
|
||||||
\paper {
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
#(ly:set-option 'point-and-click #f)
|
|
Loading…
Reference in a new issue