Browse Source

修改音频

林旭祥 3 days ago
parent
commit
3ff51b26f2
3 changed files with 5 additions and 4 deletions
  1. BIN
      public/static/audio/Ready3.mp3
  2. 2 1
      src/utils/speech.ts
  3. 3 3
      src/views/train/multiple.vue

BIN
public/static/audio/Ready3.mp3


+ 2 - 1
src/utils/speech.ts

@@ -92,6 +92,7 @@ export const speckText = (text: any) => {
     // '还有30秒,加油!': 'countdown30s.mp3',
     // '还有10秒,坚持住!': 'countdown10s.mp3',
     // '预备': 'Ready.mp3',
+    // { lable: '预备2', value: 'Ready2.mp3' },
     { lable: '5', value: '5.mp3' },
     { lable: '4', value: '4.mp3' },
     { lable: '3', value: '3.mp3' },
@@ -102,7 +103,7 @@ export const speckText = (text: any) => {
     { lable: '跑', value: 'run.mp3' },
     { lable: '哨声', value: 'shaosheng.mp3' },
     { lable: '哨声2', value: 'shaosheng2.mp3' },
-    { lable: '预备2', value: 'Ready2.mp3' },//原团队现已经取消用TTS
+    { lable: '预备3', value: 'Ready3.mp3' },
   ];
   speechText = '';
   let obj = list.find((item: any) => {

+ 3 - 3
src/views/train/multiple.vue

@@ -565,9 +565,9 @@ const getReady = () => {
       multipleItemRefList.value[i].getStopFace();
     }
   }
-  //speckText("预备2");
-  speckText("各就位!预备!");
-  time.value.ready = 6;
+  speckText("预备3");
+  //speckText("各就位!预备!");
+  time.value.ready = 3;
   timerManager.value.readyTimer = setInterval(() => {
     time.value.ready--;
     if (time.value.ready <= 0) {