|
1 | | -# ios-sdk-watson-speaks |
2 | | -An example application using the Text to Speech service from the Watson |
3 | | -Developer Cloud iOS SDK. |
| 1 | +# Text to Speech Swift Starter Application |
4 | 2 |
|
| 3 | +The [Text to Speech][service_url] 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. |
| 4 | + |
| 5 | +Give it a try! |
5 | 6 |
|
6 | | -### Documentation and Git Access |
7 | 7 |
|
8 | | -You can find most information concerning the development of ios sdk for watson |
9 | | -at the source repository available via Git; look here for details: |
| 8 | +### Documentation and Git Access |
10 | 9 |
|
11 | | -https://github.com/watson-developer-cloud/ios-sdk |
| 10 | +You can find most information concerning the development of iOS SDK for Watson |
| 11 | +at the source repository available via Git; look at [iOS SDK Repository](https://github.com/watson-developer-cloud/ios-sdk) for details. |
12 | 12 |
|
13 | | -New code releases, bug fixes, and general information about the iOS Watson sdk |
| 13 | +New code releases, bug fixes, and general information about the iOS Watson SDK |
14 | 14 | can be found at the above site. |
15 | 15 |
|
16 | 16 | # Setup |
17 | 17 |
|
18 | 18 | Clone this repo and add your credentials given by the Text to Speech Watson |
19 | 19 | services into `Credentials.swift`. |
20 | 20 |
|
21 | | -Run ```carthage update --platform iOS``` |
| 21 | +Run `carthage update --platform iOS` in the command line. |
22 | 22 |
|
23 | 23 | ### Getting Started |
24 | 24 |
|
25 | | -1. Log in to Bluemix at [https://bluemix.net](https://bluemix.net) to create a |
26 | | -service by clicking on Catalog in the website header. (Select "Watson" under |
27 | | -Services on the left hand sidebar to narrow down the list.) |
| 25 | +1. Create a Bluemix Account |
28 | 26 |
|
29 | | - <img src="http://i.imgur.com/tmlSKCE.png" width="500"> |
| 27 | + [Sign up][sign_up] in Bluemix, or use an existing account. Watson Services in Beta are free to use. Create a service by clicking on Catalog in the website header. |
30 | 28 |
|
31 | | -2. Select 'Text to Speech' |
32 | | - 1. Choose which space you want to store the service in. |
33 | | - 2. Choose the option 'Leave unbound' if you have no application you want to |
34 | | - use the service with. |
| 29 | +2. On the new page that loads upon clicking 'Create Service,' select 'Service |
| 30 | +Credentials' |
| 31 | +3. Update the `TextToSpeechUsername` and `TextToSpeechPassword` properties in `Credentials.swift`. |
| 32 | +4. Run the following command from the home directory to ignore new changes to the `Credentials.swift` file. |
35 | 33 |
|
36 | | - <img src="http://i.imgur.com/Dpa4oXt.png" width="500"> |
| 34 | +```sh |
| 35 | +$ git update-index --assume-unchanged Text\ to\ Speech/Credentials.swift |
| 36 | +``` |
37 | 37 |
|
38 | | -3. On the new page that loads upon clicking 'Create Service,' select 'Service |
39 | | -Credentials' |
40 | | -4. Copy `CredentialsExample.swift` to `Credentials.swift`. |
41 | | -5. Update the `TextToSpeechUsername` and `TextToSpeechPassword` properties in `Credentials.swift`. |
| 38 | +## License |
| 39 | + |
| 40 | + This sample code is licensed under Apache 2.0. Full license text is available in [LICENSE](LICENSE). |
| 41 | + The sample uses jQuery which is licensed under MIT |
| 42 | + |
| 43 | +## Contributing |
| 44 | + |
| 45 | + See [CONTRIBUTING](CONTRIBUTING.md). |
| 46 | + |
| 47 | +## Open Source @ IBM |
| 48 | + |
| 49 | + Find more open source projects on the |
| 50 | + [IBM Github Page](http://ibm.github.io/). |
| 51 | + |
| 52 | +[service_url]: http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/text-to-speech.html |
| 53 | +[cloud_foundry]: https://github.com/cloudfoundry/cli |
| 54 | +[getting_started]: http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/getting_started/ |
| 55 | +[sign_up]: https://apps.admin.ibmcloud.com/manage/trial/bluemix.html?cm_mmc=WatsonDeveloperCloud-_-LandingSiteGetStarted-_-x-_-CreateAnAccountOnBluemixCLI |
0 commit comments