DEPRECATED: this repo is no longer actively maintained. It can still be used as reference, but may contain outdated or unpatched code.
The Text to Speech service uses IBM's speech synthesis capabilities to convert English or Spanish text to an audio signal. The audio is streamed back to the client with minimal delay. The service can be accessed via a REST interface.
Give it a try!
You can find most information concerning the development of Swift SDK for Watson at the source repository available via Git; look at Swift SDK Repository for details.
New code releases, bug fixes, and general information about the Swift Watson SDK can be found at the above site.
Clone this repo and add your credentials given by the Text to Speech Watson
services into Credentials.swift
.
Run carthage update --platform iOS
in the command line.
-
Log in and create the service:
- Go to the Text to Speech service on Bluemix and either sign up for a free account or log into your Bluemix account.
- Give your service a service name, and then click Create.
-
On the new page that loads, Select Service Credentials and then View Credentials to get your authentication information.
-
Update the
TextToSpeechApiKey
property inCredentials.swift
. -
Run the following command from the home directory to ignore new changes to the
Credentials.swift
file:$ git update-index --assume-unchanged Text\ to\ Speech/Credentials.swift
This sample code is licensed under Apache 2.0. Full license text is available in LICENSE. The sample uses jQuery which is licensed under MIT
See CONTRIBUTING.
Find more open source projects on the IBM Github Page.