Complete Jessica voiceover for Katya and build DoOtboy 0.2.1
This commit is contained in:
@@ -102,6 +102,19 @@ func run(target: Node) -> void:
|
||||
check(game.story.lines.size() == 102, "All 102 spoken lines")
|
||||
for id in game.story.lines:
|
||||
check(game.voice_stream(id) != null and game.voice_length(id) > 0.1, "Playable audio " + id)
|
||||
var voices: Dictionary = JSON.parse_string(FileAccess.get_file_as_string("res://data/voice_manifest.json"))
|
||||
var jessica_count := 0
|
||||
for id in game.story.lines:
|
||||
if game.story.lines[id].speaker == "Катя":
|
||||
check(voices[id].provider == "ElevenLabs" and voices[id].voice_id == "cgSgspJ2msm6clMCkdW9", "Jessica assigned: " + id)
|
||||
jessica_count += 1
|
||||
else:
|
||||
check(voices[id].provider == "Windows Speech / draft", "Mother voice preserved: " + id)
|
||||
check(jessica_count == 48, "All 48 Katya lines use Jessica")
|
||||
for index in range(game.story.intro.size()):
|
||||
var beat: Dictionary = game.story.intro[index]
|
||||
var next_at: float = game.story.intro[index + 1].at if index + 1 < game.story.intro.size() else 85.0
|
||||
check(float(beat.at) + game.voice_length(beat.line) <= next_at, "Intro line fits before next cue: " + str(beat.line))
|
||||
await capture("phone-menu")
|
||||
for number in range(1, 11):
|
||||
start(number)
|
||||
|
||||
Reference in New Issue
Block a user