|  | @@ -1653,6 +1653,9 @@ const analyzeEvxml = (xmlParse: any, xmlUrl?: string) => {
 | 
	
		
			
				|  |  |  		const hasTimeGap = state.xmlHasTimeGap = xmlParse.getElementsByTagName("timegap").length > 0;
 | 
	
		
			
				|  |  |  		const hasTimes = xmlParse.getElementsByTagName("times").length > 0;
 | 
	
		
			
				|  |  |  		if (timeGaps && timeGaps.length && !firstNoteBeginTime) {
 | 
	
		
			
				|  |  | +			// 有timegap的曲子,需要找到是从哪一小节开始循环的,默认是从第一节开始循环
 | 
	
		
			
				|  |  | +			// const startRepeat = Array.from(xmlParse.getElementsByTagName("repeat") || []).filter((item: any) => item?.getAttribute('direction') === 'forward')
 | 
	
		
			
				|  |  | +			// state.timegapRepeatMeasureIndex = startRepeat ? 2 : 1;
 | 
	
		
			
				|  |  |  			for (const timeGap of timeGaps) {
 | 
	
		
			
				|  |  |  				const num: any = timeGap?.getAttribute('num'), den: any = timeGap?.getAttribute('den');
 | 
	
		
			
				|  |  |  				const startTime = num ? 60 / state.originSpeed * num * 4/den : 0;
 |