TetaTricks/code/say-uptime.sh

15 lines
276 B
Bash
Raw Normal View History

2021-02-04 09:58:41 +01:00
#!/bin/bash
GS=" -g 9 -s 150 -a 133 "
#
# Rendez-nous notre Mixou !
#
uptime -p |
sed 's/^up/My uptime is /' |
tee /dev/stderr |
espeak-ng $GS --stdout |
sox - -t wav -b 16 - remix 1 1 2> /dev/null |
oggenc --quiet - -o - |
~/bin/sender > /dev/null