Skip to content

janclemenslab/das

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2d8e737 · Feb 22, 2025
Nov 6, 2024
Nov 19, 2024
Feb 22, 2025
Feb 22, 2025
Feb 22, 2025
Oct 31, 2024
Dec 28, 2022
Nov 27, 2024
Feb 22, 2025
Nov 1, 2024
Nov 2, 2024
Dec 23, 2022
Oct 10, 2023

Repository files navigation

Deep Audio Segmenter

DAS is a method for automatically annotating song from raw audio recordings based on a deep neural network. DAS can be used with a graphical user interface, from the terminal, or from within python scripts.

If you have questions, feedback, or find bugs please raise an issue.

Please cite DAS as:

Elsa Steinfath, Adrian Palacios, Julian Rottschäfer, Deniz Yuezak, Jan Clemens (2021). Fast and accurate annotation of acoustic signals with deep neural networks. eLife

Installation

Pre-requisites

Anaconda: DAS is installed using an anaconda environment. For that, first install the anaconda python distribution (or miniconda). If you have conda already installed, make sure you have at least conda v23.10.0. If not, update from an older version with conda update conda -n base.

Libsoundfile on linux: The graphical user interface (GUI) reads audio data using soundfile, which relies on libsndfile. libsndfile will be automatically installed on Windows and macOS. On Linux, the library needs to be installed manually with: sudo apt-get install libsndfile1. Note that DAS will work w/o libsndfile but will not be able to load exotic audio formats.

Install DAS

Create an anaconda environment called das that contains all the required packages.

On windows:

conda create python=3.10 das=0.32.5 -c conda-forge -c ncb -c nvidia -n das -y

On Linux or MacOS (arm only):

conda create python=3.11 das=0.32.5 -c conda-forge -c ncb -c nvidia -c apple -n das -y

Usage

To start the graphical user interface:

conda activate das
das gui

The documentation at https://janclemenslab.org/das/ provides information on the usage of DAS:

Acknowledgements

The following packages were modified and integrated into das:

  • Keras implementation of TCN models modified from keras-tcn (in das.tcn)
  • Trainable STFT layer implementation modified from kapre (in das.kapre)

See the sub-module directories for the original READMEs.