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,236 @@
|
|
1
|
+
TANDEM_KEYCANCEL=1
|
2
|
+
TANDEM_PART=2
|
3
|
+
TANDEM_GROUP=3
|
4
|
+
TANDEM_ACCOMP=4
|
5
|
+
TANDEM_SOLO=5
|
6
|
+
TANDEM_STROPHE=6
|
7
|
+
TANDEM_STAFF=7
|
8
|
+
TANDEM_TRANSPOSITION=8
|
9
|
+
TANDEM_CLEF=9
|
10
|
+
TANDEM_KEY_SIGNATURE=10
|
11
|
+
TANDEM_MET=11
|
12
|
+
METRONOME=12
|
13
|
+
TANDEM_SECTION=13
|
14
|
+
NO_REPEAT=14
|
15
|
+
TANDEM_LEFT_HAND=15
|
16
|
+
TANDEM_RIGHT_HAND=16
|
17
|
+
TANDEM_ABOVE=17
|
18
|
+
TANDEM_BELOW=18
|
19
|
+
TANDEM_CENTERED=19
|
20
|
+
TANDEM_PEDAL_START=20
|
21
|
+
TANDEM_ELA=21
|
22
|
+
TANDEM_PEDAL_END=22
|
23
|
+
TANDEM_TUPLET_START=23
|
24
|
+
TANDEM_TUPLET_END=24
|
25
|
+
TANDEM_CUE_START=25
|
26
|
+
TANDEM_CUE_END=26
|
27
|
+
TANDEM_TREMOLO_START=27
|
28
|
+
TANDEM_TREMOLO_END=28
|
29
|
+
TANDEM_TSTART=29
|
30
|
+
TANDEM_TEND=30
|
31
|
+
TANDEM_RSCALE=31
|
32
|
+
TANDEM_TIMESIGNATURE=32
|
33
|
+
TANDEM_SIC=33
|
34
|
+
TANDEM_OSSIA=34
|
35
|
+
TANDEM_FIN=35
|
36
|
+
TANDEM_SMINUS=36
|
37
|
+
TANDEM_TIMEBASE=37
|
38
|
+
TANDEM_BOUNDING_BOX=38
|
39
|
+
OCTAVE_SHIFT=39
|
40
|
+
EXCLAMATION=40
|
41
|
+
PERCENT=41
|
42
|
+
AMPERSAND=42
|
43
|
+
AT=43
|
44
|
+
CHAR_A=44
|
45
|
+
CHAR_B=45
|
46
|
+
CHAR_C=46
|
47
|
+
CHAR_D=47
|
48
|
+
CHAR_E=48
|
49
|
+
CHAR_F=49
|
50
|
+
CHAR_G=50
|
51
|
+
CHAR_H=51
|
52
|
+
CHAR_I=52
|
53
|
+
CHAR_J=53
|
54
|
+
CHAR_K=54
|
55
|
+
CHAR_L=55
|
56
|
+
CHAR_M=56
|
57
|
+
CHAR_N=57
|
58
|
+
CHAR_O=58
|
59
|
+
CHAR_P=59
|
60
|
+
CHAR_Q=60
|
61
|
+
CHAR_R=61
|
62
|
+
CHAR_S=62
|
63
|
+
CHAR_T=63
|
64
|
+
CHAR_U=64
|
65
|
+
CHAR_V=65
|
66
|
+
CHAR_W=66
|
67
|
+
CHAR_X=67
|
68
|
+
CHAR_Y=68
|
69
|
+
CHAR_Z=69
|
70
|
+
CHAR_a=70
|
71
|
+
CHAR_b=71
|
72
|
+
CHAR_c=72
|
73
|
+
CHAR_d=73
|
74
|
+
CHAR_e=74
|
75
|
+
CHAR_f=75
|
76
|
+
CHAR_g=76
|
77
|
+
CHAR_h=77
|
78
|
+
CHAR_i=78
|
79
|
+
CHAR_j=79
|
80
|
+
CHAR_k=80
|
81
|
+
CHAR_l=81
|
82
|
+
CHAR_m=82
|
83
|
+
CHAR_n=83
|
84
|
+
CHAR_o=84
|
85
|
+
CHAR_p=85
|
86
|
+
CHAR_q=86
|
87
|
+
CHAR_r=87
|
88
|
+
CHAR_s=88
|
89
|
+
CHAR_t=89
|
90
|
+
CHAR_u=90
|
91
|
+
CHAR_v=91
|
92
|
+
CHAR_w=92
|
93
|
+
CHAR_x=93
|
94
|
+
CHAR_y=94
|
95
|
+
CHAR_z=95
|
96
|
+
NON_ENGLISH=96
|
97
|
+
DIGIT_0=97
|
98
|
+
DIGIT_1=98
|
99
|
+
DIGIT_2=99
|
100
|
+
DIGIT_3=100
|
101
|
+
DIGIT_4=101
|
102
|
+
DIGIT_5=102
|
103
|
+
DIGIT_6=103
|
104
|
+
DIGIT_7=104
|
105
|
+
DIGIT_8=105
|
106
|
+
DIGIT_9=106
|
107
|
+
SPINE_TERMINATOR=107
|
108
|
+
SPINE_ADD=108
|
109
|
+
SPINE_SPLIT=109
|
110
|
+
SPINE_JOIN=110
|
111
|
+
ASTERISK=111
|
112
|
+
QUOTATION_MARK=112
|
113
|
+
APOSTROPHE=113
|
114
|
+
LEFT_BRACKET=114
|
115
|
+
RIGHT_BRACKET=115
|
116
|
+
LEFT_CURLY_BRACES=116
|
117
|
+
RIGHT_CURLY_BRACES=117
|
118
|
+
OCTOTHORPE=118
|
119
|
+
PLUS=119
|
120
|
+
MINUS=120
|
121
|
+
EQUAL=121
|
122
|
+
DOT=122
|
123
|
+
PIPE=123
|
124
|
+
GRAVE_ACCENT=124
|
125
|
+
CIRCUMFLEX=125
|
126
|
+
TILDE=126
|
127
|
+
ANGLE_BRACKET_OPEN=127
|
128
|
+
ANGLE_BRACKET_CLOSE=128
|
129
|
+
SLASH=129
|
130
|
+
BACKSLASH=130
|
131
|
+
UNDERSCORE=131
|
132
|
+
DOLLAR=132
|
133
|
+
LEFT_PARENTHESIS=133
|
134
|
+
RIGHT_PARENTHESIS=134
|
135
|
+
COLON=135
|
136
|
+
SEMICOLON=136
|
137
|
+
COMMA=137
|
138
|
+
QUESTION_MARK=138
|
139
|
+
SPACE=139
|
140
|
+
INSTRUMENT_TITLE=140
|
141
|
+
INSTRUMENT=141
|
142
|
+
'norep'=14
|
143
|
+
'!'=40
|
144
|
+
'%'=41
|
145
|
+
'&'=42
|
146
|
+
'@'=43
|
147
|
+
'A'=44
|
148
|
+
'B'=45
|
149
|
+
'C'=46
|
150
|
+
'D'=47
|
151
|
+
'E'=48
|
152
|
+
'F'=49
|
153
|
+
'G'=50
|
154
|
+
'H'=51
|
155
|
+
'I'=52
|
156
|
+
'J'=53
|
157
|
+
'K'=54
|
158
|
+
'L'=55
|
159
|
+
'M'=56
|
160
|
+
'N'=57
|
161
|
+
'O'=58
|
162
|
+
'P'=59
|
163
|
+
'Q'=60
|
164
|
+
'R'=61
|
165
|
+
'S'=62
|
166
|
+
'T'=63
|
167
|
+
'U'=64
|
168
|
+
'V'=65
|
169
|
+
'W'=66
|
170
|
+
'X'=67
|
171
|
+
'Y'=68
|
172
|
+
'Z'=69
|
173
|
+
'a'=70
|
174
|
+
'b'=71
|
175
|
+
'c'=72
|
176
|
+
'd'=73
|
177
|
+
'e'=74
|
178
|
+
'f'=75
|
179
|
+
'g'=76
|
180
|
+
'h'=77
|
181
|
+
'i'=78
|
182
|
+
'j'=79
|
183
|
+
'k'=80
|
184
|
+
'l'=81
|
185
|
+
'm'=82
|
186
|
+
'n'=83
|
187
|
+
'o'=84
|
188
|
+
'p'=85
|
189
|
+
'q'=86
|
190
|
+
'r'=87
|
191
|
+
's'=88
|
192
|
+
't'=89
|
193
|
+
'u'=90
|
194
|
+
'v'=91
|
195
|
+
'w'=92
|
196
|
+
'x'=93
|
197
|
+
'y'=94
|
198
|
+
'z'=95
|
199
|
+
'0'=97
|
200
|
+
'1'=98
|
201
|
+
'2'=99
|
202
|
+
'3'=100
|
203
|
+
'4'=101
|
204
|
+
'5'=102
|
205
|
+
'6'=103
|
206
|
+
'7'=104
|
207
|
+
'8'=105
|
208
|
+
'9'=106
|
209
|
+
'"'=112
|
210
|
+
'\''=113
|
211
|
+
'['=114
|
212
|
+
']'=115
|
213
|
+
'{'=116
|
214
|
+
'}'=117
|
215
|
+
'#'=118
|
216
|
+
'+'=119
|
217
|
+
'-'=120
|
218
|
+
'='=121
|
219
|
+
'.'=122
|
220
|
+
'|'=123
|
221
|
+
'`'=124
|
222
|
+
'^'=125
|
223
|
+
'~'=126
|
224
|
+
'<'=127
|
225
|
+
'>'=128
|
226
|
+
'/'=129
|
227
|
+
'\\'=130
|
228
|
+
'_'=131
|
229
|
+
'$'=132
|
230
|
+
'('=133
|
231
|
+
')'=134
|
232
|
+
':'=135
|
233
|
+
';'=136
|
234
|
+
','=137
|
235
|
+
'?'=138
|
236
|
+
' '=139
|