version 1.2.18 (122 KB) by MathWorks Audio Toolbox Team
Automatic speech-to-text conversion


Updated 27 Oct 2022

View License

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

Cite As

MathWorks Audio Toolbox Team (2022). speech2text (https://www.mathworks.com/matlabcentral/fileexchange/65266-speech2text), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022b
Compatible with R2018b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!