initial commit
This commit is contained in:
18
simulate.sh
Executable file
18
simulate.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
. ./sumsel.conf
|
||||
|
||||
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}/${SIM_PREFIX}_${COUNTER}.wav"
|
||||
cp ${SIM_EXAMPLE_FILE} ${dst_fn}
|
||||
done
|
||||
Reference in New Issue
Block a user