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

[project-s] ハミング対応のエンジンでレンダリングできるようにする #1728

Merged
merged 6 commits into from
Jan 20, 2024

Conversation

sigprogramming
Copy link
Contributor

@sigprogramming sigprogramming commented Jan 20, 2024

内容

ハミング対応のエンジンでレンダリングできるようにします。
また、以下も行います。

  • bpmの下限を40に設定
  • isSelfEventTarget関数が呼ばれていなかったので修正

関連 Issue

VOICEVOX/voicevox_project#15

その他

Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

エラーが起こる件に関して、とりあえず超ワークアラウンドですが解決策を見つけたので共有です!

こちらのINITIALIZE_ENGINE_SPEAKERを実行しないようにすれば一旦動きました!!
https://github.com/sigprogramming/voicevox/blob/e6a10c7ba0bb20c7a4b3b0f4fa9f1481fd897a4f/src/store/singing.ts#L207-L210

@sigprogramming
Copy link
Contributor Author

sigprogramming commented Jan 20, 2024

解決策ありがとうございます!
EditorHome.vueの方も(最初にボイス側が起動するので)一部コメントアウトが必要でした、共有します!
https://github.com/VOICEVOX/voicevox/blob/project-s/src/views/EditorHome.vue#L609-L623

@sigprogramming sigprogramming marked this pull request as ready for review January 20, 2024 13:27
@sigprogramming sigprogramming requested a review from a team as a code owner January 20, 2024 13:27
@sigprogramming sigprogramming requested review from Hiroshiba, romot-co and a team and removed request for a team January 20, 2024 13:27
"singFrameAudioQuerySingFrameAudioQueryPost"
)({
score: { notes },
styleId: 999, // TODO: 設定できるようにする
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

styleIdはひとまず999固定にしています。

src/store/singing.ts Outdated Show resolved Hide resolved
Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!!

0.15アプデがやっと終わりつつあるので、僕も参戦できると思います!!

Comment on lines +865 to +869
notes.push({
key: undefined,
frameLength: restFrameLength,
lyric: "",
});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(細かいですけど)この空っぽNoteをconst restNoteに入れるのもありだなと思いました!

@Hiroshiba Hiroshiba merged commit 8b52f6f into VOICEVOX:project-s Jan 20, 2024
6 of 7 checks passed
@sigprogramming sigprogramming deleted the hamming_engine branch January 27, 2024 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants