Merge pull request #284 from mcguirepr89/extract_new_birdsounds_sox_trim_patch

Makes this thing actually work!
This commit is contained in:
Patrick McGuire
2022-05-15 15:32:33 -04:00
committed by GitHub
+1 -1
View File
@@ -117,7 +117,7 @@ for h in "${SCAN_DIRS[@]}";do
fi
sox "${h}/${OLDFILE}" "${NEWSPECIES_BYDATE}/${NEWFILE}" \
trim "${START}" "${END}"
trim ="${START}" ="${END}"
# Create spectrogram for extraction
sox "${NEWSPECIES_BYDATE}/${NEWFILE}" -n remix 1 rate 24k spectrogram \