4 files changed
+726
-1
MIT-LICENSE
new
+20
@@ -0,0 +1,20 @@
1
+Copyright (c) 2021-2022 Seto Elkahfi
2
+
3
+Permission is hereby granted, free of charge, to any person obtaining
4
+a copy of this software and associated documentation files (the
5
+"Software"), to deal in the Software without restriction, including
6
+without limitation the rights to use, copy, modify, merge, publish,
7
+distribute, sublicense, and/or sell copies of the Software, and to
8
+permit persons to whom the Software is furnished to do so, subject to
9
+the following conditions:
10
+
11
+The above copyright notice and this permission notice shall be
12
+included in all copies or substantial portions of the Software.
13
+
14
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
README.md
+3
-1
@@ -1,4 +1,6 @@
1
-# Sources
1
+# README
2
+
3
+## Sources
4
5
http://www.gamelan.org/library/fonts/KepatihanPro%20Keycaps.pdf
6
https://www.jstor.org/stable/1513116
examples/example_notation_gerongan_gambyong_pareanom_laras_pelog_pathet_nem.json
new
+195
@@ -0,0 +1,195 @@
1
+{
2
+ "version": "v0.0.1",
3
+ "licence": "MIT",
4
+ "sections": [
5
+ {
6
+ "type": "title",
7
+ "contents": {
8
+ "type": "Gerongan",
9
+ "name": "Gambyong Pareanom",
10
+ "laras": "Pelog",
11
+ "pathet": "Nem"
12
+ }
13
+ },
14
+ {
15
+ "type": "buka",
16
+ "lines": [
17
+ {
18
+ "gatra": [
19
+ {
20
+ "content": [
21
+ {
22
+ "number": "dot",
23
+ "attributes": []
24
+ },
25
+ {
26
+ "number": "3",
27
+ "attributes": []
28
+ },
29
+ {
30
+ "number": "3",
31
+ "attributes": []
32
+ },
33
+ {
34
+ "number": "dot",
35
+ "attributes": []
36
+ }
37
+ ]
38
+ },
39
+ {
40
+ "content": [
41
+ {
42
+ "number": "6",
43
+ "attributes": []
44
+ },
45
+ {
46
+ "number": "5",
47
+ "attributes": []
48
+ },
49
+ {
50
+ "number": "3",
51
+ "attributes": []
52
+ },
53
+ {
54
+ "number": "2",
55
+ "attributes": []
56
+ }
57
+ ]
58
+ },
59
+ {
60
+ "content": [
61
+ {
62
+ "number": "3",
63
+ "attributes": []
64
+ },
65
+ {
66
+ "number": "5",
67
+ "attributes": []
68
+ },
69
+ {
70
+ "number": "1",
71
+ "attributes": []
72
+ },
73
+ {
74
+ "number": "6",
75
+ "attributes": []
76
+ }
77
+ ]
78
+ },
79
+ {
80
+ "content": [
81
+ {
82
+ "number": "2",
83
+ "attributes": []
84
+ },
85
+ {
86
+ "number": "1",
87
+ "attributes": []
88
+ },
89
+ {
90
+ "number": "6",
91
+ "attributes": []
92
+ },
93
+ {
94
+ "number": "5",
95
+ "attributes": []
96
+ }
97
+ ]
98
+ }
99
+ ]
100
+ }
101
+ ]
102
+ },
103
+ {
104
+ "type": "A",
105
+ "lines":[
106
+ {
107
+ "gatra":[
108
+ {
109
+ "content": [
110
+ {
111
+ "number": "6",
112
+ "attributes": []
113
+ },
114
+ {
115
+ "number": "5",
116
+ "attributes": []
117
+ },
118
+ {
119
+ "number": "6",
120
+ "attributes": []
121
+ },
122
+ {
123
+ "number": "2",
124
+ "attributes": []
125
+ }
126
+ ]
127
+ },
128
+ {
129
+ "content": [
130
+ {
131
+ "number": "6",
132
+ "attributes": []
133
+ },
134
+ {
135
+ "number": "5",
136
+ "attributes": []
137
+ },
138
+ {
139
+ "number": "6",
140
+ "attributes": []
141
+ },
142
+ {
143
+ "number": "1",
144
+ "attributes": []
145
+ }
146
+ ]
147
+ },
148
+
149
+ {
150
+ "content": [
151
+ {
152
+ "number": "6",
153
+ "attributes": []
154
+ },
155
+ {
156
+ "number": "5",
157
+ "attributes": []
158
+ },
159
+ {
160
+ "number": "6",
161
+ "attributes": []
162
+ },
163
+ {
164
+ "number": "2",
165
+ "attributes": []
166
+ }
167
+ ]
168
+ },
169
+
170
+ {
171
+ "content": [
172
+ {
173
+ "number": "6",
174
+ "attributes": []
175
+ },
176
+ {
177
+ "number": "5",
178
+ "attributes": []
179
+ },
180
+ {
181
+ "number": "6",
182
+ "attributes": []
183
+ },
184
+ {
185
+ "number": "1",
186
+ "attributes": []
187
+ }
188
+ ]
189
+ }
190
+ ]
191
+ }
192
+ ]
193
+ }
194
+ ]
195
+}
\ No newline at end of file
examples/example_notation_setya_tuhu.json
new
+508
@@ -0,0 +1,508 @@
1
+{
2
+ "version": "v0.0.1",
3
+ "licence": "MIT",
4
+ "sections": [
5
+ {
6
+ "type": "title",
7
+ "contents": {
8
+ "type": "Langgam",
9
+ "name": "Setya Tuhu",
10
+ "laras": "Pelog",
11
+ "pathet": "Nem"
12
+ }
13
+ },
14
+ {
15
+ "type": "TODO: // Add section type",
16
+ "lines": [
17
+ {
18
+ "prefix": "[",
19
+ "suffix": "",
20
+ "gatra": [
21
+ {
22
+ "content": [
23
+ {
24
+ "number": "5",
25
+ "attributes": []
26
+ },
27
+ {
28
+ "number": "6",
29
+ "attributes": []
30
+ },
31
+ {
32
+ "number": "2",
33
+ "attributes": []
34
+ },
35
+ {
36
+ "number": "1",
37
+ "attributes": []
38
+ }
39
+ ]
40
+ },
41
+ {
42
+ "content": [
43
+ {
44
+ "number": "5",
45
+ "attributes": []
46
+ },
47
+ {
48
+ "number": "6",
49
+ "attributes": []
50
+ },
51
+ {
52
+ "number": "4",
53
+ "attributes": []
54
+ },
55
+ {
56
+ "number": "5",
57
+ "attributes": [
58
+ "kenong"
59
+ ]
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "content": [
65
+ {
66
+ "number": ".",
67
+ "attributes": []
68
+ },
69
+ {
70
+ "number": "6",
71
+ "attributes": []
72
+ },
73
+ {
74
+ "number": "3",
75
+ "attributes": [
76
+ "top_dot"
77
+ ]
78
+ },
79
+ {
80
+ "number": "2",
81
+ "attributes": [
82
+ "kempul",
83
+ "top_dot"
84
+ ]
85
+ }
86
+ ]
87
+ },
88
+ {
89
+ "content": [
90
+ {
91
+ "number": "1",
92
+ "attributes": [
93
+ "top_dot"
94
+ ]
95
+ },
96
+ {
97
+ "number": "6",
98
+ "attributes": []
99
+ },
100
+ {
101
+ "number": "3",
102
+ "attributes": []
103
+ },
104
+ {
105
+ "number": "2",
106
+ "attributes": [
107
+ "gong_gede"
108
+ ]
109
+ }
110
+ ]
111
+ }
112
+ ]
113
+ },
114
+ {
115
+ "prefix": "",
116
+ "suffix": "",
117
+ "gatra": [
118
+ {
119
+ "content": [
120
+ {
121
+ "number": "6",
122
+ "attributes": []
123
+ },
124
+ {
125
+ "number": "5",
126
+ "attributes": []
127
+ },
128
+ {
129
+ "number": "2",
130
+ "attributes": []
131
+ },
132
+ {
133
+ "number": "1",
134
+ "attributes": []
135
+ }
136
+ ]
137
+ },
138
+ {
139
+ "content": [
140
+ {
141
+ "number": "5",
142
+ "attributes": []
143
+ },
144
+ {
145
+ "number": "6",
146
+ "attributes": []
147
+ },
148
+ {
149
+ "number": "4",
150
+ "attributes": []
151
+ },
152
+ {
153
+ "number": "5",
154
+ "attributes": [
155
+ "kenong"
156
+ ]
157
+ }
158
+ ]
159
+ },
160
+ {
161
+ "content": [
162
+ {
163
+ "number": ".",
164
+ "attributes": []
165
+ },
166
+ {
167
+ "number": "6",
168
+ "attributes": []
169
+ },
170
+ {
171
+ "number": "3",
172
+ "attributes": [
173
+ "top_dot"
174
+ ]
175
+ },
176
+ {
177
+ "number": "2",
178
+ "attributes": [
179
+ "kempul",
180
+ "top_dot"
181
+ ]
182
+ }
183
+ ]
184
+ },
185
+ {
186
+ "content": [
187
+ {
188
+ "number": "5",
189
+ "attributes": []
190
+ },
191
+ {
192
+ "number": "3",
193
+ "attributes": []
194
+ },
195
+ {
196
+ "number": "2",
197
+ "attributes": []
198
+ },
199
+ {
200
+ "number": "1",
201
+ "attributes": [
202
+ "gong_gede"
203
+ ]
204
+ }
205
+ ]
206
+ }
207
+ ]
208
+ },
209
+ {
210
+ "prefix": "",
211
+ "suffix": "",
212
+ "gatra": [
213
+ {
214
+ "content": [
215
+ {
216
+ "number": "2",
217
+ "attributes": []
218
+ },
219
+ {
220
+ "number": "1",
221
+ "attributes": []
222
+ },
223
+ {
224
+ "number": "6",
225
+ "attributes": []
226
+ },
227
+ {
228
+ "number": "5",
229
+ "attributes": []
230
+ }
231
+ ]
232
+ },
233
+ {
234
+ "content": [
235
+ {
236
+ "number": "6",
237
+ "attributes": []
238
+ },
239
+ {
240
+ "number": "5",
241
+ "attributes": []
242
+ },
243
+ {
244
+ "number": "1",
245
+ "attributes": [
246
+ "top_dot"
247
+ ]
248
+ },
249
+ {
250
+ "number": "6",
251
+ "attributes": [
252
+ "kenong"
253
+ ]
254
+ }
255
+ ]
256
+ },
257
+ {
258
+ "content": [
259
+ {
260
+ "number": "5",
261
+ "attributes": []
262
+ },
263
+ {
264
+ "number": "6",
265
+ "attributes": []
266
+ },
267
+ {
268
+ "number": "3",
269
+ "attributes": [
270
+ "top_dot"
271
+ ]
272
+ },
273
+ {
274
+ "number": "2",
275
+ "attributes": [
276
+ "kempul",
277
+ "top_dot"
278
+ ]
279
+ }
280
+ ]
281
+ },
282
+ {
283
+ "content": [
284
+ {
285
+ "number": ".",
286
+ "attributes": []
287
+ },
288
+ {
289
+ "number": "1",
290
+ "attributes": [
291
+ "top_dot"
292
+ ]
293
+ },
294
+ {
295
+ "number": "6",
296
+ "attributes": []
297
+ },
298
+ {
299
+ "number": "6",
300
+ "attributes": [
301
+ "gong_gede"
302
+ ]
303
+ }
304
+ ]
305
+ }
306
+ ]
307
+ },
308
+ {
309
+ "prefix": "",
310
+ "suffix": "",
311
+ "gatra": [
312
+ {
313
+ "content": [
314
+ {
315
+ "number": "3",
316
+ "attributes": []
317
+ },
318
+ {
319
+ "number": "2",
320
+ "attributes": []
321
+ },
322
+ {
323
+ "number": "3",
324
+ "attributes": []
325
+ },
326
+ {
327
+ "number": "1",
328
+ "attributes": []
329
+ }
330
+ ]
331
+ },
332
+ {
333
+ "content": [
334
+ {
335
+ "number": "5",
336
+ "attributes": []
337
+ },
338
+ {
339
+ "number": "6",
340
+ "attributes": []
341
+ },
342
+ {
343
+ "number": "4",
344
+ "attributes": []
345
+ },
346
+ {
347
+ "number": "5",
348
+ "attributes": [
349
+ "kenong"
350
+ ]
351
+ }
352
+ ]
353
+ },
354
+ {
355
+ "content": [
356
+ {
357
+ "number": ".",
358
+ "attributes": []
359
+ },
360
+ {
361
+ "number": "6",
362
+ "attributes": []
363
+ },
364
+ {
365
+ "number": "3",
366
+ "attributes": [
367
+ "top_dot"
368
+ ]
369
+ },
370
+ {
371
+ "number": "2",
372
+ "attributes": [
373
+ "kempul",
374
+ "top_dot"
375
+ ]
376
+ }
377
+ ]
378
+ },
379
+ {
380
+ "content": [
381
+ {
382
+ "number": "5",
383
+ "attributes": []
384
+ },
385
+ {
386
+ "number": "3",
387
+ "attributes": []
388
+ },
389
+ {
390
+ "number": "2",
391
+ "attributes": []
392
+ },
393
+ {
394
+ "number": "1",
395
+ "attributes": [
396
+ "gong_gede"
397
+ ]
398
+ }
399
+ ]
400
+ }
401
+ ]
402
+ }
403
+ ]
404
+ },
405
+ {
406
+ "type": "ompak",
407
+ "lines": [
408
+ {
409
+ "prefix": "",
410
+ "suffix": "]",
411
+ "gatra": [
412
+ {
413
+ "content": [
414
+ {
415
+ "number": "5",
416
+ "attributes": []
417
+ },
418
+ {
419
+ "number": "6",
420
+ "attributes": []
421
+ },
422
+ {
423
+ "number": "2",
424
+ "attributes": []
425
+ },
426
+ {
427
+ "number": "1",
428
+ "attributes": []
429
+ }
430
+ ]
431
+ },
432
+ {
433
+ "content": [
434
+ {
435
+ "number": "5",
436
+ "attributes": []
437
+ },
438
+ {
439
+ "number": "6",
440
+ "attributes": []
441
+ },
442
+ {
443
+ "number": "4",
444
+ "attributes": []
445
+ },
446
+ {
447
+ "number": "5",
448
+ "attributes": [
449
+ "kenong"
450
+ ]
451
+ }
452
+ ]
453
+ },
454
+ {
455
+ "content": [
456
+ {
457
+ "number": ".",
458
+ "attributes": []
459
+ },
460
+ {
461
+ "number": "6",
462
+ "attributes": []
463
+ },
464
+ {
465
+ "number": "3",
466
+ "attributes": [
467
+ "top_dot"
468
+ ]
469
+ },
470
+ {
471
+ "number": "2",
472
+ "attributes": [
473
+ "kempul",
474
+ "top_dot"
475
+ ]
476
+ }
477
+ ]
478
+ },
479
+ {
480
+ "content": [
481
+ {
482
+ "number": "1",
483
+ "attributes": [
484
+ "top_dot"
485
+ ]
486
+ },
487
+ {
488
+ "number": "6",
489
+ "attributes": []
490
+ },
491
+ {
492
+ "number": "3",
493
+ "attributes": []
494
+ },
495
+ {
496
+ "number": "2",
497
+ "attributes": [
498
+ "gong_gede"
499
+ ]
500
+ }
501
+ ]
502
+ }
503
+ ]
504
+ }
505
+ ]
506
+ }
507
+ ]
508
+}
\ No newline at end of file