3 composer = "Jean-Baptiste Lully"
4 poet = "Philippe Quinault"
9 %% urtext if true, then print urtext score
10 %% part if a symbol, then print the separate part score
11 #(ly:set-option 'ancient-style (eqv? #t (ly:get-option 'urtext)))
12 #(ly:set-option 'ancient-alteration (eqv? #t (ly:get-option 'urtext)))
13 #(ly:set-option 'original-layout (eqv? #t (ly:get-option 'urtext)))
14 #(ly:set-option 'non-incipit (symbol? (ly:get-option 'part)))
15 #(ly:set-option 'apply-vertical-tweaks (and (not (eqv? #t (ly:get-option 'urtext)))
16 (not (symbol? (ly:get-option 'part)))))
17 #(ly:set-option 'print-footnotes (eqv? #t (ly:get-option 'urtext)))
19 %% use baroque style repeats
20 #(ly:set-option 'baroque-repeats #t)
26 #(set-global-staff-size
27 (cond ((eqv? #f (ly:get-option 'part)) 14)
28 ((memq (ly:get-option 'part) '(basse-continue)) 16)
31 %% Line/page breaking algorithm
32 %% optimal for lead sheets
33 %% page-turn for instruments and vocal parts
35 #(define page-breaking (if (eqv? (ly:get-option 'part) #f)
37 ly:page-turn-breaking))
40 %% No key signature modification
41 #(ly:set-option 'forbid-key-modification #t)
43 %% Use rehearsal numbers
44 #(ly:set-option 'use-rehearsal-numbers #t)
47 reference-incipit-width = #(* 1/2 mm)
50 \include "italiano.ly"
51 \include "common/common.ily"
52 \include "common/alterations.ily"
53 \include "common/toc-columns.ily"
54 \include "common/livret-columns.ily"
55 \setOpus "Lully/Opera/LWV53Atys"
59 #`((dessus "Flûtes, hautbois, violons" ()
61 (haute-contre "Hautes-contre" ()
62 (#:notes "haute-contre" #:clef "alto"))
64 (#:notes "taille" #:clef "alto"))
66 (#:notes "quinte" #:clef "alto"))
67 (basse "Basses, bassons" ()
68 (#:notes "basse" #:clef "basse"))
69 (basse-continue "Basse continue" ()
70 (#:notes "basse" #:clef "basse"
71 #:score-template "score-basse-continue")))
73 %% For better looking two-column TOC
75 #(define-music-function (parser location title toc-title) (string? markup?)
76 (add-toc-item parser 'tocSceneMarkup (if (and (string? toc-title)
77 (string-null? toc-title))
78 (string-upper-case title)
80 (add-odd-page-header-text
83 (string-upper-case (*act-title*))
84 (string-upper-case title))
86 (add-toplevel-markup parser
87 (markup #:scene (string-upper-case title)))
88 (add-no-page-break parser)
89 (make-music 'Music 'void #t))
93 #(define-music-function (parser location pathname) (string?)
94 (let ((include-file (include-pathname pathname)))
95 #{ \new FiguredBass \figuremode { \include $include-file } #}))
97 trill = #(make-articulation "stopped")
99 #(set-cdr! (assoc 'haute-contre french-clefs)
105 #(define-music-function (parser location) ()
106 (make-character-mark "vbasse-taille" "Le Temps"))
109 #(define-music-function (parser location) ()
110 (make-character-mark "vbas-dessus" "Flore"))
113 #(define-music-function (parser location) ()
114 (make-character-mark "vhaute-contre" "Un Zéphir"))
117 #(define-music-function (parser location) ()
118 (make-character-mark "vbas-dessus" "Melpomène"))
121 #(define-music-function (parser location) ()
122 (make-character-mark "vbas-dessus" "Iris"))
126 #(define-music-function (parser location) ()
127 (make-character-mark "vhaute-contre" "Atys"))
130 #(define-music-function (parser location) ()
131 (make-character-mark "vbasse" "Idas"))
134 #(define-music-function (parser location) ()
135 (make-character-mark "vbas-dessus" "Sangaride"))
138 #(define-music-function (parser location) ()
139 (make-character-mark "vbas-dessus" "Doris"))
142 #(define-music-function (parser location) ()
143 (make-character-mark "vbas-dessus" "Doris et Idas"))
146 #(define-music-function (parser location) ()
147 (make-character-mark "vbas-dessus" "Doris, Atys et Idas"))
150 #(define-music-function (parser location) ()
151 (make-character-mark "vbas-dessus" "Cybèle"))
154 #(define-music-function (parser location) ()
155 (make-character-mark "vbas-dessus" "Mélisse"))
158 #(define-music-function (parser location) ()
159 (make-character-mark "vbasse-taille" "Celænus"))
163 #(define-music-function (parser location) ()
164 (make-character-mark "vhaute-contre" "Morphée"))
167 #(define-music-function (parser location) ()
168 (make-character-mark "vhaute-contre" "Le Sommeil"))
171 #(define-music-function (parser location) ()
172 (make-character-mark "vtaille" "Phantase"))
175 #(define-music-function (parser location) ()
176 (make-character-mark "vbasse" "Phobetor"))
179 #(define-music-function (parser location) ()
180 (make-character-mark "vbasse" "Un songe funeste"))
184 #(define-music-function (parser location) ()
185 (make-character-mark "vbasse" "Le Fleuve Sangar"))
188 #(define-music-function (parser location) ()
189 (make-character-mark "vbas-dessus" "Chœur"))
196 \override Script #'avoid-slur = #'outside
197 %% no line from footnotes to grobs
198 \override FootnoteItem #'annotation-line = ##f
202 \override Script #'avoid-slur = #'outside
203 %% no line from footnotes to grobs
204 \override FootnoteItem #'annotation-line = ##f
210 %% Always use Ballard: \ballarFigures. When there is no figured bass
211 %% in Ballard, use Baussen, with \baussenFigures. \baussenFigureAlt
212 %% is to be used when there is a figured bass in Ballard, and an
213 %% alternative one in Baussen.
216 #(define-music-function (parser location figures) (ly:music?)
220 #(define-music-function (parser location figures) (ly:music?)
221 (if (eqv? (ly:get-option 'urtext) #t)
222 (if (eqv? (ly:get-option 'debug-figures) #t)
223 #{ \new FiguredBass \with {
224 \override BassFigure #'color = #red
225 \override BassFigureContinuation #'color = #red
227 (make-music 'Music 'void #t))
231 #(define-music-function (parser location figures) (ly:music?)
232 (if (eqv? (ly:get-option 'urtext) #t)
233 (if (eqv? (ly:get-option 'debug-figures) #t)
234 #{ \new FiguredBass \with {
235 \override BassFigure #'color = #red
236 \override BassFigureContinuation #'color = #red
238 (make-music 'Music 'void #t))
239 (make-music 'Music 'void #t)))
241 %%% In urtext version, do not display "+" ornementations,
248 #(if (eqv? #t (ly:get-option 'urtext))
250 (script-stencil . (markup . ,(markup #:null)))
252 (avoid-slur . around)
254 baroque-script-alist)
255 baroque-script-alist)