MQTextToSpeech

From the wonderful RedGuides Wiki
MQTextToSpeech
Duh.png
Uses Microsoft's Speech API to provide text to speech options
View details
Authors Knightly, A_Enchanter_00, eqholic
Software type Plugin
Config file MQTextToSpeech.ini


Maintained Yes and supported
Acknowledgements A_Enchanter_00 - Wrote MQ2VoiceCommand (which doesn't actually do voice commands, sadly) eqholic - Wrote MQ2Speaker which wasn't ported to MQ
Links

🏠Resource (review)
🥤Quick start •🤝Support •🛠️Repository

Uses Microsoft's Speech API to provide text to speech options for outputting speech in EverQuest.

Commands

Syntax Description
/tts loglevel | reload | say | sayxml | speed | voice | volume [argument] Primarily the command /tts say is used to speak text. Other commands are primarily for settings, which is best controlled via the settings menu.

Settings

Settings are easily configured graphically with the following command: /mqsettings plugins/TextToSpeech

MQTextToSpeech.ini stores the persistent settings (Volume/Speed/Voice). The voice is separate between 32 bit and 64 bit since they maybe be different (even on the same system).

[Settings]
Volume=100
Speed Modifier=0
Voice=Microsoft David
Voice_32bit=Microsoft Zira

Using XML

TextToSpeech supports the SAPI XML TTS API when using the SayXML parameter. To find more about how to use this to adjust pitch, rate, and speed within a single line you can review the api here: https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ms717077(v=vs.85)

For example, the empty box in settings can be recreated using this command:

/say sayxml You <pitch middle="10">really should enter</pitch> something to say if you want to test. This box also supports <spell>XML</spell>

See also


Top-Level Object(s)

TLOs added by MQTextToSpeech:

TLO Data Type(s) Description
TTS TTS The sole TLO for MQTextToSpeech

Members. More may be available if inherited. Typical usage, /echo ${TLO.Member}

TLO Data Type Return Type Member Description
TTS TTS int Speed The speed of the speech
Volume The current set volume
string Voice Which voice is being used (additional voices must be installed)