Restore Kat and Kim animalese voices
This commit is contained in:
parent
8107e2d89c
commit
86e5980019
149 changed files with 1781 additions and 24 deletions
|
|
@ -7,7 +7,7 @@ readonly OUTPUT_SAMPLE_RATE="48000"
|
|||
|
||||
usage() {
|
||||
printf 'usage: %s SOURCE_DIRECTORY SAMPLE_SET_DIRECTORY\n' "$0" >&2
|
||||
printf 'example: %s /path/to/voice_clips custom_voice\n' "$0" >&2
|
||||
printf 'example: %s /path/to/voice_kim kim\n' "$0" >&2
|
||||
}
|
||||
|
||||
if (( $# != 2 )); then
|
||||
|
|
|
|||
|
|
@ -16,14 +16,20 @@ func _initialize() -> void:
|
|||
"animalese supports every letter and digit",
|
||||
)
|
||||
_expect(
|
||||
VoiceProfilesType.DEFAULT_SAMPLE_SET_ID == "robot",
|
||||
"robot is the default animalese voice set",
|
||||
VoiceProfilesType.DEFAULT_SAMPLE_SET_ID == "kat",
|
||||
"kat is the default animalese voice set",
|
||||
)
|
||||
_expect(
|
||||
VoiceProfilesType.is_valid_sample_set("robot"),
|
||||
"the original tones remain available as robot",
|
||||
)
|
||||
_expect(
|
||||
VoiceProfilesType.is_valid_sample_set("kim"),
|
||||
"kim is available as an animalese voice set",
|
||||
)
|
||||
_validate_set("kat", EXPECTED_CHARACTERS, false)
|
||||
_validate_set("robot", ROBOT_CHARACTERS, true)
|
||||
_validate_set("kim", EXPECTED_CHARACTERS, false)
|
||||
if _failures.is_empty():
|
||||
print("Animalese sample validation: PASS")
|
||||
quit(0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue