RiTa
index
Name RiSpeech
Description Provides basic cross-platform text-to-speech facilities with control over a range of parameters including voice-selection, pitch, speed, rate, etc.

Note: requires the installation of one or more FreeTTS
compatible voices (see the RiTa+TTS install which includes a default 8-bit voice)...

Note: Is also compatible with mbrola voices (http://tcts.fpms.ac.be/synthesis/mbrola.html),
but requires as of v050) a local installation of the mbrola binary (which must-be name 'mbrola'),
as well as a call to:

RiSpeech.setMbrolaBase(String pathToMbrola);
Constructors
RiSpeech(pApplet, voiceName, mbrolaBase);
RiSpeech(pApplet);
RiSpeech(pApplet, voiceName);
Methods
delete()   Cleans-up resources associated with the TTS engine.

getAvailableVoices()   Returns the names and descriptions for all each currently available voice.

getVoiceDescription()   Returns descriptive info on the current voice

getVoiceDescriptions()   Returns descriptive info on all available voices

getVoicePitch()   Returns the pitch of the current voice

getVoicePitchRange()   Returns the pitch range of the current voice

getVoicePitchShift()   Returns the pitch shift of the current voice

getVoiceRate()   Returns the rate of the current voice

getVoiceVolume()   Returns the volume of the current voice

setMbrolaBase()   Enables support for mbrola voices by specifying the path to the installed mbrola binary.

Note: this method must be called before setting the current voice to an mbrola voice.

setVoice()   Sets the current voice by name (default voice='kevin')

Additional 'mbrola' voices can also be enabled if the mbrola binary is installed and the 'mbrola.base' system property has been set by calling:

    RiSpeech.setMbrolaBase("c:\\path\\to\\mbrola\\");


setVoicePitch()   Sets the pitch of the current voice

setVoicePitchRange()   Sets the pitch range of the current voice

setVoicePitchShift()   Sets the pitch shift of the current voice

setVoiceRate()   Sets the rate of the current voice

setVoiceVolume()   Sets the volume of the current voice

speak()   Speaks the text string using the current voice.

RiSpeech.isTTSEnabled()   Returns whether Text-To-Speech is currently enabled

RiSpeech.setTTSEnabled()   Set whether Text-To-Speech is currently enabled

Usage Web & Application