424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
|
par_sy = sy_new
}
/* -- set the bar numbers -- */
// (possible hook)
Abc.prototype.set_bar_num = function() {
var s, s2, tim, rep_tim, k, n,
bar_num = 1,
bar_tim = 0,
wmeasure = voice_tb[cur_sy.top_voice].meter.wmeasure
// don't count a bar at start of tune
for (s = tsfirst; ; s = s.ts_next) {
if (!s)
return
|
|
|
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
|
par_sy = sy_new
}
/* -- set the bar numbers -- */
// (possible hook)
Abc.prototype.set_bar_num = function() {
var s, s2, tim, rep_tim, k, n,
bar_num = gene.nbar,
bar_tim = 0,
wmeasure = voice_tb[cur_sy.top_voice].meter.wmeasure
// don't count a bar at start of tune
for (s = tsfirst; ; s = s.ts_next) {
if (!s)
return
|