VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Text to Speech or Text to telephone

by Raja Venkatesh (1 Submission)
Category: Sound/MP3
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 7th February 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Text to Speech or Text to telephone

API Declarations


'To get that reference download and install Microsoft Speech SDK
'This is to show how all speech softwares make us Jack Ass by selling
'those softwares so costly.
'All you need is WinNT4.0 or above, VB, speaker, mic, voice/fax modem.
dim oVoice as speechlib.spvoice

Rate Text to Speech or Text to telephone



oVoice.speak txtTextBox.Text, SVSFlagsAsync

'This will speak to default out put audio device (speaker)
'In case you want to direct the speech to telephone
'Add a MSCom control to your project
'Dial a telephone number
'Once picked up on other side [You need to know AT commands]
'set the oVoice output to telephone object and play the stream

set oVoice.AudioOutput="Your telephone object"
oVoice.speak "Your text data or wav file", flags
'See documentation.

Download this snippet    Add to My Saved Code

Text to Speech or Text to telephone Comments

No comments have been posted about Text to Speech or Text to telephone. Why not be the first to post a comment about Text to Speech or Text to telephone.

Post your comment

Subject:
Message:
0/1000 characters