Abstract base synthesizer driver. Each synthesizer driver should be a
separate Python module in the root synthDrivers directory containing a
SynthDriver class which inherits from this base class.
|
|
|
|
|
|
|
|
speak(self,
speechSequence)
Speaks the given sequence of text and speech commands. |
source code
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OrderedDict
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OrderedDict
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
l{bool}
|
isSupported(self,
settingName)
Checks whether given setting is supported by the synthesizer. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from baseObject.AutoPropertyObject:
invalidateCache
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
LanguageSetting(cls)
Factory function for creating a language setting. |
source code
|
|
|
|
VoiceSetting(cls)
Factory function for creating voice setting. |
source code
|
|
|
|
VariantSetting(cls)
Factory function for creating variant setting. |
source code
|
|
|
|
RateSetting(cls,
minStep=1)
Factory function for creating rate setting. |
source code
|
|
|
|
VolumeSetting(cls,
minStep=1)
Factory function for creating volume setting. |
source code
|
|
|
|
PitchSetting(cls,
minStep=1)
Factory function for creating pitch setting. |
source code
|
|
|
|
InflectionSetting(cls,
minStep=1)
Factory function for creating inflection setting. |
source code
|
|
|
bool
|
|
|
|
_paramToPercent(cls,
current,
min,
max)
Convert a raw parameter value to a percentage given the current,
minimum and maximum raw values. |
source code
|
|
|
|
_percentToParam(cls,
percent,
min,
max)
Convert a percentage to a raw parameter value given the current
percentage and the minimum and maximum raw parameter values. |
source code
|
|
|
Inherited from baseObject.AutoPropertyObject:
invalidateCaches
|
|
OrderedDict of [VoiceInfo keyed by VoiceInfo's ID
|
availableVariants
The available variants of the voice.
|
|
OrderedDict of VoiceInfo keyed by VoiceInfo's ID
|
availableVoices
The available voices.
|
|
int
|
inflection
The current inflection; ranges between 0 and 100.
|
|
int
|
lastIndex
The index of the chunk of text which was last spoken or
None if no index.
|
|
int
|
pitch
The current pitch; ranges between 0 and 100.
|
|
int
|
rate
The current rate; ranges between 0 and 100.
|
|
list or tuple of SynthSetting
|
supportedSettings
The settings supported by the synthesiser.
|
|
str
|
variant
The current variant of the voice.
|
|
str
|
voice
Unique string identifying the current voice.
|
|
int
|
volume
The current volume; ranges between 0 and 100.
|