Explorar el Código

系统节拍器 播放比例修改

黄琪勇 hace 8 meses
padre
commit
6d2f1ce259
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/view/tick/index.tsx

+ 1 - 1
src/view/tick/index.tsx

@@ -70,7 +70,7 @@ const handlePlay = (i: number, source: any | null) => {
 		} else {
 			_time=setTimeout(() => {
 				tickPlayCb(i, resolve, source);
-			}, Math.abs(tickData.beatLengthInMilliseconds[i-1])*1000/state.basePlayRate);
+			}, Math.abs(tickData.beatLengthInMilliseconds[i-1])*1000/state.basePlayRate/state.originAudioPlayRate);
 		}
 	});
 };