C-Nedelcu / talk-to-chatgpt

Talk to ChatGPT AI using your voice and listen to its answers through a voice
GNU Affero General Public License v3.0
1.97k stars 332 forks source link

speech recognition stops after a short pause #39

Closed jeffweisbein closed 1 year ago

jeffweisbein commented 1 year ago

Would it be possible to have a setting to increase the time you have between pauses in speaking to ChatGPT? I've used the extension to create a bot for a social audio app and when people talk to the bot account if they stop speaking for a moment, it assumes they're done and starts to process what has already been said (but they aren't finished with what they're actually saying, they just paused to think).

Any insights on this? Thanks!

C-Nedelcu commented 1 year ago

Hello Jeff, This could be an idea for a future update. Have you considered using the manual send option from v1.6.2 ? Basically, you disable autosend, and you select a send word. I am not sure whether your comment was made before or after I published that feature.

lucasdourado8 commented 1 year ago

I came here to suggest the same thing. Regarding the manual sending function, I think you could leave the prompt without the text appearing (as in the automatic function). This appearing text shapes the way I communicate and disrupts the flow of language. It would seem a lot like an automatic function but I can give it all the time to think and give more context to the sentence and only then say the word send. It would be amazing for someone who is studying other languages.

C-Nedelcu commented 1 year ago

I was thinking of adding a new setting for V2.1 :

Next to the "pause" word, a checkbox that says "Keep listening and resume when the pause word is spoken again"

Basically, it works that way:

  1. You say the pause word
  2. The speech recognition stays active but doesn't do anything, it's just waiting for you to say the same pause word again.
  3. You say the pause word again to resume
  4. Once resumed, functionality goes back to normal.

Should be pretty simple to implement.

C-Nedelcu commented 1 year ago

This has been implemented in v2.2.0 which I just published. I hope you like it!