Skip to content
New issue

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

ソングで四国めたん トーク・ノーマルが選択されている状態になっている #1797

Closed
3 tasks
madosuki opened this issue Jan 30, 2024 · 3 comments · Fixed by #1798
Closed
3 tasks

Comments

@madosuki
Copy link
Contributor

madosuki commented Jan 30, 2024

不具合の内容

起動後,ソングで四国めたん トーク・ノーマルが選択されている状態になっている.この状態でピアノロールをクリックするとエンジンがASGIエラーを吐く.

現象・ログ

再現手順

16.0-devエンジンを使って開発版VOICEVOXを起動し,ソングに遷移する.

期待動作

VOICEVOXのバージョン

0.?.0

OSの種類/ディストリ/バージョン

  • Windows
  • macOS
  • Linux

その他

@Hiroshiba
Copy link
Member

Hiroshiba commented Jan 30, 2024

@madosuki issue 作成ありがとうございます!

ちょっと自分も気になってました。トークだからエラーになるんだ、ということに気づくのはかなり難しい気がします。
なんとか修正できると嬉しそうなのですが・・・・・。

初見で迷子になる可能性が高そうなので、優先度:高をつけさせていただきました。

@madosuki
Copy link
Contributor Author

madosuki commented Jan 30, 2024

処理を追っていくと
https://github.com/VOICEVOX/voicevox/blob/main/src/views/SingerHome.vue#L104
で最初のSET_SINGERが実行され,
https://github.com/VOICEVOX/voicevox/blob/23fe2593458110deb4dba2420e6c290c0944a4e2/src/store/singing.ts#L188C1-L195C26 でsingerがundefined時にデフォルトスタイルIDを使用するという流れになっていますが,ここでトークのスタイルが入り込んでしまうぽく #1782 と似たような問題なので同じようにとりあえず同様に決め打ちにするで対処ができるんじゃないかなーとは思います.

@Hiroshiba
Copy link
Member

なるほどです!!!
トーク側の処理と見比べてみましたが、処理の流れは問題なく、ソング用のデフォルトスタイルが無いことが課題そうでした。
なのでおっしゃるとおり #1782 と同じ感じのワークアラウンドで良さそうに思いました!

Hiroshiba added a commit that referenced this issue Jan 30, 2024
* commit for fix 1797

* コメント周りを微調整

---------

Co-authored-by: Hiroshiba Kazuyuki <kazuyuki_hiroshiba@dwango.co.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants