Skip to main content

Open source, scalable acoustic classification for ecology and conservation

Project description

https://www.singularity-hub.org/static/img/hosted-singularity--hub-%23e32929.svg

OpenSoundscape

Quick start guide

Note: installation instructions are for MacOS systems only.

  • Install Anaconda for Python 3 and HomeBrew.

  • Use HomeBrew to install a few other packages: brew install libsamplerate mongodb git wget

  • Set up the Python environment:

      conda install -c conda-forge python=3.6 pip=18.0 pandas=0.23.4 numpy=1.15.1 matplotlib=2.1.2 docopt=0.6.2 scipy=1.0.0 scikit-image=0.13.1 pymongo=3.4.0 opencv=3.4.3 scikit-learn=0.20.0 #for dev: pytest==3.6.1 black==18.9b0
    

    pip install librosa==0.6.2 #for dev: pre-commit==1.12.0

  • Download data files, the CLO-43SD-AUDIO dataset:

      cd ~/Downloads
      wget "https://datadryad.org/bitstream/handle/10255/dryad.111783/CLO-43SD-AUDIO.tar.gz"
      tar -xzf CLO-43SD-AUDIO.tar.gz
      rm CLO-43SD-AUDIO.tar.gz
    
  • Download our training & prediction split of a subset of the CLO-43SD dataset:

      cd ~/Downloads/CLO-43SD-AUDIO/
      wget https://raw.github.com/rhine3/opso-support/master/clo-43sd-train-small.csv
      wget https://raw.github.com/rhine3/opso-support/master/clo-43sd-predict-small.csv
    
  • Download OpenSoundscape:

      mkdir ~/Code && cd ~/Code
      git clone https://github.com/jkitzes/opensoundscape
    
  • Download our config file, opso-test-small.ini

      cd ~/Code/opensoundscape/
      wget https://raw.github.com/rhine3/opso-support/master/opso-test-small.ini
    
  • Edit the .ini to reflect the absolute path of your Downloads folder, e.g. with vim: vim opso-test-small.ini

  • Start the MongoDB daemon in another terminal: mongod --config /usr/local/etc/mongod.conf

  • Run OpenSoundscape:

      ./opensoundscape.py init -i opso-test-small.ini
      ./opensoundscape.py spect_gen -i opso-test-small.ini > spect-gen-output-small.txt
      ./opensoundscape.py model_fit -i opso-test-small.ini > model-fit-output-small.txt
      ./opensoundscape.py predict -i opso-test-small.ini > predict-output-small.txt
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opensoundscape-0.2.2.dev0.tar.gz (26.4 kB view details)

Uploaded Source

Built Distribution

opensoundscape-0.2.2.dev0-py3-none-any.whl (104.6 kB view details)

Uploaded Python 3

File details

Details for the file opensoundscape-0.2.2.dev0.tar.gz.

File metadata

  • Download URL: opensoundscape-0.2.2.dev0.tar.gz
  • Upload date:
  • Size: 26.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.11 CPython/3.7.2 Linux/4.20.6-arch1-1-ARCH

File hashes

Hashes for opensoundscape-0.2.2.dev0.tar.gz
Algorithm Hash digest
SHA256 f1fbef878fbd1f3b2ab7fb055d6aa3a23475f189a689b47e5dabdf9cabea22f3
MD5 c9ad4b6fa3944081db3bf4b9f392b8b8
BLAKE2b-256 621e34af2c2f650cc003ee1a6829cb4719413c63627ab2681c817533ab249cdc

See more details on using hashes here.

File details

Details for the file opensoundscape-0.2.2.dev0-py3-none-any.whl.

File metadata

  • Download URL: opensoundscape-0.2.2.dev0-py3-none-any.whl
  • Upload date:
  • Size: 104.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.11 CPython/3.7.2 Linux/4.20.6-arch1-1-ARCH

File hashes

Hashes for opensoundscape-0.2.2.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ecad54562fc5679745e72e552caade8fd9d6b6c1c960e55eac769faff8e24f0
MD5 6e9d151720bb53ad6707e0e88c2a859c
BLAKE2b-256 0a51a6dc4b315f59c6b9e352daeca0a324f5f08bb1284002c85b21ba98e89ecf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page