TtsModelTypeManifest extension
The filenames a given TTS model needs, installed together as a bundle from one source. Fail-loud for unwired families.
- on
Properties
-
manifest
→ List<
String> -
Available on TtsModelType, provided by the TtsModelTypeManifest extension
no setter
Methods
-
fetchLocationFor(
String plainFilename) → TtsFetchLocation -
Available on TtsModelType, provided by the TtsModelTypeManifest extension
Where a bundle member is fetched from, resolved by sourceFor. USUALLY aTtsRelativeSuffixagainst the model'sresolve/main/base (plainFilenameitself, or atables//voices/subdir for TtsModelType.qwen3's embedding-table/demo-voice members). For TtsModelType.inflect the 4 reused Matcha G2P files return aTtsAbsoluteUrlto the Matcha repo instead (its 2.tflites stay bare basenames), fetched as-is. Either way this never changes a file's on-disk filename/prefsKey, whichTtsBundleFile.fromSourcederives from the LAST path segment of the resulting URL (any earlier prefix/host is dropped, exactly like the plain-basename manifest entry intends). An identity relative no-op for matcha and the unwired follow-on types. -
sourceFor(
String plainFilename, TtsBundleBase base) → ModelSource -
Available on TtsModelType, provided by the TtsModelTypeManifest extension
The sourceplainFilenameis installed from when the bundle comes frombase.