Files
sumsel/simulate.sh
2021-01-30 13:25:32 +00:00

20 lines
305 B
Bash
Executable File

#!/bin/bash
. ./sumsel.conf
. ./sumsel_functions.incl
COUNTER=0
#SIM_EXAMPLE_FILE=./res/test.wav
#SIM_PREFIX=sums
#REC_DIR=./recordings
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