tts_voice object
This method will list the names of all the available voices on the system.
string[] get_voice_names()
Parameters:
None.
Return value:
An array of names on success, or an empty array on failure.
Remarks:
The list of voices returned by this method is cached. The tts_voice object automatically retrieves a list of all the available voices when it is first created, and this list is then kept internally for performance reasons. This means that if the user installs or uninstalls voices while your game is running, this list will be out of date. You may refresh the internal cache manually by calling the refresh_voice_list method.
Example:

    // Show a series of message boxes with the names of the voices that are currently installed.

    void main()
    {
    tts_voice speech;
    string[] list=speech.get_voice_names();
    for(uint counter=0; counter<list.length(); counter++)
    {
    alert("Voice "+counter,list[counter]);
    }
    }