Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone - API for Text to Speech feature [closed]

I was wondering if iPhone has any API that supports Text to Speech feature? I looked around but couldn't find any, so just want to confirm.

Thanking in anticipation.

like image 473
Mustafa Avatar asked Jul 09 '09 07:07

Mustafa


People also ask

Does TTS work on iPhone?

In modern versions of iOS and iPadOS, enabling text to speech is done as follows: Launch “Settings” and tap on “Accessibility” In Spoken Content, tap on “Speak Selection” Slide the Speak Selection toggle to “ON”

Does text to speech require internet?

You require an internet connection for the Text to Speech API, but you can use Text to Speech in offline mode by applying the following settings. Currently not all devices support offline speech input. However you can follow this discussion to enable offline speech input for supported devices. 1.


1 Answers

I ran into this problem at one point, and got Flite (festival lite) text to speech engine running on iPhone. I recently made an API class for it. I tried to make it easy (and free) to add to new and existing projects. It can be downloaded at here.

like image 64
cmang Avatar answered Sep 29 '22 21:09

cmang