RealtimeSTT icon indicating copy to clipboard operation
RealtimeSTT copied to clipboard

Feature Request - Wake Word delay - stay open listening after wake word for x seconds

Open SkyCandy567 opened this issue 9 months ago • 11 comments

Thanks for a great program/script!

Is there a way, or can a way be added to have a wake word delay? What I mean by this, is a way for the recorder to stay listening without the need for a wake word for X amount of seconds after it detects the wake word in the context of a conversation.

For example, the user uses a wake word to wake the recorder, has a conservation with the LLM for 2-3 minutes, and when the recorder detects silence for X amount of seconds (say 1-2 minutes), it goes back to listing for a wake word?

My use case is this. I have an AI in a public game lobby. Users come up and chat with it for 1-2 minutes, then move on. Right now, the way the wake work works, with each new sentence they say, they need to use a wake work. For example:

  1. Player: Hey SkyNet, who had the most kills on the last game?
  2. SkyNet: The user with the most kills was SkyCandy. She had 21 kills with the MP9
  3. Player: Hey SkyNet, who had the most damage
  4. SkyNet: The user with the most damage was Crypto4x. He had 3000 damage with the AK
  5. Player: Hey Skynet.....

A more intuitive conversation would not require the player to use a wake word for each follow up question. When the conversation is "over" the LLM/recorder goes back to listening for a wake word...

  1. Player: Hey SkyNet, who had the most kills on the last game?
  2. SkyNet: The user with the most kills was SkyCandy. She had 21 kills with the MP9
  3. Player: Who had the most damage
  4. SkyNet: The user with the most damage was Crypto4x. He had 3000 damage with the AK
  5. Player: What is the average speed of an unladen swallow quote?
  6. SkyNet: An African swallow or a European Swallow...
  7. player leaves, silence for 1 minute (recorder is open listening for sound)
  8. Recorder goes back to listening for wake word after 1 minute of silence

SkyCandy567 avatar Jan 21 '25 15:01 SkyCandy567