Home » Community » Newbie corner » TTS text2Speech in U++
|
Re: TTS text2Speech in U++ [message #37362 is a reply to message #37359] |
Thu, 27 September 2012 15:42   |
 |
koldo
Messages: 3432 Registered: August 2008
|
Senior Veteran |
|
|
Hello Arek
Wellcome to U++.
I do not know BSD text to speech libraries. However the one that you link seems very easy to use:
#include <stdafx.h>
#include <sapi.h>
int main(int argc, char* argv[])
{
ISpVoice * pVoice = NULL;
if (FAILED(::CoInitialize(NULL)))
return FALSE;
HRESULT hr = CoCreateInstance(CLSID_SpVoice, NULL, CLSCTX_ALL, IID_ISpVoice, (void **)&pVoice;);
if( SUCCEEDED( hr ) )
{
hr = pVoice->Speak(L"Hello world", 0, NULL);
pVoice->Release();
pVoice = NULL;
}
::CoUninitialize();
return TRUE;
}
I recommend you to run the U++ examples, play with them, look for features you like and begin a very small project with the basic features like this text to speech sample.
Best regards
IƱaki
|
|
|
Re: TTS text2Speech in U++ [message #37397 is a reply to message #37362] |
Sat, 29 September 2012 20:36  |
jheblack
Messages: 12 Registered: September 2012
|
Promising Member |
|
|
@malinowskia Quote: | or if you are familiar with any other based on BSD license please let me know.
|
http://www.speech.cs.cmu.edu/flite/download.html
It is a form of BSD style licensing. I tested it to implement 'audio' tool tips in a FOXToolkit/C++ binary that was with TBB: Threading Building Blocks by Intel*.
Big deal
Flite (festival-lite) is a small, fast run-time synthesis engine developed at CMU and primarily designed for small embedded machines and/or large servers. Flite is designed as an alternative synthesis engine to Festival for voices built using the FestVox suite of voice building tools.
<a href="http://www.speech.cs.cmu.edu/flite/index.html" target="_blank"></a>
It worked, but the FOXToolkit license (?) was not BSD style, so I stopped development of FOXToolkit.
[Updated on: Sat, 29 September 2012 20:39] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Apr 26 22:09:19 CEST 2025
Total time taken to generate the page: 0.00754 seconds
|