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

整理: TTS テスト入力をリアルにし警告を解消 #1297

Merged
merged 11 commits into from
Jun 26, 2024

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions test/unit/tts_pipeline/test_tts_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,21 +126,21 @@ def _gen_hello_hiho_accent_phrases() -> list[AccentPhrase]:
return [
AccentPhrase(
moras=[
gen_mora("コ", "k", 0.0, "o", 0.0, 0.0),
gen_mora("ン", None, None, "N", 0.0, 0.0),
gen_mora("ニ", "n", 0.0, "i", 0.0, 0.0),
gen_mora("チ", "ch", 0.0, "i", 0.0, 0.0),
gen_mora("ワ", "w", 0.0, "a", 0.0, 0.0),
gen_mora("コ", "k", 0.1, "o", 0.1, 5.0),
gen_mora("ン", None, None, "N", 0.1, 5.0),
gen_mora("ニ", "n", 0.1, "i", 0.1, 5.0),
gen_mora("チ", "ch", 0.1, "i", 0.1, 5.0),
gen_mora("ワ", "w", 0.1, "a", 0.1, 5.0),
],
accent=5,
pause_mora=gen_mora("、", None, None, "pau", 0.0, 0.0),
pause_mora=gen_mora("、", None, None, "pau", 0.1, 0.0),
),
AccentPhrase(
moras=[
gen_mora("ヒ", "h", 0.0, "i", 0.0, 0.0),
gen_mora("ホ", "h", 0.0, "o", 0.0, 0.0),
gen_mora("デ", "d", 0.0, "e", 0.0, 0.0),
gen_mora("ス", "s", 0.0, "U", 0.0, 0.0),
gen_mora("ヒ", "h", 0.1, "i", 0.1, 0.0),
gen_mora("ホ", "h", 0.1, "o", 0.1, 5.0),
gen_mora("デ", "d", 0.1, "e", 0.1, 5.0),
gen_mora("ス", "s", 0.1, "U", 0.1, 0.0),
],
accent=1,
pause_mora=None,
Expand Down
Loading