1
0
mirror of synced 2024-11-27 22:40:49 +01:00

converters.py: Add missing barline setting

This commit is contained in:
Viv 2023-06-26 19:11:04 -04:00
parent 26b23ece19
commit 7b8097ef2e

View File

@ -80,7 +80,7 @@ def preprocessTJAMeasures(tja):
else: else:
measure_cur['pos_end'] = data['pos'] measure_cur['pos_end'] = data['pos']
measuresCorrected.append(measure_cur) measuresCorrected.append(measure_cur)
measure_cur = {'bpm': currentBPM, 'scroll': currentScroll, 'gogo': currentGogo, measure_cur = {'bpm': currentBPM, 'scroll': currentScroll, 'gogo': currentGogo, 'barline': currentBarline,
'subdivisions': len(measure['data']), 'pos_start': data['pos'], 'pos_end': 0, 'subdivisions': len(measure['data']), 'pos_start': data['pos'], 'pos_end': 0,
'time_sig': measure['length'], 'data': []} 'time_sig': measure['length'], 'data': []}
elif data['type'] == 'scroll': elif data['type'] == 'scroll':