From e2ff610d1bc3fd95fd66f073fe58471af9463790 Mon Sep 17 00:00:00 2001 From: Eric Teunis de Boone Date: Wed, 1 Feb 2023 07:09:35 +0100 Subject: [PATCH 1/3] Ignore book/* for json creation Adding this file to a directory causes scores2json.py to ignore anything in the directory. --- book/.ignore_scores2json | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 book/.ignore_scores2json diff --git a/book/.ignore_scores2json b/book/.ignore_scores2json new file mode 100644 index 0000000..e69de29 From 9d6c9f22b1b570c03c830c3fa3351c72032c9a98 Mon Sep 17 00:00:00 2001 From: Eric Teunis de Boone Date: Thu, 2 Feb 2023 22:34:05 +0100 Subject: [PATCH 2/3] Old work: Thunderhead --- book/book.lytex | 8 ++++ jigs/thunderhead.ly | 96 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 104 insertions(+) create mode 100644 jigs/thunderhead.ly diff --git a/book/book.lytex b/book/book.lytex index ddc491b..efbb6da 100644 --- a/book/book.lytex +++ b/book/book.lytex @@ -169,6 +169,14 @@ \end{minipage}% \vspace{.5in} +\noindent +\begin{minipage}{\columnwidth} +\noindent +\addcontentsline{toc}{subsection}{Thunderhead} +\lilypondfile{./jigs/thunderhead.ly}% +\end{minipage}% +\vspace{.5in} + %%%%%%%%%%%% % Hornpipes %%%%%%%%%%%% diff --git a/jigs/thunderhead.ly b/jigs/thunderhead.ly new file mode 100644 index 0000000..754428c --- /dev/null +++ b/jigs/thunderhead.ly @@ -0,0 +1,96 @@ +\version "2.19.80" + +\include "tinwhistle.ily" + +\header { + title = "Thunderhead" + meter = "Jig" + composer = "G. Larsen" + enteredby = "kastdeur" +} + +grA = {} +grg = {} +gre = {} +grd = {} + +thrwd = {} + +dblb = {} +dblc = {} +dble = {} +dblg = {} + +wbirl = {} +gbirl = {} +slurf = {} + + +global = { + \key d \major + \time 6/8 +} +bpm = \tempo 4. = 100 + +fluteAA = \fixed c'' { + b,4.\lroll fis8 b,8 b,8 | + e8 b,8 b,8 d8 b,8 a,8 | + b,4.\lroll fis8 g8 fis8 | + e8 d8 b,8 a,8 b,8 d8 | + + b,4.\lroll fis8 b,8 b,8 | + e8 b,8 b, d8 e fis | + g8 fis8 e fis8 e d8 | + e8 d8 b, + +} +fluteABA = \fixed c'' { + a,8[ b,8 d8] +} +fluteABB = \fixed c'' { + a,8 [ b,8 a,8 ] +} +fluteB = \fixed c'' { + a8 fis8 d8 e8 d8 b, | + a,8 b, d cis4. | + b,4 cis8 b,4 cis8 | + d8 cis8 b,8 cis4. | + + a8 fis8 d8 e8 d8 b, | + a,8 b,8 d8 cis4. | + b,16 cis16 d8 b,8 cis8 a,8 a8 + g8 e8 cis8 d4. + +} + +flute = \relative c'' { + % Muziek volgt hier. + \global + \repeat volta 2 { \fluteAA } + \alternative { + \fluteABA + \fluteABB + } + \break + \repeat volta 2 { \fluteB } +} + +flutePart = \new Staff \with { + instrumentName = "Fl." + midiInstrument = "flute" +} \flute + +\score { + << + \flutePart + >> + \layout { } +} +\score { + \unfoldRepeats \removeWithTag #'midiRemove << + \flutePart + >> + \midi { + \bpm + } +} From b193d41c1244d796d3cbb7c31bd37676250c040a Mon Sep 17 00:00:00 2001 From: Eric Teunis de Boone Date: Thu, 2 Feb 2023 22:34:36 +0100 Subject: [PATCH 3/3] build: use landscape and generate previews --- build | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build b/build index f5aaf4a..bb8e0ba 100755 --- a/build +++ b/build @@ -4,7 +4,9 @@ # It uses (standard) commandline options of lilypond DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -LIB=$DIR/../lib +LIB="$(realpath "${DIR}/../lib")" + +# Change the Stylesheet variable if you want different 'settings' STYLESHEET=$LIB/styles/tinwhistle.sly # In case tinwhistle.ily is included in file @@ -12,7 +14,8 @@ STYLESHEET=$LIB/styles/tinwhistle.sly TINWHISTLE_DIR=$LIB/tinwhistle/ # Options by this script -OPTIONS="-dno-strip-output-dir -dno-point-and-click" +# 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\" -dpreview" # Execute lilypond -dinclude-settings=$STYLESHEET -I $TINWHISTLE_DIR $OPTIONS $@