Sign inSign up

prometheus199/dockeraudiohealth

By prometheus199

•Updated over 4 years ago

Container version of Hive Eyes community repository ( https://github.com/hiveeyes/audiohealth)

Image
0

237

prometheus199/dockeraudiohealth repository overview

  1. Run Docker container
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

  1. docker-compose entry

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
  1. To process wav file

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

Tag summary

Content type

Image

Digest

Size

595.4 MB

Last updated

over 4 years ago

docker pull prometheus199/dockeraudiohealth