Text to speech for standalone?

Hi!

I am trying to make a quiz like game and I want something to read the questions. Since the player can create their own questions, why not make the computer read the questions? But I have one problem. I can’t find a way to do it. I only found a solution that ONLY works on Android and I need it to work on both Windows and Mac. I tried getting System.Speech but that doesn’t seem to work. So what can I do to add this feature?

Thanks in advance!

http://forum.unity3d.com/threads/text-to-speech-dll-for-win32.56038/

2 cool plugins I found

using System.Collections;
using System.Collections.Generic;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.Text.RegularExpressions;

public class TexttoSpeech : MonoBehaviour {

public AudioSource _audio;

// Use this for initialization
void Start () {
	_audio = gameObject.GetComponent<AudioSource> ();
}

// Update is called once per frame
void Update () {
}

IEnumerator DownloadTheAudio(){

	string url="http://translate.google.com/translate_tts?ie=UTF-8&total=1&idx=0&textlen=32&client=tw-ob&q=Hello%20World.&tl=En-gb";
	WWW www = new WWW (url);
	yield return www;
	_audio.clip = www.GetAudioClip (false, false, AudioType.MPEG);
	_audio.Play ();
}

public void ButtonClick(){
	StartCoroutine (DownloadTheAudio ());
}

}

If a robotic-type of voice is enough, then you could use this new asset:

Klattersynth TTS

It works probably on all platforms targeted by Unity and it’s really small as well.