Type Alias: ReverbTtsOptions<K>
ReverbTtsOptions<
K> =object
Defined in: extensions/speech/tasks/reverbTextToSpeech.ts:166
Per-call options of Reverb synthesis.
Type Parameters
K
K extends PropertyKey = never
Preset voice keys.
Properties
language
readonlylanguage:ReverbLanguage
Defined in: extensions/speech/tasks/reverbTextToSpeech.ts:170
Language of the text.
maxChunkDuration?
readonlyoptionalmaxChunkDuration:number
Defined in: extensions/speech/tasks/reverbTextToSpeech.ts:181
Max seconds of speech per chunk. Defaults to 20, or to the models' limit when that is shorter.
pace?
readonlyoptionalpace:"speech"|"recording"
Defined in: extensions/speech/tasks/reverbTextToSpeech.ts:179
The way we estimate duration of the output sample.
The duration is relative to the reference length, which we can be measured it two ways:
'speech': we count only speech frames and inner pauses not longer than 0.5s
'recording': we count the whole clip, pauses and prefix/suffix silence included.
postprocess?
readonlyoptionalpostprocess:ReverbPostprocessOptions
Defined in: extensions/speech/tasks/reverbTextToSpeech.ts:183
Post-processing of each chunk's audio.
sampling?
readonlyoptionalsampling:ReverbSamplingOptions
Defined in: extensions/speech/tasks/reverbTextToSpeech.ts:185
Sampler settings.
speed?
readonlyoptionalspeed:number
Defined in: extensions/speech/tasks/reverbTextToSpeech.ts:172
Speech speed factor, 0.5 to 2.0. Defaults to 1.0.
voice
readonlyvoice:K|ReverbVoice
Defined in: extensions/speech/tasks/reverbTextToSpeech.ts:168
A preset voice key, or a ReverbVoice from encodeVoice.