MATLAB Answers

Max
0

speech to text and text to speech conversion (STS)

Asked by Max
on 29 Jun 2012
Latest activity Edited by Walter Roberson
on 26 Apr 2018
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

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
can you please send the code for speech to text , we need help please :( salhaaalbloushi@gmail.com

Sign in to comment.

8 Answers

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

  0 Comments

Sign in to comment.


Answer by 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

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.
See my answer (elsewhere on this page) that I just added.
Hi all, maybe could you guide me on how to convert microhone's audio to text on Matlba please?

Sign in to comment.


Answer by 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

i need this too.. anyone can share it?

Sign in to comment.


Answer by 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

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.
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.


Answer by REXY J
on 12 Oct 2016

CODE FOR SPEECH TO TEXT

  1 Comment

Yes, it is fine to post a link to code you have written that does speech to text.

Sign in to comment.


Answer by Pooja A N on 24 Nov 2016
Edited by Pooja A N on 24 Nov 2016

can anyone help me out in text to speech conversion in matlab

  1 Comment

I give Windows code for it here

Sign in to comment.


Answer by Sudeshna Roy on 13 Mar 2017

can anyone help me out in speech to text conversion?

  3 Comments

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

Sign in to comment.


Answer by Rohit K
on 13 Feb 2018
Edited by 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.