Text to Speech Conversion in MATLAB. Access Speech Properties of windows from MATLAB.

This video shows how to convert Text into speech in MATLAB using .NET library. It uses System.Speech .NET libraries of windows operating system to do the conversion.

In this video it also shows how to access and modify the various Speech properties from MATLAB commands. Speech Properties dialog can be open by going to Control Panel\Ease of Access\Speech Recognition-Text to Speech.

We will be glad to hear from you regarding any query, suggestions or appreciations at: programmerworld1990@gmail.com

Source code:

function Text_to_Speech(myText, rate)

NET.addAssembly(‘System.Speech’);

mySpeaker = System.Speech.Synthesis.SpeechSynthesizer;
mySpeaker.Rate = rate;
mySpeaker.Volume = 100;
% Speak(mySpeaker, ‘Hello World! This is Programmer”s World YouTube Channel. Connect here to know everything about MATLAB, Simulink and Android’)
Speak(mySpeaker, myText);

2 comments

Leave a Reply

%d bloggers like this: