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
+1 -1
View File
@@ -10,7 +10,7 @@ CUSTOM_LIST="/home/pi/BirdNET-Lite/custom_species_list.txt"
get_files() {
echo "get_files() for ${1:19}"
files=($( find ${1} -maxdepth 1 -name '*wav' \
| sort -r \
| sort \
| awk -F "/" '{print $NF}' ))
[ -n "${files[1]}" ] && echo "Files loaded"
}
+1 -1
View File
@@ -8,7 +8,7 @@ else
STAMP="%H:%M:%S"
fi
[ -z RECORDING_LENGTH ] || RECORDING_LENGTH=12
[ -z $RECORDING_LENGTH ] && RECORDING_LENGTH=12
if pgrep arecord &> /dev/null ;then
echo "Recording"
+1 -1
View File
@@ -130,7 +130,7 @@ for h in "${SCAN_DIRS[@]}";do
### TESTING longer extraction context
set -x
[ -z ${EXTRACTION_LENGTH} ] || EXTRACTION_LENGTH=6
[ -z ${EXTRACTION_LENGTH} ] && EXTRACTION_LENGTH=6
SPACER=$(echo "(${EXTRACTION_LENGTH} - 3 )/2" |bc -l)
START=$(echo "${START} - ${SPACER}"|bc -l)
END=$(echo "${END} + ${SPACER}"|bc -l)
+5 -5
View File
@@ -217,8 +217,8 @@ RECS_DIR=${RECS_DIR}
## LATITUDE=48.858
## LONGITUDE=2.294
LATITUDE="${LATITUDE}"
LONGITUDE="${LONGITUDE}"
LATITUDE=${LATITUDE}
LONGITUDE=${LONGITUDE}
################################################################################
#------------------------------ Extraction Service ---------------------------#
@@ -393,17 +393,17 @@ IDFILE=${HOME}/BirdNET-Lite/IdentifiedSoFar.txt
## OVERLAP is the value in seconds which BirdNET should use when analyzing
## 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
## 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.
CONFIDENCE="0.7"
CONFIDENCE=0.7
## SENSITIVITY is the detection sensitivity from 0.5-1.5.
SENSITIVITY="1.25"
SENSITIVITY=1.25
################################################################################
#------------------------------ Auto-Generated ------------------------------#