-
Notifications
You must be signed in to change notification settings - Fork 2
/
noh_test.ly
executable file
·126 lines (107 loc) · 3.39 KB
/
noh_test.ly
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
\version "2.18.0"
divisioMinima = {
\once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-minima
% Workaround: add padding. Correct fix would be spacing engine handle this.
\once \override BreathingSign.minimum-X-extent = #'(-1.0 . 0.0)
\once \override BreathingSign.minimum-Y-extent = #'(-2.5 . 2.5)
%\once \override \barAlways = ##t
\breathe \bar ""
}
divisioMaior = {
\once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-maior
\once \override BreathingSign #'Y-offset = #0
% Workaround: add padding. Correct fix would be spacing engine handle this.
\once \override BreathingSign.minimum-X-extent = #'(-1.0 . 0.0)
\once \override BreathingSign.minimum-Y-extent = #'(-2.5 . 2.5)
%\once \override \barAlways = ##t
\breathe \bar ""
}
divisioMaxima = {
\once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-maxima
\once \override BreathingSign #'Y-offset = #0
%
% % Workaround: add padding. Correct fix would be spacing engine handle this.
\once \override BreathingSign.minimum-X-extent = #'(-1.0 . 0.0)
\once \override BreathingSign.minimum-Y-extent = #'(-2.5 . 2.5)
% %\once \override \barAlways = ##t
%
% \breathe \bar ""
% \breathe \bar "|"
\bar "|"
}
finalis = {
\once \override BreathingSign #'stencil = #ly:breathing-sign::finalis
\once \override BreathingSign #'Y-offset = #0
%
% % Workaround: add padding. Correct fix would be spacing engine handle this.
\once \override BreathingSign.minimum-X-extent = #'(-1.0 . 0.0)
\once \override BreathingSign.minimum-Y-extent = #'(-2.5 . 2.5)
% \once \override BreathingSign #'extra-spacing-height = #'(-0.5 . 0.5)
%
% \breathe
\bar "||"
}
%
% Voice leading lines are drawn as dotted glissandi
%
voiceLineStyle = {
\override Glissando #'style = #'dotted-line
\override Glissando #'thickness = #2.0
\override NoteColumn #'force-hshift = #0
\override NoteHead #'transparent = ##t
}
voiceLine =
#(define-music-function
(parser location staffA staffB noteA noteB)
(string? string? ly:music? ly:music?)
#{
\change Staff = #staffA <>\glissando #noteA
\change Staff = #staffB #noteB
#})
allowVoiceLineBreak = {
\once \override Glissando.breakable = ##t
\once \override Glissando.after-line-breaking = ##t
}
offsetVoiceLineY = { \once \overrideProperty Glissando.Y-offset #0.2 }
quarterBar = { \divisioMinima }
halfBar = { \divisioMaior }
singleBar = { \divisioMaxima }
doubleBar = { \finalis }
forceBreak = { \bar "" \break }
shiftRight = { \once \override NoteColumn #'force-hshift = #0.9 }
shiftRightB = { \once \override NoteColumn #'force-hshift = #1.6 }
%
% Default layout
%
\layout {
indent = 1.7\cm
ragged-last = ##f
\context {
\Staff
% \with { \staffSize = #-3 }
%\override \StaffSize = #17
%fontSize = #-2
%\override StaffSymbol.staff-space = #(magstep -2)
%\override StaffSymbol.thickness = #(magstep -2)
\remove "Time_signature_engraver"
\omit Flag
\omit Stem
\accidentalStyle forget
\override Rest #'transparent = ##t
}
\context {
\Lyrics
\with { alignAboveContext = "up" }
\override VerticalAxisGroup.nonstaff-relatedstaff-spacing #'minimum-distance = #0
%\override LyricText #'font-size = #-2
\override LyricSpace.minimum-distance = #2.0
\override SpacingSpanner #'shortest-duration-space = #0
}
}
%
% Default paper
%
\paper {
#(set-paper-size "letter")
line-width = 6.5\in
}