speech to text and text to speech conversion (STS)

15 Ansichten (letzte 30 Tage)
Max
Max am 29 Jun. 2012
Kommentiert: Image Analyst am 12 Jul. 2023
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 ..
  10 Kommentare
erbina selvia
erbina selvia am 10 Dez. 2020
can you please send the code for speech to text, i hope you help me please email : erbinaselvia4@gmail.com
thnkyou
Oguzhan Zafer Kutlu
Oguzhan Zafer Kutlu am 1 Jan. 2021
Can you please send the code for speech to text, i hope you help me please
e mail: oguzhan.kutlu25@erzurum.edu.tr

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Shaun VanWeelden
Shaun VanWeelden am 28 Dez. 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

Weitere Antworten (8)

Yash
Yash am 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 Kommentare
Image Analyst
Image Analyst am 12 Jun. 2016
See my answer (elsewhere on this page) that I just added.
Danilo Teran
Danilo Teran am 7 Nov. 2016
Hi all, maybe could you guide me on how to convert microhone's audio to text on Matlba please?

Melden Sie sich an, um zu kommentieren.


deepak
deepak am 29 Mär. 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 Kommentare
ziad alalaily
ziad alalaily am 7 Jul. 2015
Did you reach anything yet?
Jay Krypton
Jay Krypton am 7 Feb. 2017
i need this too.. anyone can share it?

Melden Sie sich an, um zu kommentieren.


Image Analyst
Image Analyst am 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);
  5 Kommentare
Abhijith
Abhijith am 12 Jul. 2023
How to ask the computer to speak the displayed text from command window
Image Analyst
Image Analyst am 12 Jul. 2023
Did you try typing in the code I gave? If not, why not?
If you don't want to ask the user you could do
>> NET.addAssembly('System.Speech');
>> obj = System.Speech.Synthesis.SpeechSynthesizer;
>> obj.Volume = 100;
>> Speak(obj, 'Hello Abhijith');
From then on, you could just enter the Speak line -- no need to do the first 3 lines after they've been done once of course.

Melden Sie sich an, um zu kommentieren.


REXY J
REXY J am 12 Okt. 2016
CODE FOR SPEECH TO TEXT
  1 Kommentar
Walter Roberson
Walter Roberson am 12 Okt. 2016
Yes, it is fine to post a link to code you have written that does speech to text.

Melden Sie sich an, um zu kommentieren.


Pooja A N
Pooja A N am 24 Nov. 2016
Bearbeitet: Pooja A N am 24 Nov. 2016
can anyone help me out in text to speech conversion in matlab

Sudeshna Roy
Sudeshna Roy am 13 Mär. 2017
can anyone help me out in speech to text conversion?
  3 Kommentare
Sudeshna Roy
Sudeshna Roy am 18 Mär. 2017
Can i get the code for speech to text conversion? It will be very much helpful for my project.
Walter Roberson
Walter Roberson am 18 Mär. 2017
Look at the voicebox link already provided or read the posts at the link I provided.

Melden Sie sich an, um zu kommentieren.


Rohit K
Rohit K am 13 Feb. 2018
Bearbeitet: Walter Roberson am 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);

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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by