-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnoh.ily
112 lines (97 loc) · 2.63 KB
/
noh.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
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
%
% Styles shared by all Nova Organi Harmonia scores
%
\version "2.18.0"
%
% Chant division marks
%
quarterBar = {
\once \override BreathingSign.stencil = #ly:breathing-sign::divisio-minima
\once \override BreathingSign.thickness = #2.0
\once \override BreathingSign.minimum-X-extent = #'(-1.0 . 0.0)
\once \override BreathingSign.minimum-Y-extent = #'(-2.5 . 2.5)
\breathe
}
halfBar = {
\once \override BreathingSign.stencil = #ly:breathing-sign::divisio-maior
\once \override BreathingSign.thickness = #2.0
\once \override BreathingSign.Y-offset = #0
\once \override BreathingSign.minimum-X-extent = #'(-1.0 . 0.0)
\once \override BreathingSign.minimum-Y-extent = #'(-2.5 . 2.5)
\breathe
}
%
% 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 }
%
% Functions to create groups of notes, connected with a slur
%
% Group of two notes (duration: quarter note)
ga =
#(define-music-function
(parser location pa pb) (ly:pitch? ly:pitch?)
#{ $pa 16( $pb 16*3) #})
% Group of three notes (duration: dotted quarter note)
gb =
#(define-music-function
(parser location pa pb pc) (ly:pitch? ly:pitch? ly:pitch?)
#{ $pa 16( $pb $pc 4)) #})
% Group of four notes (duration: dotted quarter note)
gc =
#(define-music-function
(parser location pa pb pc pd) (ly:pitch? ly:pitch? ly:pitch? ly:pitch?)
#{ $pa 16( $pb $pc $pd 16*3)) #})
%
% Additional macros
%
singleBar = { \bar "|" }
doubleBar = { \bar "||" }
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
\remove "Time_signature_engraver"
\omit Flag
\omit Stem
\accidentalStyle forget
}
\context {
\Lyrics
\with { alignAboveContext = "up" }
\override VerticalAxisGroup.nonstaff-relatedstaff-spacing #'minimum-distance = #4
\override LyricText #'font-size = #-1
}
}
%
% Default paper
%
\paper {
#(set-paper-size "letter")
line-width = 6.5\in
}