3 ms·
Pretty interesting that even though I mute the tab it still speaks. The music does get muted, but not the TTS
by 0xcoffee 6y ago
Pretty interesting that even though I mute the tab it still speaks. The music does get muted, but not the TTS
- Namari 6y agoEven when the tab is removed the music continues :/
- 3np 6y agoThat is so weird - same here, sound keeps playing ~1-2 min after tab is closed. Must be bug in Firefox? How does that happen?
- username90 6y agoPretty easy to not properly clean up resources when you share processes between tabs. Firefox does that, chrome doesn't, so it properly cleans up in chrome since it quits the process. If you wonder why it plays for 1-2 minutes after the code stopped sending to the sound card, you always write sound in batches to the sound card so he likely wrote the whole 1-2 minutes in one big batch.
- 3np 6y agoMakes sense!
- paraboul 6y agoIt's using https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynth... which probably isn't affected by the "mute toggle" for accessibility reason.
- skykooler 6y agoHuh, I was wondering how they fit a speech synthesizer into less than 1kb. It being a builtin makes much more sense.