Container version of Hive Eyes community repository ( https://github.com/hiveeyes/audiohealth)
237
docker run -d --name audiohealth -v ~/samples:/app/samples -e USERS=mqttusername -e PASSW=mqttpassword -e PORT=1883 -e ADDRESS=192.168.?.??? -e TOPIC=some/mqtt/topic--restart unless-stopped dockeraudiohealth:latest
Enter your MQTT credentials as environment variables with chosen mqtt topic
Runs a container which you can run a docker exec command
version: "3.9"
services:
audiohealth:
container_name: audiohealth
image: prometheus199/dockeraudiohealth:latest
restart: unless-stopped
volumes:
- ~/samples:/app/samples
environment:
- USERS=mqttusername
- PASSW=mqttpassword
- PORT=1883
- ADDRESS=192.168.?.???
- TOPIC=some/mqtt/topic
Refer to https://github.com/hiveeyes/audiohealth documentation for options
docker exec audiohealth python audiohealth.py analyze --audiofile ./samples/someaudio.wav --analyzer tools/osbh-audioanalyzer/bin/test
*note the .samples folder is within the docker container and should be mapped to your local volume containing the audio file ~/samples
Content type
Image
Digest
Size
595.4 MB
Last updated
over 4 years ago
docker pull prometheus199/dockeraudiohealth