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
Local or remote file paths to the 4 Supertonic .pte sub-models.
durationPredictor
readonlydurationPredictor:string
Path to the duration predictor .pte model.
textEncoder
readonlytextEncoder:string
Path to the text encoder .pte model.
vectorEstimator
readonlyvectorEstimator:string
Path to the vector estimator .pte model.
vocoder
readonlyvocoder:string
Path to the vocoder .pte model.
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.