Skip to main content

Python library for loading and working with sound datasets.

Project description

soundata

Common loaders for sound datasets. Find the API documentation here. Inspired by and based on mirdata. (https://github.com/soundata/soundata)

CircleCI codecov Documentation Status GitHub

This library provides tools for working with common sound datasets, including tools for:

  • Downloading datasets to a common location and format
  • Validating that the files for a dataset are all present
  • Loading annotation files to a common format
  • Parsing clip-level metadata for detailed evaluations

Installation

To install, simply run:

pip install soundata

Quick example

import soundata

urbansound8k = soundata.initialize('urbansound8k')
urbansound8k.download()  # download the dataset
urbansound8k.validate()  # validate that all the expected files are there

example_clip = urbansound8k.choice_clip()  # choose a random example clip
print(example_clip)  # see the available data

See the documentation for more examples and the API reference.

Currently supported datasets

  • UrbanSound8K
  • ESC-50
  • More added soon!

For the complete list of supported datasets, see the documentation

Citing

TODO

paper
bibtex

When working with datasets, please cite the version of soundata that you are using (given by the DOI above) AND include the reference of the dataset, which can be found in the respective dataset loader using the cite() method.

Contributing a new dataset loader

We welcome contributions to this library, especially new datasets. Please see contributing for guidelines.

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

soundata-0.1.0rc3.tar.gz (364.4 kB view details)

Uploaded Source

Built Distribution

soundata-0.1.0rc3-py2.py3-none-any.whl (379.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file soundata-0.1.0rc3.tar.gz.

File metadata

  • Download URL: soundata-0.1.0rc3.tar.gz
  • Upload date:
  • Size: 364.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/2.7.17

File hashes

Hashes for soundata-0.1.0rc3.tar.gz
Algorithm Hash digest
SHA256 a3372f329ba04c44f915a488f716e400210587c39b2f66b4e1d26c912ec9da6f
MD5 64fd104d22214f156cd7a1000fc589f0
BLAKE2b-256 676ec4145fcccc3435c92147d2a81937d39c601f50c3ff8df4c164c638c5f23f

See more details on using hashes here.

Provenance

File details

Details for the file soundata-0.1.0rc3-py2.py3-none-any.whl.

File metadata

  • Download URL: soundata-0.1.0rc3-py2.py3-none-any.whl
  • Upload date:
  • Size: 379.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/2.7.17

File hashes

Hashes for soundata-0.1.0rc3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2e70817838bfbf4dce558114715d230829116ebee7c262f5ac20c12eab9f97ee
MD5 fa43c5fcfa503f29b19c130540196a56
BLAKE2b-256 7a56d6ae4a8e86d5db0f2d3aa72c67db473ac094b2b3338b9909d56ce88c459f

See more details on using hashes here.

Provenance

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