Skip to main content
Version: Next

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​

readonly modelPaths: object

Defined in: extensions/speech/tasks/supertonicTextToSpeech.ts:78

Model sources for the 4 Supertonic sub-models.

durationPredictor​

readonly durationPredictor: ModelSource

Duration predictor model source.

textEncoder​

readonly textEncoder: ModelSource

Text encoder model source.

vectorEstimator​

readonly vectorEstimator: ModelSource

Vector estimator model source.

vocoder​

readonly vocoder: ModelSource

Vocoder model source.


name​

readonly name: "supertonic"

Defined in: extensions/speech/tasks/supertonicTextToSpeech.ts:76

Discriminates this config from the other Text-to-Speech pipelines.


unicodeIndexerPath​

readonly unicodeIndexerPath: string

Defined in: extensions/speech/tasks/supertonicTextToSpeech.ts:89

Local or remote path to the unicode_indexer.json character mapping file.


voiceStyles​

readonly voiceStyles: Record<K, string>

Defined in: extensions/speech/tasks/supertonicTextToSpeech.ts:91

Map of voice style names to local or remote JSON file paths.