diff options
Diffstat (limited to '.local/bin/picospeaker')
-rwxr-xr-x | .local/bin/picospeaker | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/.local/bin/picospeaker b/.local/bin/picospeaker deleted file mode 100755 index 55a1b7b..0000000 --- a/.local/bin/picospeaker +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -eu - -audio=/tmp/picospeaker-jfgOUcZdWu.wav -text=${1:-Nothing to read.} - -[ "${1-}" = "echo" ] && picospeaker "${2-}" "${1-}" && exit; - -pico2wave -w "$audio" "$text"; - -[ "${2-}" = "echo" ] \ - && ffmpeg -y -i "$audio" -map 0 -c:v copy -af aecho=1:1:50:0.5,atempo=0.85 "$audio.mp3" \ - && mplayer -really-quiet "$audio.mp3" && exit; - -mplayer -really-quiet "$audio"; |