Datasets:
docs: correct dataset card and viewer config
Browse files
README.md
CHANGED
|
@@ -9,28 +9,12 @@ tags:
|
|
| 9 |
- noise
|
| 10 |
pretty_name: RIRS NOISES
|
| 11 |
size_categories:
|
| 12 |
-
-
|
| 13 |
configs:
|
| 14 |
- config_name: default
|
| 15 |
data_files:
|
| 16 |
- split: train
|
| 17 |
-
path:
|
| 18 |
-
dataset_info:
|
| 19 |
-
features:
|
| 20 |
-
- name: audio
|
| 21 |
-
dtype: audio
|
| 22 |
-
- name: filename
|
| 23 |
-
dtype: string
|
| 24 |
-
- name: category
|
| 25 |
-
dtype: string
|
| 26 |
-
- name: relative_path
|
| 27 |
-
dtype: string
|
| 28 |
-
splits:
|
| 29 |
-
- name: train
|
| 30 |
-
num_bytes: 84740338437
|
| 31 |
-
num_examples: 61260
|
| 32 |
-
download_size: 1777922276
|
| 33 |
-
dataset_size: 84740338437
|
| 34 |
---
|
| 35 |
|
| 36 |
# RIRS NOISES
|
|
@@ -41,17 +25,17 @@ dataset_info:
|
|
| 41 |
from datasets import load_dataset
|
| 42 |
|
| 43 |
# Stream to avoid downloading the entire dataset
|
| 44 |
-
ds = load_dataset("
|
| 45 |
|
| 46 |
# Or download locally
|
| 47 |
-
ds = load_dataset("
|
| 48 |
```
|
| 49 |
|
| 50 |
## Dataset Description
|
| 51 |
|
| 52 |
-
**RIRS NOISES** is
|
| 53 |
|
| 54 |
-
This
|
| 55 |
|
| 56 |
## Dataset Structure
|
| 57 |
|
|
@@ -60,13 +44,23 @@ This dataset is designed for audio data augmentation — convolving clean audio
|
|
| 60 |
| Field | Type | Description |
|
| 61 |
|-------|------|-------------|
|
| 62 |
| `audio` | `Audio` | WAV file at 16 kHz, 16-bit |
|
| 63 |
-
| `
|
| 64 |
-
| `type` | `string` | Category: `rir_simulated`, `rir_real`, `noise_isotropic`, or `noise_pointsource` |
|
| 65 |
|
| 66 |
### Data Splits
|
| 67 |
|
| 68 |
This dataset has no predefined splits. All files are in the default `train` split.
|
| 69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
## Usage Examples
|
| 71 |
|
| 72 |
### Load RIRs for augmentation
|
|
@@ -74,10 +68,12 @@ This dataset has no predefined splits. All files are in the default `train` spli
|
|
| 74 |
```python
|
| 75 |
from datasets import load_dataset
|
| 76 |
|
| 77 |
-
ds = load_dataset("
|
| 78 |
|
| 79 |
# Filter for real RIRs only
|
| 80 |
-
rirs = ds["train"].filter(
|
|
|
|
|
|
|
| 81 |
print(f"Real RIRs: {len(rirs)}")
|
| 82 |
```
|
| 83 |
|
|
@@ -88,7 +84,7 @@ import numpy as np
|
|
| 88 |
from scipy.signal import fftconvolve
|
| 89 |
from datasets import load_dataset
|
| 90 |
|
| 91 |
-
ds = load_dataset("
|
| 92 |
rir = ds["train"][0]["audio"]["array"]
|
| 93 |
|
| 94 |
# Normalize the RIR
|
|
@@ -104,11 +100,8 @@ rir = rir / np.max(np.abs(rir))
|
|
| 104 |
|
| 105 |
The dataset was compiled from multiple publicly available acoustic databases:
|
| 106 |
|
| 107 |
-
- **
|
| 108 |
-
- **
|
| 109 |
-
- **Aachen Impulse Response (AIR) Database:** Binaural and mono RIRs from diverse real environments.
|
| 110 |
-
- **MUSAN:** Music, speech, and noise recordings used for audio augmentation.
|
| 111 |
-
- **Simulated RIRs:** Generated using image-source methods for controlled room geometries.
|
| 112 |
|
| 113 |
### Annotations
|
| 114 |
|
|
@@ -118,13 +111,13 @@ No manual annotations are included. File organization and naming encode the sour
|
|
| 118 |
|
| 119 |
- **Speech-centric design:** The RIRs and noise profiles were originally curated for speech processing. Drum and music applications may require additional filtering or selection.
|
| 120 |
- **16 kHz only:** The fixed 16 kHz sample rate may be limiting for music applications that require higher fidelity.
|
| 121 |
-
- **
|
| 122 |
|
| 123 |
## Related Datasets
|
| 124 |
|
| 125 |
-
This dataset is part of the [Drum Audio Datasets](https://huggingface.co/collections/
|
| 126 |
|
| 127 |
-
- [
|
| 128 |
|
| 129 |
## Citation
|
| 130 |
|
|
|
|
| 9 |
- noise
|
| 10 |
pretty_name: RIRS NOISES
|
| 11 |
size_categories:
|
| 12 |
+
- 1K<n<10K
|
| 13 |
configs:
|
| 14 |
- config_name: default
|
| 15 |
data_files:
|
| 16 |
- split: train
|
| 17 |
+
path: "**/*.wav"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
# RIRS NOISES
|
|
|
|
| 25 |
from datasets import load_dataset
|
| 26 |
|
| 27 |
# Stream to avoid downloading the entire dataset
|
| 28 |
+
ds = load_dataset("schism-audio/rirs-noises", streaming=True)
|
| 29 |
|
| 30 |
# Or download locally
|
| 31 |
+
ds = load_dataset("schism-audio/rirs-noises")
|
| 32 |
```
|
| 33 |
|
| 34 |
## Dataset Description
|
| 35 |
|
| 36 |
+
**RIRS NOISES** is the real/isotropic RIR and point-source noise subset from [OpenSLR SLR28](https://openslr.org/28/). This Hugging Face repo contains 1,260 WAV files: 417 files under `real_rirs_isotropic_noises/` and 843 files under `pointsource_noises/`. All audio is 16 kHz WAV.
|
| 37 |
|
| 38 |
+
This subset is useful for audio data augmentation: convolving clean audio with real RIRs to simulate reverberant environments and adding noise at controlled SNRs. For the full 61,260-file OpenSLR SLR28 mirror, including simulated RIRs, see [`schism-audio/openslr-rirs`](https://huggingface.co/datasets/schism-audio/openslr-rirs).
|
| 39 |
|
| 40 |
## Dataset Structure
|
| 41 |
|
|
|
|
| 44 |
| Field | Type | Description |
|
| 45 |
|-------|------|-------------|
|
| 46 |
| `audio` | `Audio` | WAV file at 16 kHz, 16-bit |
|
| 47 |
+
| `label` | `ClassLabel` | Top-level source directory: `pointsource_noises` or `real_rirs_isotropic_noises` |
|
|
|
|
| 48 |
|
| 49 |
### Data Splits
|
| 50 |
|
| 51 |
This dataset has no predefined splits. All files are in the default `train` split.
|
| 52 |
|
| 53 |
+
| Split | Files |
|
| 54 |
+
|-------|------:|
|
| 55 |
+
| `train` | 1,260 |
|
| 56 |
+
|
| 57 |
+
File counts by directory:
|
| 58 |
+
|
| 59 |
+
| Directory | Files |
|
| 60 |
+
|-----------|------:|
|
| 61 |
+
| `pointsource_noises/` | 843 |
|
| 62 |
+
| `real_rirs_isotropic_noises/` | 417 |
|
| 63 |
+
|
| 64 |
## Usage Examples
|
| 65 |
|
| 66 |
### Load RIRs for augmentation
|
|
|
|
| 68 |
```python
|
| 69 |
from datasets import load_dataset
|
| 70 |
|
| 71 |
+
ds = load_dataset("schism-audio/rirs-noises")
|
| 72 |
|
| 73 |
# Filter for real RIRs only
|
| 74 |
+
rirs = ds["train"].filter(
|
| 75 |
+
lambda x: ds["train"].features["label"].int2str(x["label"]) == "real_rirs_isotropic_noises"
|
| 76 |
+
)
|
| 77 |
print(f"Real RIRs: {len(rirs)}")
|
| 78 |
```
|
| 79 |
|
|
|
|
| 84 |
from scipy.signal import fftconvolve
|
| 85 |
from datasets import load_dataset
|
| 86 |
|
| 87 |
+
ds = load_dataset("schism-audio/rirs-noises")
|
| 88 |
rir = ds["train"][0]["audio"]["array"]
|
| 89 |
|
| 90 |
# Normalize the RIR
|
|
|
|
| 100 |
|
| 101 |
The dataset was compiled from multiple publicly available acoustic databases:
|
| 102 |
|
| 103 |
+
- **Real/isotropic RIR and noise files:** 417 WAV files under `real_rirs_isotropic_noises/`.
|
| 104 |
+
- **Point-source noises:** 843 WAV files under `pointsource_noises/`.
|
|
|
|
|
|
|
|
|
|
| 105 |
|
| 106 |
### Annotations
|
| 107 |
|
|
|
|
| 111 |
|
| 112 |
- **Speech-centric design:** The RIRs and noise profiles were originally curated for speech processing. Drum and music applications may require additional filtering or selection.
|
| 113 |
- **16 kHz only:** The fixed 16 kHz sample rate may be limiting for music applications that require higher fidelity.
|
| 114 |
+
- **Subset only:** This repo does not include the 60,000 simulated RIR files from OpenSLR SLR28. Use [`schism-audio/openslr-rirs`](https://huggingface.co/datasets/schism-audio/openslr-rirs) for the complete mirror.
|
| 115 |
|
| 116 |
## Related Datasets
|
| 117 |
|
| 118 |
+
This dataset is part of the [Drum Audio Datasets](https://huggingface.co/collections/schism-audio/drum-audio-datasets) collection by [schism-audio](https://huggingface.co/schism-audio). Related datasets:
|
| 119 |
|
| 120 |
+
- [schism-audio/dechorate](https://huggingface.co/datasets/schism-audio/dechorate) — Calibrated multichannel RIRs with echo annotations and 3D positions
|
| 121 |
|
| 122 |
## Citation
|
| 123 |
|