Audio (mp3) to Text converter tool for MatLab?

4 views (last 30 days)
I am working on Music emotion recognition. For this, I need a tool that convert the audio (.mp3) file into text. Can anyone give me the tools or help me to solve this. If anyone have this tools please mail me. Thankyou.
  2 Comments
Walter Roberson
Walter Roberson on 3 Apr 2017
Any text in particular? For example are you looking for text that represents midi control signals that might be used to reproduce the music?
Ashley Spencer
Ashley Spencer on 19 May 2021
Definitely, try audio to text converter. It's easy to use. There's some interesting and useful features like in-build editor

Sign in to comment.

Answers (1)

Gabriele Bunkheila
Gabriele Bunkheila on 16 Jan 2018
Hi Rafayet,
I work at MathWorks and I noticed this old question of yours just now. I thought I'd leave a link to our recent MATLAB Central sumbission speech2text in case it's still useful:
This enables to leverage 3rd party speech-to-text web services (so far including from Google, Microsoft and IBM) directly from MATLAB using a simple MATLAB Function. The syntax looks like the following:
>> [samples, fs] = audioread('helloaudioPD.wav');
>> soundsc(samples, fs)
>> speechObject = speechClient('Google','languageCode','en-US');
>> outInfo = speech2text(speechObject, samples, fs);
>> outInfo.TRANSCRIPT =
ans =
'hello audio product Developers'
>> outInfo.CONFIDENCE =
ans =
0.9385
Please refer to the html folder in the submission for a step-by-step getting started guide.
Thanks,
Gabriele.
  4 Comments
Edison Salinas
Edison Salinas on 28 Feb 2021
I get this error.
Authorization file for Google not found. Please browse for the JSON file which contains your user credentials.
how can i solve it? :)

Sign in to comment.

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!