Skip to main content

AudioLoader

AudioLoader is a PyTorch dataset based on torchaudio. It contains a collection of datasets that are not available in torchaudio yet.

Currently supported datasets:

  1. Speech
    1. Multilingual LibriSpeech (MLS)
    2. TIMIT
    3. SpeechCommands v2 (12 classes)
  2. Automatic Music Transcription (AMT)
    1. MAPS
    2. MusicNet
    3. MAESTRO
  3. Music Source Separation (MSS)
    1. FastMUSDB
    2. MusdbHQ

Example code

A complete example code is available in this repository. The following pseudo code shows the general idea of how to apply AudioLoader to your existing code.

from AudioLoader.speech import TIMIT
from torch.utils.data import DataLoader

# AudioLoader helps you to set up supported datasets
dataset = TIMIT('./YourFolder',
                split='train',
                groups='all',
                download=True)
train_loader = DataLoader(dataset,
                          batch_size=4)

# Pass the dataset to you 
model = MyModel()
trainer = pl.Trainer()
trainer.fit(model, train_loader)

Installation

pip install git+https://github.com/KinWaiCheuk/AudioLoader.git

News & Changelog

version 0.0.3 (10 Sep 2021):

  1. Replace broken links with a working links for MAPS and TIMIT
  2. Remove the slience indicators in the phonemic labels for TIMIT

Metadata

Release files for AudioLoader 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for AudioLoader 0.1.4
File Size Uploaded
AudioLoader-0.1.4.tar.gz 39.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for AudioLoader 0.1.4
File Interpreter ABI Platform
AudioLoader-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 88.8 kB

Release files / AudioLoader-0.1.4.tar.gz

Download URL AudioLoader-0.1.4.tar.gz
Size 39.9 kB
Tags Source
SHA-256 checksum
How to use checksums
156e7a51585ddc6c6eba639261d0e58fc7d460a7730a461beb932804b8f4db8b
BLAKE2b-256 checksum
How to use checksums
785026f3c21d9916006fd649cda7a6c46ce24eaa4d117f3839c00e5785df38df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.17

Release files / AudioLoader-0.1.4-py3-none-any.whl

Download URL AudioLoader-0.1.4-py3-none-any.whl
Size 48.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e853ab04a1f48d94da948ee4bdee8e56671adf8523b597980b1d63091344e1b
BLAKE2b-256 checksum
How to use checksums
801f0d642a538075173d58273bc5168365002e5c12f65454e18b4d76ffb94907
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.17
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page