How to convert Speech to Text
Show older comments
I am doing project on speech signal analysis.how to convert speech to text any one help me
Accepted Answer
More Answers (1)
Image Analyst
on 1 May 2015
Not an answer for you, but in case anyone is interested in the reverse direction (text to speech).....If you have Windows, try .Net. Try this MATLAB code snippet:
% Program to do text to speech.
% Get user's sentence
userPrompt = 'What do you want the computer to say?';
titleBar = 'Text to Speech';
defaultString = 'Hello World! MATLAB is an awesome program!';
caUserInput = inputdlg(userPrompt, titleBar, 1, {defaultString});
if isempty(caUserInput)
return;
end; % Bail out if they clicked Cancel.
caUserInput = char(caUserInput); % Convert from cell to string.
NET.addAssembly('System.Speech');
obj = System.Speech.Synthesis.SpeechSynthesizer;
obj.Volume = 100;
Speak(obj, caUserInput);
Speech to text is a lot more complicated of course.
4 Comments
Image Analyst
on 7 Jan 2021
Image Analyst
on 7 Jan 2021
We can't do your project for you. You have to be more specific in what you need help with. At this point, it's just too vague for any of us to help. At this point in your project all we can do is to point you to software that can help you. If you have specific questions about small snippets of your code, we can help you, but please read this link first before you post your code, data, and specific question(s):
Nikos Korobos
on 23 Mar 2022
Hi, is there any possibility to function STT without an internet connection?
Asking because it makes use of various SAPIs
Gabriele Bunkheila
on 23 Mar 2022
Please see the response provided to this same question in the main thread
Categories
Find more on Speech Recognition in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!