|
@@ -320,7 +320,7 @@ class Metronome {
|
|
|
// console.log("🚀 ~ note?.noteElement?.sourceMeasure", note?.noteElement?.sourceMeasure)
|
|
|
// console.log("🚀 ~ measureNumberXML", measureNumberXML, note)
|
|
|
// console.log("🚀 ~ measureNumberXML", note)
|
|
|
- const measureListIndex = measureNumberXML - 1;
|
|
|
+ const measureListIndex = state.firstMeasureNumber == 0 ? measureNumberXML : measureNumberXML - 1;
|
|
|
// 当渐快渐慢的时候 不播节拍器
|
|
|
if(isWithinRange(state.gradual, measureListIndex)){
|
|
|
xmlNumber = measureNumberXML;
|