为什么没有声音? #112
Replies: 1 comment
-
|
Hi! This is a known bug that has been fixed in PR #28. When "Browser Native TTS" is selected as the TTS provider, the scene generation stage correctly skips pre-generating audio (since browser TTS runs client-side via Web Speech API, not via a server API). However, during playback, when the engine finds no pre-generated audio in IndexedDB, it falls back to a silent reading timer that estimates reading time but never actually calls speechSynthesis.speak() — so the settings test plays sound correctly, but classroom playback is silent. PR #28 integrates the Web Speech API directly into the PlaybackEngine. When no pre-generated audio is found and the provider is browser-native-tts, it now calls speechSynthesis.speak() to play the speech. Please update to the latest version of the code, and this issue should be resolved~ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
请问作者,为什么我生成了两个课程都没有声音?我在设置的“语音合成”里选择了浏览器原生TTS,为什么还是没声音呢?May I ask why the two courses I generated both have no sound? In the settings, I selected the browser’s native TTS under “speech synthesis,” so why is there still no audio?
Beta Was this translation helpful? Give feedback.
All reactions