Type Alias: SupertonicTtsModel<K>
SupertonicTtsModel<
K> =object
Defined in: extensions/speech/tasks/supertonicTextToSpeech.ts:74
Model configuration required to instantiate the Supertonic Text-to-Speech pipeline.
Type Parameters
K
K extends PropertyKey
Voice style keys record constraint (strictly inferred from voiceStyles keys).
Properties
modelPaths
readonlymodelPaths:object
Defined in: extensions/speech/tasks/supertonicTextToSpeech.ts:78
Model sources for the 4 Supertonic sub-models.
durationPredictor
readonlydurationPredictor:ModelSource
Duration predictor model source.
textEncoder
readonlytextEncoder:ModelSource
Text encoder model source.
vectorEstimator
readonlyvectorEstimator:ModelSource
Vector estimator model source.
vocoder
readonlyvocoder:ModelSource
Vocoder model source.
name
readonlyname:"supertonic"
Defined in: extensions/speech/tasks/supertonicTextToSpeech.ts:76
Discriminates this config from the other Text-to-Speech pipelines.
unicodeIndexerPath
readonlyunicodeIndexerPath:string
Defined in: extensions/speech/tasks/supertonicTextToSpeech.ts:89
Local or remote path to the unicode_indexer.json character mapping file.
voiceStyles
readonlyvoiceStyles:Record<K,string>
Defined in: extensions/speech/tasks/supertonicTextToSpeech.ts:91
Map of voice style names to local or remote JSON file paths.