Text to speech synthesis Answer

Response to this
https://vexforum.com/t/text-to-speech-synthesis/26449/1

I am almost certain I am who you are referring to. :slight_smile:

I have used text to speech for autonomous selection. https://www.youtube.com/watch?v=V8S0WiqEK6s

I have also used it for something way cooler here.
https://www.youtube.com/watch?v=gLeuESGlXmM

So the how.

  1. The AT&T text to speech site can be found here.
    http://www2.research.att.com/~ttsweb/tts/demo.php

  2. Convert the Wav file into the proper format using audacity as explained on the VEX speaker page here. [http://www.robotc.net/wiki/Tutorials/VEX_Speaker_module

  3. Upload it to the robot](http://www.robotc.net/wiki/Tutorials/VEX_Speaker_module)

What we really would like is text to speech at run time rather than offline.

task main()
{
    Speak("Hello");

    while(1)
        wait1Msec(10);
}

I have looked for libraries to implement this but have found nothing compatible with a cortex-M3 (processor in the cortex). There are some available for the cortex-M4, the difference being that it has a floating point co-processor. I had wanted to add this feature to ConVEX.

Flowol has something built in, but it also creates a wav file I think, never actually played with it. (author of Flowol was former Microsoft text to speech expert, or at least something in that area).

I’m Kinda gonna derail this thread, How much work do you think it would be to replace the M3 with the M4, I would assume that firmware would be the biggest issue, if the microprocessor follows is the same size.

Couldn’t let me have the glory could you Jpearman. On my birthday no less.

task main()
{
    speakingVoice = "singing";

    Speak("Happy birthday to you");
    Speak("Happy birthday to you");
    Speak("Happy birthday dear Griffin");
    Speak("Happy birthday to you");

    while(1)
        wait1Msec(10);
}