fixed defaults for RECORDING_LENGTH
removed unneeded quotation marks
This commit is contained in:
@@ -196,8 +196,8 @@ RECS_DIR=${HOME}/BirdSongs
|
||||
## LATITUDE=48.858
|
||||
## LONGITUDE=2.294
|
||||
|
||||
LATITUDE="${LATITUDE}"
|
||||
LONGITUDE="${LONGITUDE}"
|
||||
LATITUDE=${LATITUDE}
|
||||
LONGITUDE=${LONGITUDE}
|
||||
|
||||
################################################################################
|
||||
#------------------------------ Extraction Service ---------------------------#
|
||||
@@ -372,17 +372,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 ------------------------------#
|
||||
|
||||
@@ -200,17 +200,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 ------------------------------#
|
||||
@@ -220,7 +220,7 @@ SENSITIVITY="1.25"
|
||||
## CHANNELS holds the variabel that corresponds to the number of channels the
|
||||
## sound card supports.
|
||||
|
||||
CHANNELS=${CHANNELS}
|
||||
CHANNELS=
|
||||
|
||||
# Don't touch the variables below
|
||||
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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 ------------------------------#
|
||||
|
||||
Reference in New Issue
Block a user