Audio (mp3) to Text converter tool for MatLab?
20 ビュー (過去 30 日間)
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.
回答 (1 件)
Gabriele Bunkheila 2018 年 1 月 16 日
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 =
'hello audio product Developers'
>> outInfo.CONFIDENCE =
Please refer to the html folder in the submission for a step-by-step getting started guide.