MATLAB: Speech to text and text to speech conversion (STS) speech recognitionspeech to texttext to speech Hi I am working on conversion of Speech to TExt and then Text to Speech.. I want guidance in it on how to proceed through it in matlab .. Best Answer First off, Google is amazing.Secondly, have you had a look at this? It looks like something that could be useful to you. http://www.ee.ic.ac.uk/hp/staff/dmb/voicebox/voicebox.html Related SolutionsMATLAB: Audio from text in app designer input box Figured it out actually!Just had to add the lower part of the clip of code I attached:caUserInput = char(app.finished_message.Value); % Convert from cell to string. NET.addAssembly('System.Speech'); obj = System.Speech.Synthesis.SpeechSynthesizer; obj.Volume = 100; Speak(obj, caUserInput);into the callback function for the "DONE" button - the button they would press to display their input text. MATLAB: Text to voice conversion For text to speech, if you have Windows, you can try my demo program:% Program to do text to speech.% Get user's sentenceuserPrompt = '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);Also see Walter's solution: https://www.mathworks.com/matlabcentral/answers/243672-hello-can-anyone-give-me-the-codes-for-text-to-speech-conversion-and-also-speech-recognition-thank-y#comment_344435To get text out of a text file, you can use fileread(). Related QuestionHow to get the code to speak with a voice
Best Answer