MATLAB Answers

speech to text and text to speech conversion (STS)

104 views (last 30 days)
Max
Max on 29 Jun 2012
Answered: jibrahim on 11 Feb 2020
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 ..

  8 Comments

Show 5 older comments
sneha madre
sneha madre on 22 Feb 2018
Can you pls send the code for OCR image text to speech conversion for Matlab.and reduce a delay in TTS pronounce. nehamadre123@gmail.com thanks
Maryam Khalifa
Maryam Khalifa on 26 Apr 2018
can you please send the code for speech to text , we need help please :( salhaaalbloushi@gmail.com

Sign in to comment.

Accepted Answer

Shaun VanWeelden
Shaun VanWeelden on 28 Dec 2012
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

  0 Comments

Sign in to comment.

More Answers (8)

Yash
Yash on 30 Jun 2012
for sppech to text you will have to define different words in the data base and for that also there are some microsoft utlities you have to install

  3 Comments

naseha qammar
naseha qammar on 12 Jun 2016
Hi Max you have worked already on speech o text and text to speech codes .Can you give me that code as m also working on it.
Image Analyst
Image Analyst on 12 Jun 2016
See my answer (elsewhere on this page) that I just added.
Danilo Teran
Danilo Teran on 7 Nov 2016
Hi all, maybe could you guide me on how to convert microhone's audio to text on Matlba please?

Sign in to comment.


deepak
deepak on 29 Mar 2014
  • *how to get text from audio file ?* *
hi.. guys i'm doing a project in image processing.. for my application to start I required to take the text from a audio which is pre-recoded. I know there is a tts file which gives voice to text using Net.addAssembly
in similar way using Net.addAssembly. I required the code for speech to text (or) audio to text.. I required it immediately.. If anyone tried it please post to help me..
or if u know that, what are all the class I required from Net.AddAssembly to invoke to get the text from the audio. please let me know as soon as possible..
thanks in advance..

  2 Comments

Sign in to comment.


Image Analyst
Image Analyst on 12 Jun 2016
Here is text to speech code for Windows operating system:
% 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);

  2 Comments

Danilo Teran
Danilo Teran on 7 Nov 2016
Hi, maybe could you guide me on how to convert microhone's audio to text on Matlba please? I speak and I need that information but i do not how to do it.
Image Analyst
Image Analyst on 7 Nov 2016
I gave code for text to speech. That's a whole lot simpler than speech to text which is what you want. That's like orders of magnitude more difficult since there is no code built in to do that that I'm aware of.

Sign in to comment.


REXY J
REXY J on 12 Oct 2016
CODE FOR SPEECH TO TEXT

  1 Comment

Walter Roberson
Walter Roberson on 12 Oct 2016
Yes, it is fine to post a link to code you have written that does speech to text.

Sign in to comment.


Pooja A N
Pooja A N on 24 Nov 2016
Edited: Pooja A N on 24 Nov 2016
can anyone help me out in text to speech conversion in matlab

  1 Comment

Sign in to comment.


Sudeshna Roy
Sudeshna Roy on 13 Mar 2017
can anyone help me out in speech to text conversion?

  3 Comments

Walter Roberson
Walter Roberson on 13 Mar 2017
https://www.mathworks.com/matlabcentral/answers/?term=tag%3A%22speech+to+text%22
Sudeshna Roy
Sudeshna Roy on 18 Mar 2017
Can i get the code for speech to text conversion? It will be very much helpful for my project.
Walter Roberson
Walter Roberson on 18 Mar 2017
Look at the voicebox link already provided or read the posts at the link I provided.

Sign in to comment.


Rohit K
Rohit K on 13 Feb 2018
Edited: Walter Roberson on 26 Apr 2018
%Speak the text;
tts('I can speak.');
% List availble voices;
tts('I can speak.','List');
% Do not speak out, store the speech in a variable;
w = tts('I can speak.',[],-4,44100); wavplay(w,44100);

  0 Comments

Sign in to comment.


jibrahim
jibrahim on 11 Feb 2020
Audio Toolbox supports calling into popular 3rd-party APIs for speech transcription and synthesis:

  0 Comments

Sign in to comment.

Sign in to answer this question.


Translated by