Document --wake-refractory-seconds

This commit is contained in:
Michael Hansen
2024-01-09 12:04:17 -06:00
parent e7dcbf4383
commit 2d9c7b28aa
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -117,6 +117,8 @@ script/run \
Audio will only be streamed to the server after the wake word has been detected.
Once a wake word has been detected, it can not be detected again for several seconds (called the "refractory period"). You can change this with `--wake-refractory-seconds <SECONDS>`.
Note that `--vad` is unnecessary when connecting to a local instance of openwakeword.
## Sounds
+3 -1
View File
@@ -291,7 +291,9 @@ async def main() -> None:
uri=args.wake_uri,
command=split_command(args.wake_command),
names=args.wake_word_name,
refractory_seconds=args.wake_refractory_seconds,
refractory_seconds=args.wake_refractory_seconds
if args.wake_refractory_seconds > 0
else None,
),
snd=SndSettings(
uri=args.snd_uri,