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

整理: テスト用のピッチを log スケールに修正 #1426

Merged
merged 2 commits into from
Jun 25, 2024

Conversation

tarepan
Copy link
Contributor

@tarepan tarepan commented Jun 24, 2024

内容

概要: テスト用のピッチを log スケールに修正してリファクタリング

AudioQuery 内のピッチ値は log スケールである。
しかしテスト用の値は linear スケールを想定したものになっていた(例: 200)。
機能上の問題はないが、より現実的なテスト入力が望ましい。また値が極端に大きいことは round 精度など様々な問題の潜在的原因になりうる。

このような背景から、テスト用のピッチを log スケールに修正するリファクタリングを提案します。

関連 Issue

ref #1297 (comment)

@tarepan tarepan requested a review from a team as a code owner June 24, 2024 13:21
@tarepan tarepan requested review from Hiroshiba and removed request for a team June 24, 2024 13:21
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!!

@Hiroshiba Hiroshiba merged commit 4965657 into VOICEVOX:master Jun 25, 2024
4 checks passed
@tarepan tarepan deleted the fix/pitch_log branch June 25, 2024 07: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