Jelajahi Sumber

Update beat-tick.ts

lex 1 tahun lalu
induk
melakukan
430a142ff8
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/views/tempo-practice/beat-tick.ts

+ 1 - 1
src/views/tempo-practice/beat-tick.ts

@@ -85,7 +85,7 @@ export const handleStartBeat = async () => {
       const part = setting.scorePart[i][j];
       const params = {
         ...part,
-        ...beatDesc[part.index - 1]
+        ...beatDesc[part.index + 1]
       };
       // console.log(params);
       const single16th = beatData.beatLengthInMilliseconds;