Effacer les filtres
Effacer les filtres

Is there a command in Matlab which reads a message and makes it an audio one ?

2 vues (au cours des 30 derniers jours)
Mayssa
Mayssa le 25 Mai 2014
Commenté : Mayssa le 26 Mai 2014
I am working on an interface in which I need to detect a tumor in different images and calculate its area,I need to display a message "the area of cancer is(value) from the total area" and I want it to be read and listened, is that possible ?
  2 commentaires
Jan
Jan le 25 Mai 2014
What is the problem exactly? Do the details about the GUI and its purpose matter?
Mayssa
Mayssa le 26 Mai 2014
no it doesn't really matter, I am looking for a command able to read (with voice) any written message

Connectez-vous pour commenter.

Réponse acceptée

Jan
Jan le 25 Mai 2014
Under Windows there are several methods to convert text to a speech output to the speakers:
NET.addAssembly('System.Speech')
speaker = System.Speech.Synthesis.SpeechSynthesizer();
speaker.Rate = 1
speaker.Speak('Hello world')
In the FEX you'd find these methods by a simple search:

Plus de réponses (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by