Resource icon

Unmaintained MQ2Speaker

Included in Very Vanilla
Very Vanilla Included! No need to download.
Server Type
🏢 Live 🏘️ Emu TLP Test
Version 1.0 Released

This plugin provides an interface to the Microsoft Speech Synthesizer. The selection of voices is trough the windows control panel (Control Panel -> Ease of Access -> Speech Recognition -> Text to Speech)

Commands

/speaker speak Heal me -> Say "Heal me" using the default voice, wait for completion
/speaker speaka Invis faded -> Queue saying "Invis faded", return immediately
/speaker mute -> Toggle the voice on/off
/speaker mute 1/0 -> Set the voice output on/off
/speaker echo -> Toggle the echoing of the voice into the mq2 chat window
/speaker echo 1/0 -> Set echoing on/off
/speaker panel -> Open the Window speech recognition control panel

The settings are stored in MQ2Speaker.ini and default to mute=0, echo=0.

TLO

${Speaker.Muted} Is the voice muted
${Speaker.Echoing} Is the voice echoed
${Speaker.Done} Have all speak requests been spoken
${Speaker.Exists} Is the voice successfully initialized

Technicalities

The state of the voice (for example, rate, pitch, and volume), can be modified using SAPI XML tags that are embedded into the spoken text. https://msdn.microsoft.com/en-us/library/ms717077(v=vs.85).aspx
The standard selection of voices is rather limited, but more can be found here: https://www.microsoft.com/en-us/download/details.aspx?id=27224
Possible further extensions

/speaker nameds 1/0 -> Announce new named spawns
/speaker spawnmasteronly 1/0 -> Like above, but only when on spawnmaster list
Author
eqholic
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from eqholic

Share this resource

Back
Top