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

ソング:レンダリング順を改善 #1909

Merged
merged 13 commits into from
Mar 18, 2024

Conversation

sevenc-nanashi
Copy link
Member

@sevenc-nanashi sevenc-nanashi commented Mar 6, 2024

内容

ソングエディタのレンダリング順を良い感じにします。

関連 Issue

スクリーンショット・動画など

sozai.vvproj.-.VOICEVOX.-.Ver.999.999.999.ubuntu.2024-03-06.19-41-38.mp4

その他

実際の優先順はdoc commentをみてもらえれば

@sevenc-nanashi sevenc-nanashi requested a review from a team as a code owner March 6, 2024 10:42
@sevenc-nanashi sevenc-nanashi requested review from Hiroshiba and removed request for a team March 6, 2024 10:42
sevenc-nanashi and others added 3 commits March 7, 2024 00:23
* 音高補正にしつつ開発時のみ機能に

* VoiceKey→GuidePitch

* とりあえず実装としては完成

* keyRangeAdjustmentに

* (note|guide)KeyShiftを消し、補正→調整にする

* keyShiftを全てKeyRangeAdjustmentへ
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.

あ、追従がmerge mainじゃなくてcherry pickっぽくなってて差分が複雑になっちゃってるかもです!

@sevenc-nanashi
Copy link
Member Author

多分直ったはず?

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です!!良い感じ!!!

@sigprogramming にもレビューもらえると心強いです🙇

src/sing/domain.ts Outdated Show resolved Hide resolved

/**
* 次にレンダリングするべきPhraseを探す。
* 存在しない場合は[undefined, undefined]を返す。
Copy link
Member

Choose a reason for hiding this comment

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

まーーー変数定義が必要にはなりますが、たぶんundefinedを返す実装のがスマートですかねぇ。
将来値増やそうとした時とかに壊れていきそうですし。

Copy link
Member Author

Choose a reason for hiding this comment

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

エラーを投げるようにしました(どちらでもよさそう)

src/sing/domain.ts Show resolved Hide resolved
src/sing/domain.ts Outdated Show resolved Hide resolved
src/sing/domain.ts Show resolved Hide resolved
src/sing/domain.ts Outdated Show resolved Hide resolved
sevenc-nanashi and others added 2 commits March 7, 2024 20:01
Co-Authored-By: Hiroshiba <Hiroshiba@users.noreply.github.com>
Copy link
Contributor

@sigprogramming sigprogramming left a comment

Choose a reason for hiding this comment

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

LGTMです!!
実装ありがとうございます!

src/store/singing.ts Outdated Show resolved Hide resolved
sevenc-nanashi and others added 2 commits March 7, 2024 22:27
Co-Authored-By: sigprogramming <sigprogramming@users.noreply.github.com>
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!!

ツイートしようかなと思います 🙏
ちなみに、なんとなく10RT行きそうであればツイート、くらいの気持ちで運用しています。

src/sing/domain.ts Outdated Show resolved Hide resolved
src/sing/domain.ts Outdated Show resolved Hide resolved
@Hiroshiba Hiroshiba merged commit 102d8a9 into VOICEVOX:main Mar 18, 2024
3 of 5 checks passed
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.

ソング:再生ヘッドに近いフレーズから生成するようにする
3 participants