0

My laptop went down a few days ago and I lost my short sound script. I thought someone here could help me rebuild it. It was something like this:

Better post: if sound prog were "pback" the command would be

pback file[s]

#!
FILE=$1;

cat FILE | [forgotten command]

#End

Can anybody help me with the command?

Zanna
  • 69,223
  • 56
  • 216
  • 327
Gary Kline
  • 367
  • 1
  • 11
  • I wrote an answer presenting `espeak-ng` here just to realize this is a duplicate, so I deleted my answer and posted it [there](https://askubuntu.com/a/1164515/507051) instead. – dessert Aug 09 '19 at 08:52

1 Answers1

1

I think you are looking for festival

--tts
Synthesize text in files as speech no files means read from stdin (implies no interaction by default)

echo "I'm sorry Dave, I can't do that." | festival --tts
dessert
  • 39,392
  • 12
  • 115
  • 163
SHawarden
  • 865
  • 4
  • 11
  • YES! I just got a new k'board; fun, fun. May the devil not know you're dead for a few hours [or years] after you've cashed in! – Gary Kline Aug 09 '19 at 00:36