converters.py
: Fix typo (PM -> BPM)
This commit is contained in:
parent
abd0af5f57
commit
ae84137478
@ -68,7 +68,7 @@ def preprocessTJAMeasures(tja):
|
|||||||
for data in combined:
|
for data in combined:
|
||||||
if data['type'] == 'bpm':
|
if data['type'] == 'bpm':
|
||||||
currentBPM = float(data['value'])
|
currentBPM = float(data['value'])
|
||||||
# Case 1: BPM change at the start of a measure; just change PM
|
# Case 1: BPM change at the start of a measure; just change BPM
|
||||||
if data['pos'] == 0:
|
if data['pos'] == 0:
|
||||||
measure_cur['bpm'] = currentBPM
|
measure_cur['bpm'] = currentBPM
|
||||||
# Case 2: BPM change mid-measure, so start a new sub-measure
|
# Case 2: BPM change mid-measure, so start a new sub-measure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user