SillyTavern / Extension-Speech-Recognition

Convert your speech to text using browser or extras.
GNU General Public License v3.0
4 stars 12 forks source link

Turn off the mic when switching providers #8

Closed Risenafis closed 3 months ago

Risenafis commented 3 months ago

When switching the provider while the microphone is in recording mode, the microphone display and recording status became inverted. I have fixed this by stopping the recording of the previous provider when loading a new provider.

I understand that the current microphone icon implementation indicates possible actions, but personally, I feel it is more natural to display the current recording status (similar to the display method in many messaging apps like Zoom and Teams). That said, ChatGPT (Android app) is close to the current SillyTavern implementation, so I think there may be some demand for it (although it differs in that the big stop button is displayed separately and prominently at the bottom). Still, I made the title toggle "Click to talk" / "Click to stop talking" so that it might be a bit clearer.

Cohee1207 commented 3 months ago

It actually nagged me for quite a while, thanks.