kreczko / sound-monitor

For recording, clustering and publishing sound data for monitoring purposes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sound-monitor

Actions Status Documentation Status Code style: black

PyPI version PyPI platforms

Package for recording, clustering and publishing sound data.

Features:

  • records sound data from a microphone to a wave file (WAV) + metadata (timing, location) (soundmon record)
  • processes it to cluster similar sounds (soundmon cluster)
  • publishes the data to a specified remote storage provider (soundmon publish)

The purpose is to study re-occuring sound events in machine rooms.

Dependencies

This package uses pyaudio thus requires portaudio19-dev (or newer) to be installed.

Raspberry Pi setup

    sudo apt-get install portaudio19-dev
    wget -qO- https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
    sudo mv bin/micromamba /usr/local/bin/micromamba

Create python ENV

micromamba activate
micromamba install python=3.10 -c conda-forge
pip install sound-monitor

Setup services

TBD

About

For recording, clustering and publishing sound data for monitoring purposes

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%