mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-08 15:01:00 +02:00
Add 24BITS_ANALYSIS
This commit is contained in:
@@ -9,6 +9,12 @@ set -e
|
|||||||
echo " "
|
echo " "
|
||||||
bashio::log.info "Adding new features"
|
bashio::log.info "Adding new features"
|
||||||
|
|
||||||
|
# Add analysis in 24 bits
|
||||||
|
if bashio::config.true "24BITS_ANALYSIS"; then
|
||||||
|
echo "... using 24 bits instead of 64 bits for wav analysis. Use only if you feed a 24 bits stream. For info, the model is trained in 16bits"
|
||||||
|
sed -i "s|s16le|s24le|g" "$HOME"/BirdNET-Pi/scripts/birdnet_recording.sh
|
||||||
|
fi
|
||||||
|
|
||||||
# Add species conversion system
|
# Add species conversion system
|
||||||
###############################
|
###############################
|
||||||
if bashio::config.true "SPECIES_CONVERTER_ENABLED"; then
|
if bashio::config.true "SPECIES_CONVERTER_ENABLED"; then
|
||||||
|
|||||||
Reference in New Issue
Block a user