From 1ad10a95d21772e5cd5a83c90c222e853b5177a2 Mon Sep 17 00:00:00 2001 From: WJG Date: Sun, 26 May 2024 19:14:47 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=92=AD=E6=94=BE=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E6=A3=80=E6=B5=8B=E9=97=B4=E9=9A=94=E4=B8=8A=E8=B0=83=E5=88=B0?= =?UTF-8?q?=20500ms?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/services/speaker/base.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/speaker/base.ts b/src/services/speaker/base.ts index 8482a7f..00459ec 100644 --- a/src/services/speaker/base.ts +++ b/src/services/speaker/base.ts @@ -43,7 +43,7 @@ export type BaseSpeakerConfig = MiServiceConfig & { */ wakeUpCommand?: ActionCommand; /** - * 检测间隔(单位毫秒,默认 100 毫秒) + * 检测间隔(单位毫秒,默认 500 毫秒) */ interval?: number; /** @@ -65,7 +65,7 @@ export class BaseSpeaker { constructor(config: BaseSpeakerConfig) { this.config = config; const { - interval = 100, + interval = 500, tts = "xiaoai", ttsCommand = [5, 1], wakeUpCommand = [5, 3],