Skip to content

Scripts and modules to search for soundmarks in field audio recordings

License

Notifications You must be signed in to change notification settings

PEM-Humboldt/soundclim

Repository files navigation

Soundclim analysis workflow

This repository compiles scripts and modules to search for soundmarks in audio recordings using machine learning.

Prerequisites

  • Python version 3.6 or higher and the following packages: numpy, pandas, scipy, scikit-image, scikit-learn, scikit-maad. To install, run in your terminal console:
pip install numpy pandas scipy scikit-image scikit-learn scikit-maad

How to run

Data preparation

Check consistency of the full dataset: sample rate, number of channels, bits per sample

soxi -r *.wav | uniq  # sample rate
soxi -b *.wav | uniq  # number of bits per sample

If not homogeneous, they should be resampled:

cd <DIR>
mkdir samp
for i in *.wav; do sox $i `echo ./samp/$i` rate 22050 ;done

Workflow

Note: utility functions are stored in the module soundclim_utilities.py and classif_fcns.py

Compile train dataset 1_compile_dataset.py

  • Segment and characterise the regions of interest
  • Select ROIs to manually annotate and export comma separated file

Format training dataset for manual annotation

Tune statistical classifier and deploy

drawing

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Authors and contact

Juan Sebastián Ulloa

About

Scripts and modules to search for soundmarks in field audio recordings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published