when the machines record a voice and reproduce the human try to talking with the machines, so now with vb this is more easy, so i begin with a serie of posts begin to reproduce a voice until to talk with the machine, entire with vb.net 2008 code.

so, we are starting, the following code you can reproduce a voice and save the results, easy:

 

dim spsynt as new speech.synthesis.speechsynthesizer

dim voces as readonlycollection(of installedvoice) = spsynt.getinstalledvoices()

for each vo as installedvoice in voces

console.writeline("motor: " + vo.voiceinfo.name + " cultura: " + vo.voiceinfo.culture.textinfo.culturename)

next

spsynt.selectvoice(voces(0).voiceinfo.name)

spsynt.volume = 100

spsynt.rate = -5

spsynt.setoutputtowavefile("c:\test.wav")

spsynt.speakasync("jessus is the best boide")

console.read()

 

best regards,

 

franklin garzón

mvp visual foxpro

Leave a Reply

Your email address will not be published. Required fields are marked *