Interface: BaseTtsAdapterOptions
Defined in: src/batteries/tts/_shared/index.ts:51
Options shared by every TTS engine, regardless of backend.
Remarks
Engine-specific option interfaces extend this with their own transport/engine fields (and, for model-backed engines, a required model). Both fields are normalized per-engine:
voice→say -v <voice>/espeak-ng -v <voice>/ PowerShellSelectVoice(<voice>)/ transformers.jsspeaker_embeddingswhen it is a string.rateis a multiplier where1is engine-normal, mapped per engine:round(175 * rate)words-per-minute forsay/espeak-ng(clamped to a validated band), the documented-10..10SpeechSynthesizer.Ratefor PowerShell, andspeedfor transformers.js.
Extended by
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
rate? | number | Default speaking-rate multiplier (1 = engine-normal), applied when a synthesize call omits its own rate. Per-engine mapping (see the module remarks). Unset → engine-normal rate. | src/batteries/tts/_shared/index.ts:61 |
voice? | string | Default voice, applied when a synthesize call omits its own voice. Per-engine semantics (see the module remarks). Unset → the engine/model default voice. | src/batteries/tts/_shared/index.ts:56 |