How can I convert a .wav audio file into text?

9 visualizaciones (últimos 30 días)
Varunil Shah
Varunil Shah el 23 de Sept. de 2020
Respondida: Ruchika P Barman el 8 de Jul. de 2022
I have tired using the speech2text, but I am no having success. The error that keeps popping up is "Expected input to be a vector." I would apperciate any help.
  1 comentario
jibrahim
jibrahim el 24 de Sept. de 2020
Hi Varunil,
speech2text should do that:
Can you please provide more info about the error? How exactly are you calling speech2text?

Iniciar sesión para comentar.

Respuestas (1)

Ruchika P Barman
Ruchika P Barman el 8 de Jul. de 2022
It is my understanding that you want to convert a .wav audio file into text and are encountering errors using speech2text. You may try the following commands to achieve the same:
[data, fs] = audioread('NameOfWavFile.wav');
save NameOfTextFile.txt data -ASCII
Please provide more details as to how you are calling the function speech2text in your code so, I can help you with that.

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by