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

feat!: Synthesizer::audio_querycreate_audio_queryに改名 #882

Merged

Conversation

qryxip
Copy link
Member

@qryxip qryxip commented Dec 1, 2024

内容

現状のC APIとJava APIと合わせる形で名前を統一する。理由としては:

  1. 推論している感を出せる
    • 保証していない性質、例えば冪等性などを期待されにくくできる
  2. create_accent_phrasescreate_audio_queryの二つをセットで目立たせることができる

関連 Issue

Resolves #700.

その他

@qryxip
Copy link
Member Author

qryxip commented Dec 1, 2024

個人的に腹落ちするまで時間がかかったのですが、上記の二つの理由を見つけることで今PRを出す気になったという次第です。

@qryxip qryxip requested a review from Hiroshiba December 1, 2024 08:02
@qryxip qryxip force-pushed the feat-rename-audio-query-to-create-audio-query branch from 1a0f603 to 6b6a771 Compare December 1, 2024 16:12
@qryxip qryxip force-pushed the feat-rename-audio-query-to-create-audio-query branch from 6b6a771 to 87dd095 Compare December 1, 2024 16:18
@Hiroshiba
Copy link
Member

ちょっとどういう経緯か覚えてなかったので掘ってました。

new AudioQueryのが良いのでは、という感じでしたっけ。懐かしい!

@Hiroshiba Hiroshiba requested a review from Copilot December 1, 2024 20:35
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!!!

Choose a reason for hiding this comment

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

Copilot reviewed 5 out of 14 changed files in this pull request and generated no suggestions.

Files not reviewed (9)
  • example/python/run.py: Evaluated as low risk
  • crates/voicevox_core_java_api/src/synthesizer.rs: Evaluated as low risk
  • crates/voicevox_core_python_api/python/test/test_asyncio_user_dict_load.py: Evaluated as low risk
  • crates/voicevox_core/src/engine/model.rs: Evaluated as low risk
  • crates/voicevox_core_python_api/python/voicevox_core/_models.py: Evaluated as low risk
  • crates/voicevox_core_python_api/python/voicevox_core/_rust/blocking.pyi: Evaluated as low risk
  • crates/voicevox_core_python_api/python/voicevox_core/_rust/asyncio.pyi: Evaluated as low risk
  • docs/guide/user/usage.md: Evaluated as low risk
  • crates/voicevox_core_python_api/python/test/test_blocking_user_dict_load.py: Evaluated as low risk
@qryxip qryxip merged commit 4c1297a into VOICEVOX:main Dec 2, 2024
31 checks passed
@qryxip qryxip deleted the feat-rename-audio-query-to-create-audio-query branch December 2, 2024 06:50
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.

voicevox_synthesizer_audio_query を voicevox_synthesizer_create_audio_query にする
2 participants