View Single Post
Ken-Young's Avatar
Posts: 387 | Thanked: 1,700 times | Joined on Feb 2010 @ Cambridge, MA, USA
#8
Originally Posted by maegon9y00 View Post
What I really want is to use terminal as I use it in n900.
my purpose is use the espeak in the way worked on n900.
You could set a simple reminder like

Code:
$ sleep 600; espeak "hey buddy, 10 minutes of nap is enough. Go back to work now"
This kind of use i am pointing in. But actually, espeak
Doesn't make a sound in termux
espeak won't directly produce audio under termux, for some reason. But you can produce a .wav file, and play it with play-audio:

Code:
$ sleep 600; espeak -w temp.wav "hey buddy, 10 minutes of nap is enough. Go back to work now";play-audio temp.wav;rm temp.wav
That works, at least on my Pixel XL.
 

The Following User Says Thank You to Ken-Young For This Useful Post: