Jump to content
cmd

Speech vb.net

Recommended Posts

cmd

Boas a todos :cheesygrin:,

Tenho o seguinte código para "falar" o que está dentro de uma label:

Imports System.Speech
Imports System.Speech.Synthesis
Imports System.IO

Dim speaker As New SpeechSynthesizer()

speaker.Rate = 0
speaker.Volume = 100
speaker.SpeakAsync(Label1.Text)

E ele fala :) , só que se o texto for o seguinte ==> "O david tem de tomar o medicamento agora." não fala muito bem, mas se for ==> "David must take is medicine now." já fala perfeitamente.

A minha dúvida é, existe alguma "voz" portuguesa para vb.net?

A default do meu pc é a Microsoft Anna - English


Cumps.cmd

Share this post


Link to post
Share on other sites
cmd

Isso é para ASP e eu estava a procura de VB (windows forms), mas a partir dai vou procurar e ver se encontro algo.

Obrigado!


Cumps.cmd

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.