Automatic speech-to-text conversion

다운로드 수: 6.6K

업데이트 날짜: 2022/10/27

라이선스 보기

Automate labeling and tagging of speech recordings, assess the performance of DSP pipelines for voice and speech enhancement, run text analytics on voice recordings, and more.
This entry enables you to convert sampled speech recordings available as MATLAB vectors into strings using a single function call. Starting from MATLAB release R2022a, this also enables you to perform speech transcription interactively using the Signal Labeler app.
You will need a license of Audio Toolbox, an internet connection, and an active subscription to a speech-to-text service of your choice – Google™ Cloud Speech-to-Text API, IBM™ Watson Speech to Text API, Microsoft™ Azure Speech Services API, or Amazon™ Transcribe. Amazon Transcribe™ requires R2022b or later.
Starting in MATLAB R2022b, you can use speech2text with a pretrained wav2vec 2.0 model without needing to download this functionality from File Exchange. For more information, see: https://www.mathworks.com/help/audio/ref/speech2text.html
See the Examples tab for detailed instructions on how to get started.
See also: Automatic text-to-speech synthesis (text2speech) https://www.mathworks.com/matlabcentral/fileexchange/73326-text2speech

인용 양식

MathWorks Audio Toolbox Team (2023). speech2text (https://www.mathworks.com/matlabcentral/fileexchange/65266-speech2text), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2022b
R2018b 이상 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
Help CenterMATLAB Answers에서 Audio Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!


버전 게시됨 릴리스 정보

Added Support for Amazon Transcribe.


- edited example live script


- update description and mlx file


Added Audio Toolbox as required product.


Improved command-line help for speechClient.


Fixed bug in HTTPTimeOut argument parsing of speech2text. The bug was introduced in 1.2.12


Updated to work with R2022b speech2text support for wav2vec 2.0.


Reacted to change in IBM url


Fixed diarization for Google client


Includes missing IBM authentication steps, which was causing errors for old credentials.


Re-uploaded as a toolbox file


Re-uploading to fix corrupt toolbox file


Handle the new authentication token format for Microsoft API.


Added link to text2speech


Better error handling when Audio Toolbox license is not available


Allow specifying a custom recognize URL for Google client. This provides a way to use beta versions of Google Cloud Speech-to-Text API.


Prevent adding the setup script to MATLAB path


Typo fix


Added support for interactive speech to text transcription using Audio Labeler in MATLAB release R2019b

Addressed compatibility issues in older MATLAB releases (R2017a and R2017b)

Added support for new authentications schemes for IBM and Microsoft APIs.

Corrected path update on install

Improved handling of errors and lack of data in responses when using Microsoft API.

Updates for changes to IBM API

Added files under Files/en to enable cmd line help for p-coded files.
Added HTTPTimeOut option to allow using longer speech recordings.
Added error message to better handle a scenario where an HTTP request is successful but the API does not return any transcription data