-
Notifications
You must be signed in to change notification settings - Fork 349
feat: ピッチ生成APIでピッチの更新を行うようにする #2635
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
feat: ピッチ生成APIでピッチの更新を行うようにする #2635
Conversation
|
🚀 プレビュー用ページを作成しました 🚀 更新時点でのコミットハッシュ: |
|
すみません一旦draftにしました! |
|
変更完了したのでdraft外しました! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the pitch generation API to handle pitch updates and integrates the changes across the store and UI components.
- Added a new action FETCH_SING_FRAME_F0 to the store type and its implementation.
- Updated error handling and property references for pitch generation in singingStore.
- Modified the SequencerPitch component to use the updated pitch data structure.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/store/type.ts | Added FETCH_SING_FRAME_F0 with a spelling typo in parameter |
| src/store/singing.ts | Updated error messages and integration logic for pitch generation |
| src/components/Sing/SequencerPitch.vue | Updated to reference new pitch data properties |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTMです!!
コード上は特に問題は見つけられませんでした!
レンダリングの流れがなんというか美しい…
(もし暇であれば)
ちょっと元のIssueを詳細に把握していなかった…のですが
もし以下の理解に誤りがあればおしらせください!
- 前提: 音素のタイミングの変更機能を段階にわけて実装している
- 修正前: ピッチ生成ステージではクエリ生成時のf0を流用していた
- 問題: 音素タイミング編集と自動補正段でタイミングが変わるとピッチ他も変わるうるはずで、クエリ生成時のf0を流用できない(たぶん…)
- 修正後: フレーズのレンダリングのピッチ生成ステージにおいてAPIで
/sing_frame_f0を利用したピッチのみの再推論を入れ、音素タイミング編集機能を実現できるように準備
Hiroshiba
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!!
実装ありがとうございます!!!
もしかしたらどこかの処理に抜け漏れがあったりするかもなんですが、ぶっちゃけわからない・・・・・!
テストを書きたい気持ちもあるけど、例えばclone周りも含めるともはやどういうテストすればいいのかも若干わからない。。!
|
@romot-co さんのコメントですが、僕の理解と相違ないです!! スコア → ピッチ → ボリューム → 音声 という合成経路?に スコア → 音素タイミング → ピッチ → ボリューム → 音声
|
|
@romot-co @Hiroshiba
というのがあると思っています。 また、レンダリンググラフ自体は複雑ではなく、
を実現するための処理で複雑になっているように感じています。 これを改善するために、
という設計に変更するのを考えていて、この設計だと
ので、テストしやすくなるかもです。 |
内容
ピッチ生成APIでピッチの更新を行うようにします。
関連 Issue
その他