fixed defaults for RECORDING_LENGTH

removed unneeded quotation marks
This commit is contained in:
Patrick McGuire
2021-10-02 09:51:26 -04:00
parent 9ff77526a4
commit 41d4644606
6 changed files with 17 additions and 17 deletions
+5 -5
View File
@@ -196,8 +196,8 @@ RECS_DIR=${HOME}/BirdSongs
## LATITUDE=48.858 ## LATITUDE=48.858
## LONGITUDE=2.294 ## LONGITUDE=2.294
LATITUDE="${LATITUDE}" LATITUDE=${LATITUDE}
LONGITUDE="${LONGITUDE}" LONGITUDE=${LONGITUDE}
################################################################################ ################################################################################
#------------------------------ Extraction Service ---------------------------# #------------------------------ Extraction Service ---------------------------#
@@ -372,17 +372,17 @@ IDFILE=${HOME}/BirdNET-Lite/IdentifiedSoFar.txt
## OVERLAP is the value in seconds which BirdNET should use when analyzing ## OVERLAP is the value in seconds which BirdNET should use when analyzing
## the data. The values must be between 0.0-2.9. ## the data. The values must be between 0.0-2.9.
OVERLAP="0.0" OVERLAP=0.0
## CONFIDENCE is the minimum confidence level from 0.0-1.0 BirdNET's analysis ## CONFIDENCE is the minimum confidence level from 0.0-1.0 BirdNET's analysis
## should reach before creating an entry in the BirdNET.selection.txt file. ## should reach before creating an entry in the BirdNET.selection.txt file.
## Don't set this to 1.0 or you won't have any results. ## Don't set this to 1.0 or you won't have any results.
CONFIDENCE="0.7" CONFIDENCE=0.7
## SENSITIVITY is the detection sensitivity from 0.5-1.5. ## SENSITIVITY is the detection sensitivity from 0.5-1.5.
SENSITIVITY="1.25" SENSITIVITY=1.25
################################################################################ ################################################################################
#------------------------------ Auto-Generated ------------------------------# #------------------------------ Auto-Generated ------------------------------#
+4 -4
View File
@@ -200,17 +200,17 @@ IDFILE=${HOME}/BirdNET-Lite/IdentifiedSoFar.txt
## OVERLAP is the value in seconds which BirdNET should use when analyzing ## OVERLAP is the value in seconds which BirdNET should use when analyzing
## the data. The values must be between 0.0-2.9. ## the data. The values must be between 0.0-2.9.
OVERLAP="0.0" OVERLAP=0.0
## CONFIDENCE is the minimum confidence level from 0.0-1.0 BirdNET's analysis ## CONFIDENCE is the minimum confidence level from 0.0-1.0 BirdNET's analysis
## should reach before creating an entry in the BirdNET.selection.txt file. ## should reach before creating an entry in the BirdNET.selection.txt file.
## Don't set this to 1.0 or you won't have any results. ## Don't set this to 1.0 or you won't have any results.
CONFIDENCE="0.7" CONFIDENCE=0.7
## SENSITIVITY is the detection sensitivity from 0.5-1.5. ## SENSITIVITY is the detection sensitivity from 0.5-1.5.
SENSITIVITY="1.25" SENSITIVITY=1.25
################################################################################ ################################################################################
#------------------------------ Auto-Generated ------------------------------# #------------------------------ Auto-Generated ------------------------------#
@@ -220,7 +220,7 @@ SENSITIVITY="1.25"
## CHANNELS holds the variabel that corresponds to the number of channels the ## CHANNELS holds the variabel that corresponds to the number of channels the
## sound card supports. ## sound card supports.
CHANNELS=${CHANNELS} CHANNELS=
# Don't touch the variables below # Don't touch the variables below
+1 -1
View File
@@ -10,7 +10,7 @@ CUSTOM_LIST="/home/pi/BirdNET-Lite/custom_species_list.txt"
get_files() { get_files() {
echo "get_files() for ${1:19}" echo "get_files() for ${1:19}"
files=($( find ${1} -maxdepth 1 -name '*wav' \ files=($( find ${1} -maxdepth 1 -name '*wav' \
| sort -r \ | sort \
| awk -F "/" '{print $NF}' )) | awk -F "/" '{print $NF}' ))
[ -n "${files[1]}" ] && echo "Files loaded" [ -n "${files[1]}" ] && echo "Files loaded"
} }
+1 -1
View File
@@ -8,7 +8,7 @@ else
STAMP="%H:%M:%S" STAMP="%H:%M:%S"
fi fi
[ -z RECORDING_LENGTH ] || RECORDING_LENGTH=12 [ -z $RECORDING_LENGTH ] && RECORDING_LENGTH=12
if pgrep arecord &> /dev/null ;then if pgrep arecord &> /dev/null ;then
echo "Recording" echo "Recording"
+1 -1
View File
@@ -130,7 +130,7 @@ for h in "${SCAN_DIRS[@]}";do
### TESTING longer extraction context ### TESTING longer extraction context
set -x set -x
[ -z ${EXTRACTION_LENGTH} ] || EXTRACTION_LENGTH=6 [ -z ${EXTRACTION_LENGTH} ] && EXTRACTION_LENGTH=6
SPACER=$(echo "(${EXTRACTION_LENGTH} - 3 )/2" |bc -l) SPACER=$(echo "(${EXTRACTION_LENGTH} - 3 )/2" |bc -l)
START=$(echo "${START} - ${SPACER}"|bc -l) START=$(echo "${START} - ${SPACER}"|bc -l)
END=$(echo "${END} + ${SPACER}"|bc -l) END=$(echo "${END} + ${SPACER}"|bc -l)
+5 -5
View File
@@ -217,8 +217,8 @@ RECS_DIR=${RECS_DIR}
## LATITUDE=48.858 ## LATITUDE=48.858
## LONGITUDE=2.294 ## LONGITUDE=2.294
LATITUDE="${LATITUDE}" LATITUDE=${LATITUDE}
LONGITUDE="${LONGITUDE}" LONGITUDE=${LONGITUDE}
################################################################################ ################################################################################
#------------------------------ Extraction Service ---------------------------# #------------------------------ Extraction Service ---------------------------#
@@ -393,17 +393,17 @@ IDFILE=${HOME}/BirdNET-Lite/IdentifiedSoFar.txt
## OVERLAP is the value in seconds which BirdNET should use when analyzing ## OVERLAP is the value in seconds which BirdNET should use when analyzing
## the data. The values must be between 0.0-2.9. ## the data. The values must be between 0.0-2.9.
OVERLAP="0.0" OVERLAP=0.0
## CONFIDENCE is the minimum confidence level from 0.0-1.0 BirdNET's analysis ## CONFIDENCE is the minimum confidence level from 0.0-1.0 BirdNET's analysis
## should reach before creating an entry in the BirdNET.selection.txt file. ## should reach before creating an entry in the BirdNET.selection.txt file.
## Don't set this to 1.0 or you won't have any results. ## Don't set this to 1.0 or you won't have any results.
CONFIDENCE="0.7" CONFIDENCE=0.7
## SENSITIVITY is the detection sensitivity from 0.5-1.5. ## SENSITIVITY is the detection sensitivity from 0.5-1.5.
SENSITIVITY="1.25" SENSITIVITY=1.25
################################################################################ ################################################################################
#------------------------------ Auto-Generated ------------------------------# #------------------------------ Auto-Generated ------------------------------#