add record.sh
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
. ./sumsel.conf
|
||||
|
||||
. ./sumsel_functions.incl
|
||||
|
||||
COUNTER=0
|
||||
#SIM_EXAMPLE_FILE=./res/test.wav
|
||||
#SIM_PREFIX=sums
|
||||
@@ -13,6 +14,6 @@ while :
|
||||
do
|
||||
sleep 1
|
||||
COUNTER=$[$COUNTER +1]
|
||||
dst_fn="${REC_DIR}/${SIM_PREFIX}_${COUNTER}.wav"
|
||||
dst_fn="${REC_DIR}/${REC_PREFIX}-${COUNTER}.wav"
|
||||
cp ${SIM_EXAMPLE_FILE} ${dst_fn}
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user