1 Attachment(s)
My text to speech program
Hi everybody!:wave:
I'm building a text to speech program in VB.
Since it's for Swedish sounds, my program builds a playlist with the letters...so I don't use any Microsoft API or something like that...
My problem is that it takes a second between every letter...this is because it takes a second to load the sound file for each letter...:(
What should I do???:confused:
I've attached the project, plz take a look at it! :)
//Alex
Re: My text to speech program
I cant add the form to the project (I think it's a issue because you programmed it in VB5 & I am using VB6)
It seems good, I suggest you use directsound to play the files so that there is no delay
Re: My text to speech program
how do I do that?
(and I'm also programming in VB6...)
Re: My text to speech program
I don't really use direct sound, just search around for DirectSound & you will find some code & tutorials to help you.
Re: My text to speech program
I would hardly call it text-to-speech when you have 30 mp3's playing a letter through Windows Media Player. Why can't you use the normal text-to-speech, Xvoice.dll? ;)
It shouldn't matter if its VB5 it will open with VB6. There are a few problems opening Form1. :sick:
Re: My text to speech program
Yeah, weird Form1 problem.
I think he isn't using xvoice.dll because he wants it to speak in swedish.
Re: My text to speech program
that's right...I'm using the Windows Media Player control.
Re: My text to speech program
Have you tried using DirectSound to play the files without a pause?
Re: My text to speech program
how do you do that? please send me an example.
Re: My text to speech program
I don't have any examples on my computer atm, but you could search pscode.com for DirectSound and I'm sure you will find plenty of examples to help you out