Constructor
new BaseTTSAdapter(defaultConfigopt)
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
defaultConfig | any | <optional> | {} | Provider defaults (merged with input.adapterConfig) |
- Tutorials
Methods
(async) synthesize(_input) → {Promise.<*>}
Override in subclasses to implement provider logic.
Parameters:
| Name | Type | Description |
|---|---|---|
_input | * | Adapter input (see contracts: TTSAdapterInput). |
Throws:
If not implemented by subclass.
- Type
- TTSSynthesizeError
Returns:
Resolves with adapter output (see contracts: TTSAdapterOutput).
- Type:
- Promise.<*>