From 13a3edd10df7a3294397a1012e61e689cad36956 Mon Sep 17 00:00:00 2001 From: ange Date: Wed, 21 Mar 2018 17:45:16 +0100 Subject: [PATCH] Modified ttssr and removed tts recipe --- Makefile | 6 ------ src/ttssr-loop-human-only.sh | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 763be96..e8c33f6 100644 --- a/Makefile +++ b/Makefile @@ -81,11 +81,5 @@ else endif -tts: output/chatbot.txt ocr/output.txt ## text to speech. Dependencies: espeak - @echo $(color_r) speaking $? - @echo $(color_w) - cat $? | espeak - - ttssr-human-only: ocr/output.txt ## Loop: text to speech-speech recognition. Dependencies: espeak, pocketsphinx bash src/ttssr-loop-human-only.sh ocr/output.txt \ No newline at end of file diff --git a/src/ttssr-loop-human-only.sh b/src/ttssr-loop-human-only.sh index 5ff596a..2b31570 100644 --- a/src/ttssr-loop-human-only.sh +++ b/src/ttssr-loop-human-only.sh @@ -12,7 +12,7 @@ while [[ $i -le 10 ]] sleep (( i++ )) done -today=$(date +%Y-%m-%d); +today=$(date +%Y%m%d.%H-%M); mkdir -p "output/ttssr.$today" mv -v output/input* output/ttssr.$today; mv -v src/sound* output/ttssr.$today;