@smbcloud / gns / commits / 5e9dc81

Readme

Seto Elkahfi committed Oct 2, 2022 at 20:48 UTC 5e9dc81f9abe89ff5b4b472c2d25d022317d9bb3
1 file changed +146 -2
README.md
+146 -2
@@ -1,6 +1,150 @@
1 -# README
1 +# GNS - Gamelan Notation Standard
2
3 -## Sources
3 +GNS is a standard for gamelan notation based on Kepatihan system. This is early version of the standard.
4 +
5 +## Root object
6 +
7 +Consists of the version and the licence.
8 +
9 + "version": "v0.0.1",
10 + "licence": "MIT",
11 +
12 +## Sections
13 +
14 +Consists of array of section.
15 +
16 + "sections": [
17 + {
18 + "type": "title",
19 + "contents": {
20 + "type": "Jineman",
21 + "name": "Mari Kangen",
22 + "laras": "Slendro",
23 + "pathet": "Sanga"
24 + }
25 + },
26 +
27 +### Section
28 +
29 +Consists of type, array of contents, or array of lines.
30 +Array of contents for type title:
31 +
32 + "type": "title",
33 + "contents": {
34 + "type": "Jineman",
35 + "name": "Mari Kangen",
36 + "laras": "Slendro",
37 + "pathet": "Sanga"
38 + }
39 +
40 +Array of lines:
41 +
42 + "type": "celuk",
43 + "lines": [
44 + {
45 + "gatra": [
46 + {
47 + "content": []
48 + },
49 + {
50 + "content": []
51 + },
52 + {
53 + "content": []
54 + },
55 + {
56 + "content": [
57 + {
58 + "number": ".",
59 + "attributes": []
60 + },
61 + {
62 + "number": ".",
63 + "attributes": []
64 + },
65 + {
66 + "number": ".",
67 + "attributes": []
68 + },
69 + {
70 + "number": "2",
71 + "attributes": ["kempul"]
72 + }
73 + ]
74 + }
75 + ]
76 + }
77 + ]
78 + },
79 +
80 +### Lines
81 +
82 +Consists of array of gatra:
83 +
84 + "lines": [
85 + {
86 + "gatra": [
87 + {
88 + "content": [
89 + {
90 + "number": "5",
91 + "attributes": []
92 + },
93 + {
94 + "number": "6",
95 + "attributes": []
96 + },
97 + {
98 + "number": "2",
99 + "attributes": []
100 + },
101 + {
102 + "number": "1",
103 + "attributes": ["kempul"]
104 + }]
105 + }
106 + ]
107 + },
108 +
109 +
110 +#### Gatra
111 +
112 +Consists of gatra object, which has number and attributes.
113 +
114 + {
115 + "content": [
116 + {
117 + "number": "5",
118 + "attributes": []
119 + },
120 + {
121 + "number": "6",
122 + "attributes": []
123 + },
124 + {
125 + "number": "2",
126 + "attributes": []
127 + },
128 + {
129 + "number": "1",
130 + "attributes": ["kempul"]
131 + }]
132 + }
133 +
134 +#### Gatra attributes
135 +
136 +A string-based name of attributes.
137 +
138 +gong_gede = O surrounded the number
139 +gong_suwuk = ( ) surrounded the number
140 +kempul = > ontop, clockwise
141 +kenong = < ontop, clockwise
142 +kethuk = + ontop
143 +kempyang = - ontop
144 +top_dot = an octabe higher
145 +bottom_dot = an octave lower
146 +
147 +# Sources
148
149 http://www.gamelan.org/library/fonts/KepatihanPro%20Keycaps.pdf
150 https://www.jstor.org/stable/1513116