Simple Android app to speak some text passed in as a parameter. Intended to be used from the command line.
Clone or download
Latest commit 96979af Feb 1, 2013
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
libs initial commit Jul 24, 2012
res initial commit Jul 24, 2012
src/com/nolanlawson/android/simpletalker add ability to specify a song as well Jul 27, 2012
.classpath initial commit Jul 24, 2012
.gitignore initial commit Jul 24, 2012
.project initial commit Jul 24, 2012
AndroidManifest.xml initial commit Jul 24, 2012
README.md Update README.md Feb 1, 2013
proguard-project.txt initial commit Jul 24, 2012
project.properties initial commit Jul 24, 2012

README.md

SimpleTalker

Speak some text aloud using the Android TTS (text-to-speech) engine. Designed to be used from the command line, since the text is immediately spoken when the main activity starts up, and then the app closes afterwards.

Optionally, may also play a song from the phone storage after speaking the text.

Author

Nolan Lawson

License

WTFPL, although attribution would be nice.

Download

Direct APK download link

Usage

This app is intended to be used from the command line. For instance, we use it at my office to notify us when someone breaks the Jenkins build, and then speak aloud the person who broke the build and the broken module. (Video demonstration.)

Can be used via adb (from the Android SDK) like so:

adb shell am start -n com.nolanlawson.android.simpletalker/.MainActivity \
    -e text "This is my text" \
    -e song "/sdcard/someSong.mp3" \
    -e songDuration 60

Arguments:

  • text - The text to speak, in English.
  • song (optional) - Full file path of a song on the Android device to play.
  • songDuration (optional) - Number of seconds after which to stop playing the song. Defaults to 10.