diff --git a/test/unit/tts_pipeline/__snapshots__/test_tts_engine/test_mocked_synthesize_wave_output.json b/test/unit/tts_pipeline/__snapshots__/test_tts_engine/test_mocked_synthesize_wave_output.json index eadd4021a..ac6687c51 100644 --- a/test/unit/tts_pipeline/__snapshots__/test_tts_engine/test_mocked_synthesize_wave_output.json +++ b/test/unit/tts_pipeline/__snapshots__/test_tts_engine/test_mocked_synthesize_wave_output.json @@ -1,8 +1,8 @@ { - "hash": "MD5:134464eea0bd91af501e333c1bb2d81b", + "hash": "MD5:0972d97e926609c90a9117490fe9813e", "shape": [ 1, - 3200, + 14080, 2 ] } diff --git a/test/unit/tts_pipeline/__snapshots__/test_tts_engine/test_mocked_update_length_output.json b/test/unit/tts_pipeline/__snapshots__/test_tts_engine/test_mocked_update_length_output.json index c50c36191..b67950be4 100644 --- a/test/unit/tts_pipeline/__snapshots__/test_tts_engine/test_mocked_update_length_output.json +++ b/test/unit/tts_pipeline/__snapshots__/test_tts_engine/test_mocked_update_length_output.json @@ -6,7 +6,7 @@ { "consonant": "k", "consonant_length": 2.44, - "pitch": 0.0, + "pitch": 5.0, "text": "コ", "vowel": "o", "vowel_length": 2.88 @@ -14,7 +14,7 @@ { "consonant": null, "consonant_length": null, - "pitch": 0.0, + "pitch": 5.0, "text": "ン", "vowel": "N", "vowel_length": 1.25 @@ -22,7 +22,7 @@ { "consonant": "n", "consonant_length": 2.75, - "pitch": 0.0, + "pitch": 5.0, "text": "ニ", "vowel": "i", "vowel_length": 2.31 @@ -30,7 +30,7 @@ { "consonant": "ch", "consonant_length": 1.62, - "pitch": 0.0, + "pitch": 5.0, "text": "チ", "vowel": "i", "vowel_length": 2.31 @@ -38,7 +38,7 @@ { "consonant": "w", "consonant_length": 3.62, - "pitch": 0.0, + "pitch": 5.0, "text": "ワ", "vowel": "a", "vowel_length": 1.44 @@ -68,7 +68,7 @@ { "consonant": "h", "consonant_length": 2.19, - "pitch": 0.0, + "pitch": 5.0, "text": "ホ", "vowel": "o", "vowel_length": 2.88 @@ -76,7 +76,7 @@ { "consonant": "d", "consonant_length": 1.75, - "pitch": 0.0, + "pitch": 5.0, "text": "デ", "vowel": "e", "vowel_length": 1.88 diff --git a/test/unit/tts_pipeline/__snapshots__/test_tts_engine/test_mocked_update_pitch_output.json b/test/unit/tts_pipeline/__snapshots__/test_tts_engine/test_mocked_update_pitch_output.json index c1b0b844e..af37f3a22 100644 --- a/test/unit/tts_pipeline/__snapshots__/test_tts_engine/test_mocked_update_pitch_output.json +++ b/test/unit/tts_pipeline/__snapshots__/test_tts_engine/test_mocked_update_pitch_output.json @@ -5,11 +5,11 @@ "moras": [ { "consonant": "k", - "consonant_length": 0.0, + "consonant_length": 0.1, "pitch": 4.38, "text": "コ", "vowel": "o", - "vowel_length": 0.0 + "vowel_length": 0.1 }, { "consonant": null, @@ -17,31 +17,31 @@ "pitch": 1.25, "text": "ン", "vowel": "N", - "vowel_length": 0.0 + "vowel_length": 0.1 }, { "consonant": "n", - "consonant_length": 0.0, + "consonant_length": 0.1, "pitch": 4.06, "text": "ニ", "vowel": "i", - "vowel_length": 0.0 + "vowel_length": 0.1 }, { "consonant": "ch", - "consonant_length": 0.0, + "consonant_length": 0.1, "pitch": 2.94, "text": "チ", "vowel": "i", - "vowel_length": 0.0 + "vowel_length": 0.1 }, { "consonant": "w", - "consonant_length": 0.0, + "consonant_length": 0.1, "pitch": 4.19, "text": "ワ", "vowel": "a", - "vowel_length": 0.0 + "vowel_length": 0.1 } ], "pause_mora": { @@ -50,7 +50,7 @@ "pitch": 0.0, "text": "、", "vowel": "pau", - "vowel_length": 0.0 + "vowel_length": 0.1 } }, { @@ -59,35 +59,35 @@ "moras": [ { "consonant": "h", - "consonant_length": 0.0, + "consonant_length": 0.1, "pitch": 3.69, "text": "ヒ", "vowel": "i", - "vowel_length": 0.0 + "vowel_length": 0.1 }, { "consonant": "h", - "consonant_length": 0.0, + "consonant_length": 0.1, "pitch": 4.06, "text": "ホ", "vowel": "o", - "vowel_length": 0.0 + "vowel_length": 0.1 }, { "consonant": "d", - "consonant_length": 0.0, + "consonant_length": 0.1, "pitch": 2.62, "text": "デ", "vowel": "e", - "vowel_length": 0.0 + "vowel_length": 0.1 }, { "consonant": "s", - "consonant_length": 0.0, + "consonant_length": 0.1, "pitch": 0.0, "text": "ス", "vowel": "U", - "vowel_length": 0.0 + "vowel_length": 0.1 } ], "pause_mora": null diff --git a/test/unit/tts_pipeline/test_tts_engine.py b/test/unit/tts_pipeline/test_tts_engine.py index 1bbae2092..15e272881 100644 --- a/test/unit/tts_pipeline/test_tts_engine.py +++ b/test/unit/tts_pipeline/test_tts_engine.py @@ -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,