Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kgn/hark
An example Text to Speech App
https://github.com/kgn/hark
Last synced: 9 days ago
JSON representation
An example Text to Speech App
- Host: GitHub
- URL: https://github.com/kgn/hark
- Owner: kgn
- Created: 2013-09-26T15:30:06.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-12-26T16:34:27.000Z (almost 8 years ago)
- Last Synced: 2024-10-31T14:50:41.101Z (16 days ago)
- Language: Swift
- Size: 21.3 MB
- Stars: 186
- Watchers: 12
- Forks: 20
- Open Issues: 8
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Hark is a text to speech app I built in 3 hours based on the new [`AVSpeechSynthesizer`](https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVSpeechSynthesizer_Ref/Reference/Reference.html) SDK in iOS 7.
I first learned about this SDK from [Mattt Thompson](https://twitter.com/mattt)'s great [NSHipster blog post about iOS 7](https://nshipster.com/ios7).
![](https://raw.github.com/kgn/Hark/master/screen.png)
Check out [this video](https://vimeo.com/75465205) showing how the app works and why I built it.
This app will be available on the App Store for free and I'm releasing the source as an example for other developers to encourage you to put text to speech in your apps!
Here are some features you might want to borrow for your apps:
- `UIMenuItem` to read the currently selected text
- Language voice detection
- Read the entire document or the selected text
- Detect new text in the clipboard
- Starting and stopping the reading. For simplicity I didn't add pausing but you might want to.#Todo
- Improved app communication, probably via url schemes
- Buttons to dismiss the keyboard and clear the text view, probably above the keyboard
- Settings for reading speed and voice selection# Credits
Be sure to [follow me](https://twitter.com/iamkgn) on twitter!
Thanks to [Eric Wolfe](https://github.com/ericrwolfe) for his awesome language voice detection pull request!
Special thanks to [Mattt Thompson](https://twitter.com/mattt) for bringing `AVSpeechSynthesizer` to my attention, [Drew Wilson](https://twitter.com/drewwilson) for the [Execute](http://executebook.com) book and mentality, and [Sam Soffes](https://twitter.com/soffes) for convincing me to open source this project!