浏览代码

系统节拍器 播放比例修改

黄琪勇 8 月之前
父节点
当前提交
6d2f1ce259
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
 		}
 	});
 };