abc2svg
Diff
Not logged in

Differences From Artifact [307b375540]:

To Artifact [02012c5297]:


112
113
114
115
116
117
118
119
120


121
122
123
124
125


126
127
128
129
130

131
132

133
134
135
136
137
138
139
112
113
114
115
116
117
118


119
120
121
122
123


124
125
126
127
128
129

130
131

132
133
134
135
136
137
138
139







-
-
+
+



-
-
+
+




-
+

-
+







	}
	return s
}

/* -- sort all symbols by time and vertical sequence -- */
// weight of the symbols !! depends on the symbol type !!
var w_tb = new Uint8Array([
	5,	// bar
	1,	// clef
	6,	// bar
	2,	// clef
	8,	// custos
	6,	// sm (sequence marker, after bar)
	0,	// grace (must be null)
	2,	// key
	3,	// meter
	3,	// key
	4,	// meter
	9,	// mrest
	9,	// note
	0,	// part
	9,	// rest
	4,	// space (before bar)
	5,	// space (before bar)
	0,	// staves
	7,	// stbrk
	1,	// stbrk
	0,	// tempo
	0,	// (free)
	0,	// block
	0	// remark
])

function sort_all() {
343
344
345
346
347
348
349
350

351
352
353
354
355
356
357
343
344
345
346
347
348
349

350
351
352
353
354
355
356
357







-
+







			}
		}

		if (wmin > 127)
			break			// done

		// check the type of the measure bars
		if (wmin == 5)			// weight of bars
		if (wmin == 6)			// !! weight of bars
			b_chk()

		/* link the vertical sequence */
		ir = 0
		while (1) {
			v = vn[ir++]
			if (v == undefined)