From babcfaf78ceb11a185fd0bbe1119fba7db6bee74 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 28 Nov 2022 06:50:23 +0100 Subject: Brotbacken.sh: Dehnen+Falten dabei --- Brotbacken.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Brotbacken.sh b/Brotbacken.sh index 480c88c..d7b6e7a 100755 --- a/Brotbacken.sh +++ b/Brotbacken.sh @@ -3,6 +3,7 @@ tmp_dir=$(mktemp -d) trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT +espeak-ng -vde -w "$tmp_dir/falten.wav" 'Bitte den Teig dehnen und falten!' espeak-ng -vde -w "$tmp_dir/Ofen_an.wav" 'Dreh bitte den Ofen bis zum Anschlag an!' espeak-ng -vde -w "$tmp_dir/Brot_rein.wav" 'Tue bitte das Brot rein!' espeak-ng -vde -w "$tmp_dir/Ofen_runter.wav" 'Dreh bitte den Ofen runter!' @@ -11,11 +12,15 @@ espeak-ng -vde -w "$tmp_dir/Brot_raus.wav" 'Nimm bitte das Brot raus!' skip=${1:-0} -if [ ${skip} -lt 1 ]; then +for ((i=skip; i<3; i++)); do + sleep 30m + play "$tmp_dir/falten.wav" +done +if [ ${skip} -lt 4 ]; then sleep 20m play "$tmp_dir/Ofen_an.wav" fi -if [ ${skip} -lt 2 ]; then +if [ ${skip} -lt 5 ]; then sleep 40m play "$tmp_dir/Brot_rein.wav" fi -- cgit v1.2.3-70-g09d2