public interface TTSService
Modifier and Type | Interface and Description |
---|---|
static class |
TTSService.SynthesisException |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
TTSEngine |
newEngine(Map<String,String> params)
Allocate a new TTSEngine (e.g.
|
TTSEngine newEngine(Map<String,String> params) throws Throwable
params
- contains various key-value pairs. Some of them might be options
for the TTS processor under consideration, e.g. server IPs,
priorities or sound quality. It can also contain options which
have nothing to do with the returned TTSEngine. Such options must
be ignored. This method is allowed to perform heavy
initializations as long as they can be interrupted with the
regular Java thread interruption mechanism. In particular, it is
not recommended to test a full text-to-speech step in this
method.Throwable
String getName()
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.