#include <tts/tts_espeak.h>
Public Member Functions | |
wxTTSEspeakHandler () | |
~wxTTSEspeakHandler () | |
void | Init () |
Member initialisation. | |
virtual bool | Initialize () |
Initialize the engine. Can call multiple times. | |
virtual bool | Uninitialize () |
Clean up the engine. Can call multiple times. | |
virtual bool | Speak (const wxString &text, int options=wxTTS_SPEAK_ASYNC) |
Speak the text. | |
virtual bool | SpeakFile (const wxString &filename, int options=wxTTS_SPEAK_ASYNC, const wxString &waveFilename=wxEmptyString) |
Speak the file. | |
virtual bool | DoSpeak (const wxString &textOrFilename, bool isFilename, int options=wxTTS_SPEAK_ASYNC, const wxString &waveFilename=wxEmptyString) |
Speak the text or file. | |
virtual bool | IsSpeaking () const |
Is it speaking? | |
virtual wxArrayString | GetAvailableVoices () const |
Get a list of the available voices. | |
virtual wxArrayString | GetAvailableVoiceVariants () const |
Get a list of the available voice variants. | |
virtual bool | HasCapability (wxTTSCapability capability) const |
Does this handler have the specified capability? | |
virtual int | GetMinSpeed () const |
virtual int | GetMaxSpeed () const |
virtual int | GetMinVolume () const |
virtual int | GetMaxVolume () const |
virtual int | GetMinPitch () const |
virtual int | GetMaxPitch () const |
virtual wxString | GetDefaultVoice () const |
Get the default voice. | |
virtual wxString | GetDefaultVoiceVariant () const |
Get the default voice variant. | |
virtual void | SetProgramLocation (const wxString &location) |
Set the program location, and on Windows, deduce the data location. | |
Static Public Member Functions | |
static wxArrayString | GetAvailableVoicesForDir (const wxString &voicesDir) |
Get a list of the available voices, given the voices directory. |
wxTTSEspeakHandler::wxTTSEspeakHandler | ( | ) |
wxTTSEspeakHandler::~wxTTSEspeakHandler | ( | ) |
bool wxTTSEspeakHandler::DoSpeak | ( | const wxString & | textOrFilename, | |
bool | isFilename, | |||
int | options = wxTTS_SPEAK_ASYNC , |
|||
const wxString & | waveFilename = wxEmptyString | |||
) | [virtual] |
Speak the text or file.
wxArrayString wxTTSEspeakHandler::GetAvailableVoices | ( | ) | const [virtual] |
wxArrayString wxTTSEspeakHandler::GetAvailableVoicesForDir | ( | const wxString & | voicesDir | ) | [static] |
Get a list of the available voices, given the voices directory.
wxArrayString wxTTSEspeakHandler::GetAvailableVoiceVariants | ( | ) | const [virtual] |
wxString wxTTSEspeakHandler::GetDefaultVoice | ( | ) | const [virtual] |
wxString wxTTSEspeakHandler::GetDefaultVoiceVariant | ( | ) | const [virtual] |
virtual int wxTTSEspeakHandler::GetMaxPitch | ( | ) | const [inline, virtual] |
Implements wxTTSHandler.
virtual int wxTTSEspeakHandler::GetMaxSpeed | ( | ) | const [inline, virtual] |
Implements wxTTSHandler.
virtual int wxTTSEspeakHandler::GetMaxVolume | ( | ) | const [inline, virtual] |
Implements wxTTSHandler.
virtual int wxTTSEspeakHandler::GetMinPitch | ( | ) | const [inline, virtual] |
Implements wxTTSHandler.
virtual int wxTTSEspeakHandler::GetMinSpeed | ( | ) | const [inline, virtual] |
Implements wxTTSHandler.
virtual int wxTTSEspeakHandler::GetMinVolume | ( | ) | const [inline, virtual] |
Implements wxTTSHandler.
bool wxTTSEspeakHandler::HasCapability | ( | wxTTSCapability | capability | ) | const [virtual] |
void wxTTSEspeakHandler::Init | ( | ) |
virtual bool wxTTSEspeakHandler::Initialize | ( | ) | [inline, virtual] |
virtual bool wxTTSEspeakHandler::IsSpeaking | ( | ) | const [inline, virtual] |
void wxTTSEspeakHandler::SetProgramLocation | ( | const wxString & | location | ) | [virtual] |
Set the program location, and on Windows, deduce the data location.
Reimplemented from wxTTSHandler.
bool wxTTSEspeakHandler::Speak | ( | const wxString & | text, | |
int | options = wxTTS_SPEAK_ASYNC | |||
) | [virtual] |
bool wxTTSEspeakHandler::SpeakFile | ( | const wxString & | filename, | |
int | options = wxTTS_SPEAK_ASYNC , |
|||
const wxString & | waveFilename = wxEmptyString | |||
) | [virtual] |
virtual bool wxTTSEspeakHandler::Uninitialize | ( | ) | [inline, virtual] |