QTextToSpeechEngine#

Inheritance diagram of PySide6.QtTextToSpeech.QTextToSpeechEngine

Synopsis#

Virtual functions#

Signals#

Static functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

class PySide6.QtTextToSpeech.QTextToSpeechEngine([parent=None])#
Parameters:

parentPySide6.QtCore.QObject

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.availableLocales()#
Return type:

.list of QLocale

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.availableVoices()#
Return type:

.list of QVoice

PySide6.QtTextToSpeech.QTextToSpeechEngine.capabilities()#
Return type:

Combination of QTextToSpeech.Capability

static PySide6.QtTextToSpeech.QTextToSpeechEngine.createVoice(name, locale, gender, age, data)#
Parameters:
Return type:

PySide6.QtTextToSpeech.QVoice

PySide6.QtTextToSpeech.QTextToSpeechEngine.errorOccurred(error, errorString)#
Parameters:
abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.errorReason()#
Return type:

ErrorReason

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.errorString()#
Return type:

str

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.locale()#
Return type:

PySide6.QtCore.QLocale

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.pause(boundaryHint)#
Parameters:

boundaryHintBoundaryHint

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.pitch()#
Return type:

float

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.rate()#
Return type:

float

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.resume()#
abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.say(text)#
Parameters:

text – str

PySide6.QtTextToSpeech.QTextToSpeechEngine.sayingWord(word, start, length)#
Parameters:
  • word – str

  • start – int

  • length – int

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.setLocale(locale)#
Parameters:

localePySide6.QtCore.QLocale

Return type:

bool

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.setPitch(pitch)#
Parameters:

pitch – float

Return type:

bool

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.setRate(rate)#
Parameters:

rate – float

Return type:

bool

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.setVoice(voice)#
Parameters:

voicePySide6.QtTextToSpeech.QVoice

Return type:

bool

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.setVolume(volume)#
Parameters:

volume – float

Return type:

bool

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.state()#
Return type:

State

PySide6.QtTextToSpeech.QTextToSpeechEngine.stateChanged(state)#
Parameters:

stateState

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.stop(boundaryHint)#
Parameters:

boundaryHintBoundaryHint

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.synthesize(text)#
Parameters:

text – str

PySide6.QtTextToSpeech.QTextToSpeechEngine.synthesized(format, data)#
Parameters:
abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.voice()#
Return type:

PySide6.QtTextToSpeech.QVoice

static PySide6.QtTextToSpeech.QTextToSpeechEngine.voiceData(voice)#
Parameters:

voicePySide6.QtTextToSpeech.QVoice

Return type:

object

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.volume()#
Return type:

float