Makes this thing actually work!

In `sox`, the default syntax `trim` uses for `position` is `+`. This means it is necessary to specify the `=` symbol to get the proper syntax for the `trim` call.
This commit is contained in:
Patrick McGuire
2022-05-15 14:39:10 -04:00
committed by GitHub
parent f7956a0e68
commit 88030e71b6
+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 \