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] スナップを設定する機能を追加 #1609

Merged
merged 2 commits into from
Oct 15, 2023

Conversation

sigprogramming
Copy link
Contributor

@sigprogramming sigprogramming commented Oct 15, 2023

内容

スナップを設定する機能を追加します。
スナップタイプの型はひとまず数値型のままにして、SET_SNAP_TYPE内で値をチェックするようにしています。

関連 Issue

VOICEVOX/voicevox_project#15

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

default.mp4

その他

@sigprogramming sigprogramming requested a review from a team as a code owner October 15, 2023 09:04
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!!!

@@ -29,6 +30,29 @@ export function getNoteDuration(noteType: number, tpqn: number) {
return (tpqn * 4) / noteType;
}

export function getNoteTypes(tpqn: number) {
Copy link
Member

Choose a reason for hiding this comment

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

指定したtpqnから選択可能なノートタイプの候補一覧を取得するということだと思うので、ドキュメントで目的を簡易的に案内しておくと読みやすいかもとか思いました!

@Hiroshiba Hiroshiba merged commit d7a28d3 into VOICEVOX:project-s Oct 15, 2023
@sigprogramming sigprogramming deleted the snap branch October 27, 2023 11:33
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