Browse Source

feat: 2670 曲目弱起修改

TIANYONG 1 year ago
parent
commit
be8ac64fa9
2 changed files with 3 additions and 3 deletions
  1. 1 1
      osmd-extended
  2. 2 2
      src/helpers/formateMusic.ts

+ 1 - 1
osmd-extended

@@ -1 +1 @@
-Subproject commit f51abbc760fbe65b7060820a73cd1b973821f26e
+Subproject commit 78cf85a380c3a18fe0a71a890ff37dbc25707eae

+ 2 - 2
src/helpers/formateMusic.ts

@@ -953,10 +953,10 @@ export const formateTimes = (osmd: OpenSheetMusicDisplay) => {
 				}
 				/**
 				 * 管乐迷,部分弱起的曲目,mp3制作不标准,没有按照补齐弱起后的时间进行制作,需要单独处理
-				 * 2670:需要减去第一小节音符的时间
+				 * 2670
 				*/
 				if (["2670"].includes(state.cbsExamSongId)) {
-					fixtime -= _firstMeasureRealValue * formatBeatUnit(beatUnit) * (60 / beatSpeed);
+					// fixtime -= _firstMeasureRealValue * formatBeatUnit(beatUnit) * (60 / beatSpeed);
 				} else {
 					if (difftime > 0) {
 						fixtime += difftime;