setting recording interval to 9 seconds
extractions now works with date (defaults to current date since analysis is so quick)
This commit is contained in:
@@ -6,10 +6,10 @@ if pgrep arecord &> /dev/null ;then
|
||||
echo "Recording"
|
||||
else
|
||||
if [ -z ${REC_CARD} ];then
|
||||
arecord -f S16_LE -c${CHANNELS} -r48000 -t wav --max-file-time 10\
|
||||
arecord -f S16_LE -c${CHANNELS} -r48000 -t wav --max-file-time 9\
|
||||
--use-strftime ${RECS_DIR}/%B-%Y/%d-%A/%F-birdnet-%I:%M:%S%P.wav
|
||||
else
|
||||
arecord -f S16_LE -c${CHANNELS} -r48000 -t wav --max-file-time 10\
|
||||
arecord -f S16_LE -c${CHANNELS} -r48000 -t wav --max-file-time 9\
|
||||
-D "${REC_CARD}" --use-strftime \
|
||||
${RECS_DIR}/%B-%Y/%d-%A/%F-birdnet-%I:%M:%S%P.wav
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user