This repository has been archived by the owner on Jul 18, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreamble.ily
68 lines (56 loc) · 2.15 KB
/
preamble.ily
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
\include "articulate.ly"
fuzzOn = \set midiInstrument = #"overdriven guitar"
fuzzOff = \set midiInstrument = #"electric guitar (clean)"
xOn = \deadNotesOn
xOff = \deadNotesOff
fretMagic = {
\once \override TabNoteHead #'transparent = ##t
\once \override NoteHead #'transparent = ##t
\once \override Stem #'transparent = ##t
\once \override Flag #'transparent = ##t
\once \override NoteHead #'no-ledgers = ##t
\once \override Glissando #'(bound-details left padding) = #0.3
}
voltaFirst = \markup { 1. \text \italic { play 1x and 4x only } }
%% http://lsr.di.unimi.it/LSR/Item?id=198
%% see also http://lsr.di.unimi.it/LSR/Item?id=190
theCoda = {
\once \override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible
\once \override Score.RehearsalMark.font-size = #6
\mark \markup { \musicglyph #"scripts.coda" }
}
%% http://lsr.dsi.unimi.it/LSR/Snippet?id=664
toCoda = {
%% the align part
\once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
\once \override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible
\once \override Score.RehearsalMark #'direction = #DOWN
%% prefered size
\once \override Score.RehearsalMark #'font-size = #-2
\mark \markup {
\center-column {
\concat { \lower #1 { "D.S. al " } { \musicglyph #"scripts.coda" } }
\italic { \lower #1 { \small "play both endings" } }
}
}
}
breakingCoda = {
\break
\once \override Score.RehearsalMark.font-size = #6
\mark \markup { \musicglyph #"scripts.coda" }
}
#(begin
(set-global-staff-size 11)
(set-default-paper-size "letter" 'portrait)
(set! %load-path `("scheme" ,@%load-path))
(load-from-path "custom-line-breaks-engraver.scm")
(load-from-path "maybe-rhythmic-staff.scm")
(load-from-path "drums.scm")
(load-from-path "parenthesize.scm"))
\include "lalily.ly"
#(begin
(set-registry-val '(lalily person arranger pre) "Arranged by")
(set-registry-val '(lalily person composer pre) "Music by")
(set-registry-val '(lalily person poet pre) "Words by")
(set-registry-val '(lalily header copyright)
#{ \markup { \with-url #"http://naptakerrr.com" "Naptaker" } #}))