We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
不具合の概要 ElevenLabsなどmp3をデコードしながら音声を再生する際、顔の描画処理が間に合わず描画がとぎれとぎれになります。
再現手順 不具合を再現できる手順を記述してください
想定する挙動 描画が間に合う
環境 (次の項目を埋めてください):
The text was updated successfully, but these errors were encountered:
2つ方向性があり、並行して検討すべきです。
2について。ModdableのJavaScript仮想マシンはシングルスレッドで動作しています。したがってESP32の2個あるコアのうち普段は片方しか使われません。マルチスレッドで動作させるには次の選択肢があります
worker
workerを使うとJavaScript中心にマルチスレッドが実現できます。試しにworkerを立てて音声合成を実行するサンプルを書いてみました。
https://github.com/meganetaaan/stack-chan/tree/feature/tts-worker/firmware/tests/workers/tts-worker
再生する様子
https://x.com/stack_chan/status/1704854420247433289?s=20
Sorry, something went wrong.
No branches or pull requests
不具合の概要
ElevenLabsなどmp3をデコードしながら音声を再生する際、顔の描画処理が間に合わず描画がとぎれとぎれになります。
再現手順
不具合を再現できる手順を記述してください
想定する挙動
描画が間に合う
環境 (次の項目を埋めてください):
The text was updated successfully, but these errors were encountered: