Files
sumsel/simulate.sh
2021-01-30 14:02:07 +00:00

16 lines
232 B
Bash
Executable File

#!/bin/bash
. ./sumsel.conf
. ./sumsel_functions.incl
COUNTER=0
echo "Press [CTRL+C] to stop.."
while :
do
sleep 1
COUNTER=$[$COUNTER +1]
dst_fn="${REC_DIR}/${REC_PREFIX}-${COUNTER}.wav"
cp ${SIM_EXAMPLE_FILE} ${dst_fn}
done