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

  • ESC-50
  • TAU Urban Acoustic Scenes 2019
  • TUT Sound events 2017
  • URBAN-SED
  • UrbanSound8K
  • 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.0rc6.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

soundata-0.1.0rc6-py2.py3-none-any.whl (1.9 MB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: soundata-0.1.0rc6.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • 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.0rc6.tar.gz
Algorithm Hash digest
SHA256 5f0c4ce73abcf03274b7a03b3c9bc0aa212fe772f7e9bb1273247099d7aa90a4
MD5 9e9d6502e8eee659fe998b2b45fa6974
BLAKE2b-256 f6a5f4727091855d2ba1ad3270a52f809cc97926f15a3b723da633d35a2619d9

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: soundata-0.1.0rc6-py2.py3-none-any.whl
  • Upload date:
  • Size: 1.9 MB
  • 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.0rc6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b52f6da576d2779e0bb18b0bb78b9102cb29757cc778e689eef7b667154f49c9
MD5 4346d361d4da2322095e42f26992e35a
BLAKE2b-256 dca86df286339c144c984b73b12edf52dc346b0c37582443a5f441a49239c569

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