File Exchange

image thumbnail

tts version 1.0

version (1.13 KB) by Iari-Gabriel Marino
Text To Speech function, via Win32 Speech API (SAPI).

1 Download

Updated 03 May 2004

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

tts(textString) is a very simple function, which "reads" the textString string. The tts function calls the Microsoft(r) Win32 Speech API (SAPI).

Cite As

Iari-Gabriel Marino (2021). tts version 1.0 (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (11)

Shangwen Huang

Ravi Rastogi

Awesome code.. Thanks

zia rehman

this is an excellent program

Scott F

Fantastic. Simple, as well.

Gati Gati

d s

i finally found SAPI and the Speech SDK at ...

thanks for this great function, very straightforward.

d s

hello! this seems to be what i need.
but it throws the error message:
Server creation failed. Invalid ProgID 'SAPI.SpVoice'
can anybody tell me what i need to install or configure to run this??
thanks you

J Ling

Super! Suggest wrapping this with if ispc, ...

bubba gump

thanks, just what I needed!!!!!

bubba gump

hahha, awesome, just what I needed, something very very simple and very very functional.

Andy Bezdan

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: text-to-speech

Community Treasure Hunt

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

Start Hunting!