kernpy 0.0.1__py3-none-any.whl → 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- kernpy/__init__.py +215 -0
- kernpy/__main__.py +217 -0
- kernpy/core/__init__.py +119 -0
- kernpy/core/_io.py +48 -0
- kernpy/core/base_antlr_importer.py +61 -0
- kernpy/core/base_antlr_spine_parser_listener.py +196 -0
- kernpy/core/basic_spine_importer.py +43 -0
- kernpy/core/document.py +965 -0
- kernpy/core/dyn_importer.py +30 -0
- kernpy/core/dynam_spine_importer.py +42 -0
- kernpy/core/error_listener.py +51 -0
- kernpy/core/exporter.py +535 -0
- kernpy/core/fing_spine_importer.py +42 -0
- kernpy/core/generated/kernSpineLexer.interp +444 -0
- kernpy/core/generated/kernSpineLexer.py +535 -0
- kernpy/core/generated/kernSpineLexer.tokens +236 -0
- kernpy/core/generated/kernSpineParser.interp +425 -0
- kernpy/core/generated/kernSpineParser.py +9954 -0
- kernpy/core/generated/kernSpineParser.tokens +236 -0
- kernpy/core/generated/kernSpineParserListener.py +1200 -0
- kernpy/core/generated/kernSpineParserVisitor.py +673 -0
- kernpy/core/generic.py +426 -0
- kernpy/core/gkern.py +526 -0
- kernpy/core/graphviz_exporter.py +89 -0
- kernpy/core/harm_spine_importer.py +41 -0
- kernpy/core/import_humdrum_old.py +853 -0
- kernpy/core/importer.py +285 -0
- kernpy/core/importer_factory.py +43 -0
- kernpy/core/kern_spine_importer.py +73 -0
- kernpy/core/mens_spine_importer.py +23 -0
- kernpy/core/mhxm_spine_importer.py +44 -0
- kernpy/core/pitch_models.py +338 -0
- kernpy/core/root_spine_importer.py +58 -0
- kernpy/core/spine_importer.py +45 -0
- kernpy/core/text_spine_importer.py +43 -0
- kernpy/core/tokenizers.py +239 -0
- kernpy/core/tokens.py +2011 -0
- kernpy/core/transposer.py +300 -0
- kernpy/io/__init__.py +14 -0
- kernpy/io/public.py +355 -0
- kernpy/polish_scores/__init__.py +13 -0
- kernpy/polish_scores/download_polish_dataset.py +357 -0
- kernpy/polish_scores/iiif.py +47 -0
- kernpy/test_grammar.sh +22 -0
- kernpy/util/__init__.py +14 -0
- kernpy/util/helpers.py +55 -0
- kernpy/util/store_cache.py +35 -0
- kernpy/visualize_analysis.sh +23 -0
- kernpy-1.0.0.dist-info/METADATA +501 -0
- kernpy-1.0.0.dist-info/RECORD +51 -0
- {kernpy-0.0.1.dist-info → kernpy-1.0.0.dist-info}/WHEEL +1 -2
- kernpy/example.py +0 -0
- kernpy-0.0.1.dist-info/LICENSE +0 -19
- kernpy-0.0.1.dist-info/METADATA +0 -19
- kernpy-0.0.1.dist-info/RECORD +0 -7
- kernpy-0.0.1.dist-info/top_level.txt +0 -1
@@ -0,0 +1,673 @@
|
|
1
|
+
# Generated from kernSpineParser.g4 by ANTLR 4.13.1
|
2
|
+
from antlr4 import *
|
3
|
+
if "." in __name__:
|
4
|
+
from .kernSpineParser import kernSpineParser
|
5
|
+
else:
|
6
|
+
from kernSpineParser import kernSpineParser
|
7
|
+
|
8
|
+
# This class defines a complete generic visitor for a parse tree produced by kernSpineParser.
|
9
|
+
|
10
|
+
class kernSpineParserVisitor(ParseTreeVisitor):
|
11
|
+
|
12
|
+
# Visit a parse tree produced by kernSpineParser#start.
|
13
|
+
def visitStart(self, ctx:kernSpineParser.StartContext):
|
14
|
+
return self.visitChildren(ctx)
|
15
|
+
|
16
|
+
|
17
|
+
# Visit a parse tree produced by kernSpineParser#field.
|
18
|
+
def visitField(self, ctx:kernSpineParser.FieldContext):
|
19
|
+
return self.visitChildren(ctx)
|
20
|
+
|
21
|
+
|
22
|
+
# Visit a parse tree produced by kernSpineParser#notes_rests_chords.
|
23
|
+
def visitNotes_rests_chords(self, ctx:kernSpineParser.Notes_rests_chordsContext):
|
24
|
+
return self.visitChildren(ctx)
|
25
|
+
|
26
|
+
|
27
|
+
# Visit a parse tree produced by kernSpineParser#structural.
|
28
|
+
def visitStructural(self, ctx:kernSpineParser.StructuralContext):
|
29
|
+
return self.visitChildren(ctx)
|
30
|
+
|
31
|
+
|
32
|
+
# Visit a parse tree produced by kernSpineParser#contextual.
|
33
|
+
def visitContextual(self, ctx:kernSpineParser.ContextualContext):
|
34
|
+
return self.visitChildren(ctx)
|
35
|
+
|
36
|
+
|
37
|
+
# Visit a parse tree produced by kernSpineParser#signatures.
|
38
|
+
def visitSignatures(self, ctx:kernSpineParser.SignaturesContext):
|
39
|
+
return self.visitChildren(ctx)
|
40
|
+
|
41
|
+
|
42
|
+
# Visit a parse tree produced by kernSpineParser#otherContextual.
|
43
|
+
def visitOtherContextual(self, ctx:kernSpineParser.OtherContextualContext):
|
44
|
+
return self.visitChildren(ctx)
|
45
|
+
|
46
|
+
|
47
|
+
# Visit a parse tree produced by kernSpineParser#empty.
|
48
|
+
def visitEmpty(self, ctx:kernSpineParser.EmptyContext):
|
49
|
+
return self.visitChildren(ctx)
|
50
|
+
|
51
|
+
|
52
|
+
# Visit a parse tree produced by kernSpineParser#rest.
|
53
|
+
def visitRest(self, ctx:kernSpineParser.RestContext):
|
54
|
+
return self.visitChildren(ctx)
|
55
|
+
|
56
|
+
|
57
|
+
# Visit a parse tree produced by kernSpineParser#restChar_r.
|
58
|
+
def visitRestChar_r(self, ctx:kernSpineParser.RestChar_rContext):
|
59
|
+
return self.visitChildren(ctx)
|
60
|
+
|
61
|
+
|
62
|
+
# Visit a parse tree produced by kernSpineParser#restDecoration.
|
63
|
+
def visitRestDecoration(self, ctx:kernSpineParser.RestDecorationContext):
|
64
|
+
return self.visitChildren(ctx)
|
65
|
+
|
66
|
+
|
67
|
+
# Visit a parse tree produced by kernSpineParser#chord.
|
68
|
+
def visitChord(self, ctx:kernSpineParser.ChordContext):
|
69
|
+
return self.visitChildren(ctx)
|
70
|
+
|
71
|
+
|
72
|
+
# Visit a parse tree produced by kernSpineParser#note.
|
73
|
+
def visitNote(self, ctx:kernSpineParser.NoteContext):
|
74
|
+
return self.visitChildren(ctx)
|
75
|
+
|
76
|
+
|
77
|
+
# Visit a parse tree produced by kernSpineParser#nonVisualTandemInterpretation.
|
78
|
+
def visitNonVisualTandemInterpretation(self, ctx:kernSpineParser.NonVisualTandemInterpretationContext):
|
79
|
+
return self.visitChildren(ctx)
|
80
|
+
|
81
|
+
|
82
|
+
# Visit a parse tree produced by kernSpineParser#boundingBox.
|
83
|
+
def visitBoundingBox(self, ctx:kernSpineParser.BoundingBoxContext):
|
84
|
+
return self.visitChildren(ctx)
|
85
|
+
|
86
|
+
|
87
|
+
# Visit a parse tree produced by kernSpineParser#xywh.
|
88
|
+
def visitXywh(self, ctx:kernSpineParser.XywhContext):
|
89
|
+
return self.visitChildren(ctx)
|
90
|
+
|
91
|
+
|
92
|
+
# Visit a parse tree produced by kernSpineParser#x.
|
93
|
+
def visitX(self, ctx:kernSpineParser.XContext):
|
94
|
+
return self.visitChildren(ctx)
|
95
|
+
|
96
|
+
|
97
|
+
# Visit a parse tree produced by kernSpineParser#y.
|
98
|
+
def visitY(self, ctx:kernSpineParser.YContext):
|
99
|
+
return self.visitChildren(ctx)
|
100
|
+
|
101
|
+
|
102
|
+
# Visit a parse tree produced by kernSpineParser#w.
|
103
|
+
def visitW(self, ctx:kernSpineParser.WContext):
|
104
|
+
return self.visitChildren(ctx)
|
105
|
+
|
106
|
+
|
107
|
+
# Visit a parse tree produced by kernSpineParser#h.
|
108
|
+
def visitH(self, ctx:kernSpineParser.HContext):
|
109
|
+
return self.visitChildren(ctx)
|
110
|
+
|
111
|
+
|
112
|
+
# Visit a parse tree produced by kernSpineParser#pageNumber.
|
113
|
+
def visitPageNumber(self, ctx:kernSpineParser.PageNumberContext):
|
114
|
+
return self.visitChildren(ctx)
|
115
|
+
|
116
|
+
|
117
|
+
# Visit a parse tree produced by kernSpineParser#visualTandemInterpretation.
|
118
|
+
def visitVisualTandemInterpretation(self, ctx:kernSpineParser.VisualTandemInterpretationContext):
|
119
|
+
return self.visitChildren(ctx)
|
120
|
+
|
121
|
+
|
122
|
+
# Visit a parse tree produced by kernSpineParser#associatedIDS.
|
123
|
+
def visitAssociatedIDS(self, ctx:kernSpineParser.AssociatedIDSContext):
|
124
|
+
return self.visitChildren(ctx)
|
125
|
+
|
126
|
+
|
127
|
+
# Visit a parse tree produced by kernSpineParser#placeHolder.
|
128
|
+
def visitPlaceHolder(self, ctx:kernSpineParser.PlaceHolderContext):
|
129
|
+
return self.visitChildren(ctx)
|
130
|
+
|
131
|
+
|
132
|
+
# Visit a parse tree produced by kernSpineParser#octaveShift.
|
133
|
+
def visitOctaveShift(self, ctx:kernSpineParser.OctaveShiftContext):
|
134
|
+
return self.visitChildren(ctx)
|
135
|
+
|
136
|
+
|
137
|
+
# Visit a parse tree produced by kernSpineParser#pianoHand.
|
138
|
+
def visitPianoHand(self, ctx:kernSpineParser.PianoHandContext):
|
139
|
+
return self.visitChildren(ctx)
|
140
|
+
|
141
|
+
|
142
|
+
# Visit a parse tree produced by kernSpineParser#tandemTuplet.
|
143
|
+
def visitTandemTuplet(self, ctx:kernSpineParser.TandemTupletContext):
|
144
|
+
return self.visitChildren(ctx)
|
145
|
+
|
146
|
+
|
147
|
+
# Visit a parse tree produced by kernSpineParser#tandemCue.
|
148
|
+
def visitTandemCue(self, ctx:kernSpineParser.TandemCueContext):
|
149
|
+
return self.visitChildren(ctx)
|
150
|
+
|
151
|
+
|
152
|
+
# Visit a parse tree produced by kernSpineParser#tandemTremolo.
|
153
|
+
def visitTandemTremolo(self, ctx:kernSpineParser.TandemTremoloContext):
|
154
|
+
return self.visitChildren(ctx)
|
155
|
+
|
156
|
+
|
157
|
+
# Visit a parse tree produced by kernSpineParser#ossia.
|
158
|
+
def visitOssia(self, ctx:kernSpineParser.OssiaContext):
|
159
|
+
return self.visitChildren(ctx)
|
160
|
+
|
161
|
+
|
162
|
+
# Visit a parse tree produced by kernSpineParser#rscale.
|
163
|
+
def visitRscale(self, ctx:kernSpineParser.RscaleContext):
|
164
|
+
return self.visitChildren(ctx)
|
165
|
+
|
166
|
+
|
167
|
+
# Visit a parse tree produced by kernSpineParser#pedal.
|
168
|
+
def visitPedal(self, ctx:kernSpineParser.PedalContext):
|
169
|
+
return self.visitChildren(ctx)
|
170
|
+
|
171
|
+
|
172
|
+
# Visit a parse tree produced by kernSpineParser#ela.
|
173
|
+
def visitEla(self, ctx:kernSpineParser.ElaContext):
|
174
|
+
return self.visitChildren(ctx)
|
175
|
+
|
176
|
+
|
177
|
+
# Visit a parse tree produced by kernSpineParser#dynamics_position.
|
178
|
+
def visitDynamics_position(self, ctx:kernSpineParser.Dynamics_positionContext):
|
179
|
+
return self.visitChildren(ctx)
|
180
|
+
|
181
|
+
|
182
|
+
# Visit a parse tree produced by kernSpineParser#sections.
|
183
|
+
def visitSections(self, ctx:kernSpineParser.SectionsContext):
|
184
|
+
return self.visitChildren(ctx)
|
185
|
+
|
186
|
+
|
187
|
+
# Visit a parse tree produced by kernSpineParser#sectionNames.
|
188
|
+
def visitSectionNames(self, ctx:kernSpineParser.SectionNamesContext):
|
189
|
+
return self.visitChildren(ctx)
|
190
|
+
|
191
|
+
|
192
|
+
# Visit a parse tree produced by kernSpineParser#sectionName.
|
193
|
+
def visitSectionName(self, ctx:kernSpineParser.SectionNameContext):
|
194
|
+
return self.visitChildren(ctx)
|
195
|
+
|
196
|
+
|
197
|
+
# Visit a parse tree produced by kernSpineParser#transposition.
|
198
|
+
def visitTransposition(self, ctx:kernSpineParser.TranspositionContext):
|
199
|
+
return self.visitChildren(ctx)
|
200
|
+
|
201
|
+
|
202
|
+
# Visit a parse tree produced by kernSpineParser#instrument.
|
203
|
+
def visitInstrument(self, ctx:kernSpineParser.InstrumentContext):
|
204
|
+
return self.visitChildren(ctx)
|
205
|
+
|
206
|
+
|
207
|
+
# Visit a parse tree produced by kernSpineParser#instrumentTitle.
|
208
|
+
def visitInstrumentTitle(self, ctx:kernSpineParser.InstrumentTitleContext):
|
209
|
+
return self.visitChildren(ctx)
|
210
|
+
|
211
|
+
|
212
|
+
# Visit a parse tree produced by kernSpineParser#number.
|
213
|
+
def visitNumber(self, ctx:kernSpineParser.NumberContext):
|
214
|
+
return self.visitChildren(ctx)
|
215
|
+
|
216
|
+
|
217
|
+
# Visit a parse tree produced by kernSpineParser#lowerCasePitch.
|
218
|
+
def visitLowerCasePitch(self, ctx:kernSpineParser.LowerCasePitchContext):
|
219
|
+
return self.visitChildren(ctx)
|
220
|
+
|
221
|
+
|
222
|
+
# Visit a parse tree produced by kernSpineParser#upperCasePitch.
|
223
|
+
def visitUpperCasePitch(self, ctx:kernSpineParser.UpperCasePitchContext):
|
224
|
+
return self.visitChildren(ctx)
|
225
|
+
|
226
|
+
|
227
|
+
# Visit a parse tree produced by kernSpineParser#pitchClass.
|
228
|
+
def visitPitchClass(self, ctx:kernSpineParser.PitchClassContext):
|
229
|
+
return self.visitChildren(ctx)
|
230
|
+
|
231
|
+
|
232
|
+
# Visit a parse tree produced by kernSpineParser#accomp.
|
233
|
+
def visitAccomp(self, ctx:kernSpineParser.AccompContext):
|
234
|
+
return self.visitChildren(ctx)
|
235
|
+
|
236
|
+
|
237
|
+
# Visit a parse tree produced by kernSpineParser#solo.
|
238
|
+
def visitSolo(self, ctx:kernSpineParser.SoloContext):
|
239
|
+
return self.visitChildren(ctx)
|
240
|
+
|
241
|
+
|
242
|
+
# Visit a parse tree produced by kernSpineParser#strophe.
|
243
|
+
def visitStrophe(self, ctx:kernSpineParser.StropheContext):
|
244
|
+
return self.visitChildren(ctx)
|
245
|
+
|
246
|
+
|
247
|
+
# Visit a parse tree produced by kernSpineParser#timebase.
|
248
|
+
def visitTimebase(self, ctx:kernSpineParser.TimebaseContext):
|
249
|
+
return self.visitChildren(ctx)
|
250
|
+
|
251
|
+
|
252
|
+
# Visit a parse tree produced by kernSpineParser#part.
|
253
|
+
def visitPart(self, ctx:kernSpineParser.PartContext):
|
254
|
+
return self.visitChildren(ctx)
|
255
|
+
|
256
|
+
|
257
|
+
# Visit a parse tree produced by kernSpineParser#group.
|
258
|
+
def visitGroup(self, ctx:kernSpineParser.GroupContext):
|
259
|
+
return self.visitChildren(ctx)
|
260
|
+
|
261
|
+
|
262
|
+
# Visit a parse tree produced by kernSpineParser#staff.
|
263
|
+
def visitStaff(self, ctx:kernSpineParser.StaffContext):
|
264
|
+
return self.visitChildren(ctx)
|
265
|
+
|
266
|
+
|
267
|
+
# Visit a parse tree produced by kernSpineParser#clef.
|
268
|
+
def visitClef(self, ctx:kernSpineParser.ClefContext):
|
269
|
+
return self.visitChildren(ctx)
|
270
|
+
|
271
|
+
|
272
|
+
# Visit a parse tree produced by kernSpineParser#clefValue.
|
273
|
+
def visitClefValue(self, ctx:kernSpineParser.ClefValueContext):
|
274
|
+
return self.visitChildren(ctx)
|
275
|
+
|
276
|
+
|
277
|
+
# Visit a parse tree produced by kernSpineParser#clefSign.
|
278
|
+
def visitClefSign(self, ctx:kernSpineParser.ClefSignContext):
|
279
|
+
return self.visitChildren(ctx)
|
280
|
+
|
281
|
+
|
282
|
+
# Visit a parse tree produced by kernSpineParser#clefLine.
|
283
|
+
def visitClefLine(self, ctx:kernSpineParser.ClefLineContext):
|
284
|
+
return self.visitChildren(ctx)
|
285
|
+
|
286
|
+
|
287
|
+
# Visit a parse tree produced by kernSpineParser#clefOctave.
|
288
|
+
def visitClefOctave(self, ctx:kernSpineParser.ClefOctaveContext):
|
289
|
+
return self.visitChildren(ctx)
|
290
|
+
|
291
|
+
|
292
|
+
# Visit a parse tree produced by kernSpineParser#keySignature.
|
293
|
+
def visitKeySignature(self, ctx:kernSpineParser.KeySignatureContext):
|
294
|
+
return self.visitChildren(ctx)
|
295
|
+
|
296
|
+
|
297
|
+
# Visit a parse tree produced by kernSpineParser#keySignaturePitchClass.
|
298
|
+
def visitKeySignaturePitchClass(self, ctx:kernSpineParser.KeySignaturePitchClassContext):
|
299
|
+
return self.visitChildren(ctx)
|
300
|
+
|
301
|
+
|
302
|
+
# Visit a parse tree produced by kernSpineParser#keySignatureCancel.
|
303
|
+
def visitKeySignatureCancel(self, ctx:kernSpineParser.KeySignatureCancelContext):
|
304
|
+
return self.visitChildren(ctx)
|
305
|
+
|
306
|
+
|
307
|
+
# Visit a parse tree produced by kernSpineParser#keyCancel.
|
308
|
+
def visitKeyCancel(self, ctx:kernSpineParser.KeyCancelContext):
|
309
|
+
return self.visitChildren(ctx)
|
310
|
+
|
311
|
+
|
312
|
+
# Visit a parse tree produced by kernSpineParser#keyMode.
|
313
|
+
def visitKeyMode(self, ctx:kernSpineParser.KeyModeContext):
|
314
|
+
return self.visitChildren(ctx)
|
315
|
+
|
316
|
+
|
317
|
+
# Visit a parse tree produced by kernSpineParser#key.
|
318
|
+
def visitKey(self, ctx:kernSpineParser.KeyContext):
|
319
|
+
return self.visitChildren(ctx)
|
320
|
+
|
321
|
+
|
322
|
+
# Visit a parse tree produced by kernSpineParser#singleKey.
|
323
|
+
def visitSingleKey(self, ctx:kernSpineParser.SingleKeyContext):
|
324
|
+
return self.visitChildren(ctx)
|
325
|
+
|
326
|
+
|
327
|
+
# Visit a parse tree produced by kernSpineParser#minorKey.
|
328
|
+
def visitMinorKey(self, ctx:kernSpineParser.MinorKeyContext):
|
329
|
+
return self.visitChildren(ctx)
|
330
|
+
|
331
|
+
|
332
|
+
# Visit a parse tree produced by kernSpineParser#majorKey.
|
333
|
+
def visitMajorKey(self, ctx:kernSpineParser.MajorKeyContext):
|
334
|
+
return self.visitChildren(ctx)
|
335
|
+
|
336
|
+
|
337
|
+
# Visit a parse tree produced by kernSpineParser#modal.
|
338
|
+
def visitModal(self, ctx:kernSpineParser.ModalContext):
|
339
|
+
return self.visitChildren(ctx)
|
340
|
+
|
341
|
+
|
342
|
+
# Visit a parse tree produced by kernSpineParser#locrian.
|
343
|
+
def visitLocrian(self, ctx:kernSpineParser.LocrianContext):
|
344
|
+
return self.visitChildren(ctx)
|
345
|
+
|
346
|
+
|
347
|
+
# Visit a parse tree produced by kernSpineParser#ionian.
|
348
|
+
def visitIonian(self, ctx:kernSpineParser.IonianContext):
|
349
|
+
return self.visitChildren(ctx)
|
350
|
+
|
351
|
+
|
352
|
+
# Visit a parse tree produced by kernSpineParser#aeolian.
|
353
|
+
def visitAeolian(self, ctx:kernSpineParser.AeolianContext):
|
354
|
+
return self.visitChildren(ctx)
|
355
|
+
|
356
|
+
|
357
|
+
# Visit a parse tree produced by kernSpineParser#mixolydian.
|
358
|
+
def visitMixolydian(self, ctx:kernSpineParser.MixolydianContext):
|
359
|
+
return self.visitChildren(ctx)
|
360
|
+
|
361
|
+
|
362
|
+
# Visit a parse tree produced by kernSpineParser#lydian.
|
363
|
+
def visitLydian(self, ctx:kernSpineParser.LydianContext):
|
364
|
+
return self.visitChildren(ctx)
|
365
|
+
|
366
|
+
|
367
|
+
# Visit a parse tree produced by kernSpineParser#phrygian.
|
368
|
+
def visitPhrygian(self, ctx:kernSpineParser.PhrygianContext):
|
369
|
+
return self.visitChildren(ctx)
|
370
|
+
|
371
|
+
|
372
|
+
# Visit a parse tree produced by kernSpineParser#dorian.
|
373
|
+
def visitDorian(self, ctx:kernSpineParser.DorianContext):
|
374
|
+
return self.visitChildren(ctx)
|
375
|
+
|
376
|
+
|
377
|
+
# Visit a parse tree produced by kernSpineParser#timeSignature.
|
378
|
+
def visitTimeSignature(self, ctx:kernSpineParser.TimeSignatureContext):
|
379
|
+
return self.visitChildren(ctx)
|
380
|
+
|
381
|
+
|
382
|
+
# Visit a parse tree produced by kernSpineParser#numerator.
|
383
|
+
def visitNumerator(self, ctx:kernSpineParser.NumeratorContext):
|
384
|
+
return self.visitChildren(ctx)
|
385
|
+
|
386
|
+
|
387
|
+
# Visit a parse tree produced by kernSpineParser#denominator.
|
388
|
+
def visitDenominator(self, ctx:kernSpineParser.DenominatorContext):
|
389
|
+
return self.visitChildren(ctx)
|
390
|
+
|
391
|
+
|
392
|
+
# Visit a parse tree produced by kernSpineParser#standardTimeSignature.
|
393
|
+
def visitStandardTimeSignature(self, ctx:kernSpineParser.StandardTimeSignatureContext):
|
394
|
+
return self.visitChildren(ctx)
|
395
|
+
|
396
|
+
|
397
|
+
# Visit a parse tree produced by kernSpineParser#additiveTimeSignature.
|
398
|
+
def visitAdditiveTimeSignature(self, ctx:kernSpineParser.AdditiveTimeSignatureContext):
|
399
|
+
return self.visitChildren(ctx)
|
400
|
+
|
401
|
+
|
402
|
+
# Visit a parse tree produced by kernSpineParser#mixedTimeSignature.
|
403
|
+
def visitMixedTimeSignature(self, ctx:kernSpineParser.MixedTimeSignatureContext):
|
404
|
+
return self.visitChildren(ctx)
|
405
|
+
|
406
|
+
|
407
|
+
# Visit a parse tree produced by kernSpineParser#alternatingTimeSignature.
|
408
|
+
def visitAlternatingTimeSignature(self, ctx:kernSpineParser.AlternatingTimeSignatureContext):
|
409
|
+
return self.visitChildren(ctx)
|
410
|
+
|
411
|
+
|
412
|
+
# Visit a parse tree produced by kernSpineParser#alternatingTimeSignatureItem.
|
413
|
+
def visitAlternatingTimeSignatureItem(self, ctx:kernSpineParser.AlternatingTimeSignatureItemContext):
|
414
|
+
return self.visitChildren(ctx)
|
415
|
+
|
416
|
+
|
417
|
+
# Visit a parse tree produced by kernSpineParser#interchangingTimeSignature.
|
418
|
+
def visitInterchangingTimeSignature(self, ctx:kernSpineParser.InterchangingTimeSignatureContext):
|
419
|
+
return self.visitChildren(ctx)
|
420
|
+
|
421
|
+
|
422
|
+
# Visit a parse tree produced by kernSpineParser#meterSymbol.
|
423
|
+
def visitMeterSymbol(self, ctx:kernSpineParser.MeterSymbolContext):
|
424
|
+
return self.visitChildren(ctx)
|
425
|
+
|
426
|
+
|
427
|
+
# Visit a parse tree produced by kernSpineParser#modernMeterSymbolSign.
|
428
|
+
def visitModernMeterSymbolSign(self, ctx:kernSpineParser.ModernMeterSymbolSignContext):
|
429
|
+
return self.visitChildren(ctx)
|
430
|
+
|
431
|
+
|
432
|
+
# Visit a parse tree produced by kernSpineParser#mensuration.
|
433
|
+
def visitMensuration(self, ctx:kernSpineParser.MensurationContext):
|
434
|
+
return self.visitChildren(ctx)
|
435
|
+
|
436
|
+
|
437
|
+
# Visit a parse tree produced by kernSpineParser#metronome.
|
438
|
+
def visitMetronome(self, ctx:kernSpineParser.MetronomeContext):
|
439
|
+
return self.visitChildren(ctx)
|
440
|
+
|
441
|
+
|
442
|
+
# Visit a parse tree produced by kernSpineParser#nullInterpretation.
|
443
|
+
def visitNullInterpretation(self, ctx:kernSpineParser.NullInterpretationContext):
|
444
|
+
return self.visitChildren(ctx)
|
445
|
+
|
446
|
+
|
447
|
+
# Visit a parse tree produced by kernSpineParser#barline.
|
448
|
+
def visitBarline(self, ctx:kernSpineParser.BarlineContext):
|
449
|
+
return self.visitChildren(ctx)
|
450
|
+
|
451
|
+
|
452
|
+
# Visit a parse tree produced by kernSpineParser#barLineType.
|
453
|
+
def visitBarLineType(self, ctx:kernSpineParser.BarLineTypeContext):
|
454
|
+
return self.visitChildren(ctx)
|
455
|
+
|
456
|
+
|
457
|
+
# Visit a parse tree produced by kernSpineParser#restPosition.
|
458
|
+
def visitRestPosition(self, ctx:kernSpineParser.RestPositionContext):
|
459
|
+
return self.visitChildren(ctx)
|
460
|
+
|
461
|
+
|
462
|
+
# Visit a parse tree produced by kernSpineParser#duration.
|
463
|
+
def visitDuration(self, ctx:kernSpineParser.DurationContext):
|
464
|
+
return self.visitChildren(ctx)
|
465
|
+
|
466
|
+
|
467
|
+
# Visit a parse tree produced by kernSpineParser#fermata.
|
468
|
+
def visitFermata(self, ctx:kernSpineParser.FermataContext):
|
469
|
+
return self.visitChildren(ctx)
|
470
|
+
|
471
|
+
|
472
|
+
# Visit a parse tree produced by kernSpineParser#modernDuration.
|
473
|
+
def visitModernDuration(self, ctx:kernSpineParser.ModernDurationContext):
|
474
|
+
return self.visitChildren(ctx)
|
475
|
+
|
476
|
+
|
477
|
+
# Visit a parse tree produced by kernSpineParser#augmentationDot.
|
478
|
+
def visitAugmentationDot(self, ctx:kernSpineParser.AugmentationDotContext):
|
479
|
+
return self.visitChildren(ctx)
|
480
|
+
|
481
|
+
|
482
|
+
# Visit a parse tree produced by kernSpineParser#alteration.
|
483
|
+
def visitAlteration(self, ctx:kernSpineParser.AlterationContext):
|
484
|
+
return self.visitChildren(ctx)
|
485
|
+
|
486
|
+
|
487
|
+
# Visit a parse tree produced by kernSpineParser#staffChange.
|
488
|
+
def visitStaffChange(self, ctx:kernSpineParser.StaffChangeContext):
|
489
|
+
return self.visitChildren(ctx)
|
490
|
+
|
491
|
+
|
492
|
+
# Visit a parse tree produced by kernSpineParser#chordSpace.
|
493
|
+
def visitChordSpace(self, ctx:kernSpineParser.ChordSpaceContext):
|
494
|
+
return self.visitChildren(ctx)
|
495
|
+
|
496
|
+
|
497
|
+
# Visit a parse tree produced by kernSpineParser#graceNote.
|
498
|
+
def visitGraceNote(self, ctx:kernSpineParser.GraceNoteContext):
|
499
|
+
return self.visitChildren(ctx)
|
500
|
+
|
501
|
+
|
502
|
+
# Visit a parse tree produced by kernSpineParser#appoggiatura.
|
503
|
+
def visitAppoggiatura(self, ctx:kernSpineParser.AppoggiaturaContext):
|
504
|
+
return self.visitChildren(ctx)
|
505
|
+
|
506
|
+
|
507
|
+
# Visit a parse tree produced by kernSpineParser#appoggiaturaMode.
|
508
|
+
def visitAppoggiaturaMode(self, ctx:kernSpineParser.AppoggiaturaModeContext):
|
509
|
+
return self.visitChildren(ctx)
|
510
|
+
|
511
|
+
|
512
|
+
# Visit a parse tree produced by kernSpineParser#ligatureTie.
|
513
|
+
def visitLigatureTie(self, ctx:kernSpineParser.LigatureTieContext):
|
514
|
+
return self.visitChildren(ctx)
|
515
|
+
|
516
|
+
|
517
|
+
# Visit a parse tree produced by kernSpineParser#noteDecoration.
|
518
|
+
def visitNoteDecoration(self, ctx:kernSpineParser.NoteDecorationContext):
|
519
|
+
return self.visitChildren(ctx)
|
520
|
+
|
521
|
+
|
522
|
+
# Visit a parse tree produced by kernSpineParser#noteDecorationCharX.
|
523
|
+
def visitNoteDecorationCharX(self, ctx:kernSpineParser.NoteDecorationCharXContext):
|
524
|
+
return self.visitChildren(ctx)
|
525
|
+
|
526
|
+
|
527
|
+
# Visit a parse tree produced by kernSpineParser#phrase.
|
528
|
+
def visitPhrase(self, ctx:kernSpineParser.PhraseContext):
|
529
|
+
return self.visitChildren(ctx)
|
530
|
+
|
531
|
+
|
532
|
+
# Visit a parse tree produced by kernSpineParser#diatonicPitchAndOctave.
|
533
|
+
def visitDiatonicPitchAndOctave(self, ctx:kernSpineParser.DiatonicPitchAndOctaveContext):
|
534
|
+
return self.visitChildren(ctx)
|
535
|
+
|
536
|
+
|
537
|
+
# Visit a parse tree produced by kernSpineParser#trebleNotes.
|
538
|
+
def visitTrebleNotes(self, ctx:kernSpineParser.TrebleNotesContext):
|
539
|
+
return self.visitChildren(ctx)
|
540
|
+
|
541
|
+
|
542
|
+
# Visit a parse tree produced by kernSpineParser#bassNotes.
|
543
|
+
def visitBassNotes(self, ctx:kernSpineParser.BassNotesContext):
|
544
|
+
return self.visitChildren(ctx)
|
545
|
+
|
546
|
+
|
547
|
+
# Visit a parse tree produced by kernSpineParser#accidental.
|
548
|
+
def visitAccidental(self, ctx:kernSpineParser.AccidentalContext):
|
549
|
+
return self.visitChildren(ctx)
|
550
|
+
|
551
|
+
|
552
|
+
# Visit a parse tree produced by kernSpineParser#alterationDisplay.
|
553
|
+
def visitAlterationDisplay(self, ctx:kernSpineParser.AlterationDisplayContext):
|
554
|
+
return self.visitChildren(ctx)
|
555
|
+
|
556
|
+
|
557
|
+
# Visit a parse tree produced by kernSpineParser#turn.
|
558
|
+
def visitTurn(self, ctx:kernSpineParser.TurnContext):
|
559
|
+
return self.visitChildren(ctx)
|
560
|
+
|
561
|
+
|
562
|
+
# Visit a parse tree produced by kernSpineParser#userAssignable.
|
563
|
+
def visitUserAssignable(self, ctx:kernSpineParser.UserAssignableContext):
|
564
|
+
return self.visitChildren(ctx)
|
565
|
+
|
566
|
+
|
567
|
+
# Visit a parse tree produced by kernSpineParser#glissando.
|
568
|
+
def visitGlissando(self, ctx:kernSpineParser.GlissandoContext):
|
569
|
+
return self.visitChildren(ctx)
|
570
|
+
|
571
|
+
|
572
|
+
# Visit a parse tree produced by kernSpineParser#articulation.
|
573
|
+
def visitArticulation(self, ctx:kernSpineParser.ArticulationContext):
|
574
|
+
return self.visitChildren(ctx)
|
575
|
+
|
576
|
+
|
577
|
+
# Visit a parse tree produced by kernSpineParser#accent.
|
578
|
+
def visitAccent(self, ctx:kernSpineParser.AccentContext):
|
579
|
+
return self.visitChildren(ctx)
|
580
|
+
|
581
|
+
|
582
|
+
# Visit a parse tree produced by kernSpineParser#tenuto.
|
583
|
+
def visitTenuto(self, ctx:kernSpineParser.TenutoContext):
|
584
|
+
return self.visitChildren(ctx)
|
585
|
+
|
586
|
+
|
587
|
+
# Visit a parse tree produced by kernSpineParser#staccatissimo.
|
588
|
+
def visitStaccatissimo(self, ctx:kernSpineParser.StaccatissimoContext):
|
589
|
+
return self.visitChildren(ctx)
|
590
|
+
|
591
|
+
|
592
|
+
# Visit a parse tree produced by kernSpineParser#pizzicato.
|
593
|
+
def visitPizzicato(self, ctx:kernSpineParser.PizzicatoContext):
|
594
|
+
return self.visitChildren(ctx)
|
595
|
+
|
596
|
+
|
597
|
+
# Visit a parse tree produced by kernSpineParser#spiccato.
|
598
|
+
def visitSpiccato(self, ctx:kernSpineParser.SpiccatoContext):
|
599
|
+
return self.visitChildren(ctx)
|
600
|
+
|
601
|
+
|
602
|
+
# Visit a parse tree produced by kernSpineParser#staccato.
|
603
|
+
def visitStaccato(self, ctx:kernSpineParser.StaccatoContext):
|
604
|
+
return self.visitChildren(ctx)
|
605
|
+
|
606
|
+
|
607
|
+
# Visit a parse tree produced by kernSpineParser#editorialIntervention.
|
608
|
+
def visitEditorialIntervention(self, ctx:kernSpineParser.EditorialInterventionContext):
|
609
|
+
return self.visitChildren(ctx)
|
610
|
+
|
611
|
+
|
612
|
+
# Visit a parse tree produced by kernSpineParser#slurStart.
|
613
|
+
def visitSlurStart(self, ctx:kernSpineParser.SlurStartContext):
|
614
|
+
return self.visitChildren(ctx)
|
615
|
+
|
616
|
+
|
617
|
+
# Visit a parse tree produced by kernSpineParser#ligatureTieStart.
|
618
|
+
def visitLigatureTieStart(self, ctx:kernSpineParser.LigatureTieStartContext):
|
619
|
+
return self.visitChildren(ctx)
|
620
|
+
|
621
|
+
|
622
|
+
# Visit a parse tree produced by kernSpineParser#tieContinue.
|
623
|
+
def visitTieContinue(self, ctx:kernSpineParser.TieContinueContext):
|
624
|
+
return self.visitChildren(ctx)
|
625
|
+
|
626
|
+
|
627
|
+
# Visit a parse tree produced by kernSpineParser#ligatureTieEnd.
|
628
|
+
def visitLigatureTieEnd(self, ctx:kernSpineParser.LigatureTieEndContext):
|
629
|
+
return self.visitChildren(ctx)
|
630
|
+
|
631
|
+
|
632
|
+
# Visit a parse tree produced by kernSpineParser#slurEnd.
|
633
|
+
def visitSlurEnd(self, ctx:kernSpineParser.SlurEndContext):
|
634
|
+
return self.visitChildren(ctx)
|
635
|
+
|
636
|
+
|
637
|
+
# Visit a parse tree produced by kernSpineParser#barLineCrossedNoteStart.
|
638
|
+
def visitBarLineCrossedNoteStart(self, ctx:kernSpineParser.BarLineCrossedNoteStartContext):
|
639
|
+
return self.visitChildren(ctx)
|
640
|
+
|
641
|
+
|
642
|
+
# Visit a parse tree produced by kernSpineParser#barLineCrossedNoteEnd.
|
643
|
+
def visitBarLineCrossedNoteEnd(self, ctx:kernSpineParser.BarLineCrossedNoteEndContext):
|
644
|
+
return self.visitChildren(ctx)
|
645
|
+
|
646
|
+
|
647
|
+
# Visit a parse tree produced by kernSpineParser#stem.
|
648
|
+
def visitStem(self, ctx:kernSpineParser.StemContext):
|
649
|
+
return self.visitChildren(ctx)
|
650
|
+
|
651
|
+
|
652
|
+
# Visit a parse tree produced by kernSpineParser#beam.
|
653
|
+
def visitBeam(self, ctx:kernSpineParser.BeamContext):
|
654
|
+
return self.visitChildren(ctx)
|
655
|
+
|
656
|
+
|
657
|
+
# Visit a parse tree produced by kernSpineParser#mordent.
|
658
|
+
def visitMordent(self, ctx:kernSpineParser.MordentContext):
|
659
|
+
return self.visitChildren(ctx)
|
660
|
+
|
661
|
+
|
662
|
+
# Visit a parse tree produced by kernSpineParser#trill.
|
663
|
+
def visitTrill(self, ctx:kernSpineParser.TrillContext):
|
664
|
+
return self.visitChildren(ctx)
|
665
|
+
|
666
|
+
|
667
|
+
# Visit a parse tree produced by kernSpineParser#footnote.
|
668
|
+
def visitFootnote(self, ctx:kernSpineParser.FootnoteContext):
|
669
|
+
return self.visitChildren(ctx)
|
670
|
+
|
671
|
+
|
672
|
+
|
673
|
+
del kernSpineParser
|