I have image of Text book,
And I extracted somehow the text from that image.
Now I want to convert this text to Voice.
What to do ??
kindly people help me..
|
|
0
|
|
|
|
Reply
|
Sidra
|
9/28/2010 1:50:20 PM |
|
On Windows, you can do something like the following. See
-Eric
function say(StringToSay,Voice)
a = actxserver('SAPI.SpVoice.1');
if nargin > 1
switch lower(Voice)
case 'sam'
voicestr = 'Name=Microsoft sam';
case 'anna'
voicestr = 'Name=Microsoft anna';
otherwise
error('say() error: %s is not a valid voice.', Voice);
end
else
voicestr = 'Name=Microsoft anna';
end
a.Voice = a.GetVoices(voicestr).Item(0);
a.Speak(StringToSay);
a.delete
|
|
3
|
|
|
|
Reply
|
Eric
|
10/5/2010 5:32:04 PM
|
|