Audio Toolbox™ enables you to interface with third-party text-to-speech (TTS) APIs from MATLAB®.
To interface with third-party text-to-speech APIs and synthesize speech, you must have the following:
Audio Toolbox release R2019a or above
One of the following APIs:
Google® Speech API
IBM® Watson Speech API
Microsoft® Azure Speech API
The third-party APIs require you to generate keys for identification purposes. To begin, download the extended Audio Toolbox functionality from File Exchange. The File Exchange submission includes a tutorial to get you started. Once you have installed the text-to-speech functionality and set up your API keys, you can perform text-to-speech conversion programmatically.