Skip to content

nolanlawson/SimpleTalker

Repository files navigation

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.

About

Simple Android app to speak some text passed in as a parameter. Intended to be used from the command line.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages