Add files using upload-large-folder tool
Browse files- README.md +23 -52
- figures/data.png +3 -0
- figures/event.png +3 -0
- figures/model.png +3 -0
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
# SO-Dataset: Spatial FOA Audio
|
| 2 |
|
| 3 |
-
SO-Dataset is a large-scale spatial audio dataset in first-order ambisonics (FOA) format. Each example contains
|
| 4 |
|
| 5 |
The public release stores audio and annotations as tar shards. The tar files preserve the same relative paths used by the metadata, so extracting the archives recreates the `audio/` and `annotations/` directories expected by the JSONL files.
|
| 6 |
|
|
@@ -8,7 +8,7 @@ The public release stores audio and annotations as tar shards. The tar files pre
|
|
| 8 |
|
| 9 |
- **Audio format**: FOA waveform files (`.wav`)
|
| 10 |
- **Spatial annotations**: DCASE-style CSV files
|
| 11 |
-
- **Labels**: unified
|
| 12 |
- **Splits**: `train`, `valid`, `test`
|
| 13 |
- **Metadata**: one JSON object per audio scene
|
| 14 |
- **Packaging**: path-preserving tar shards for easier download and upload
|
|
@@ -61,25 +61,13 @@ These paths match the paths stored in `metadata/*.jsonl`.
|
|
| 61 |
|
| 62 |
## Dataset Statistics
|
| 63 |
|
| 64 |
-
|
| 65 |
-
|---|---:|---:|---:|---:|
|
| 66 |
-
| train | 329,610 | 188 | 1,032,417 | 1 |
|
| 67 |
-
| valid | 35,093 | 23 | 127,028 | 1 |
|
| 68 |
-
| test | 35,237 | 22 | 106,460 | 1 |
|
| 69 |
-
| total | 399,940 | 233 | 1,265,905 | 3 |
|
| 70 |
|
| 71 |
-
|
|
|
|
| 72 |
|
| 73 |
-
|
| 74 |
|
| 75 |
-
| Group | Payload bytes |
|
| 76 |
-
|---|---:|
|
| 77 |
-
| audio/train | 939,040,161,296 |
|
| 78 |
-
| audio/valid | 110,868,182,152 |
|
| 79 |
-
| audio/test | 108,399,164,604 |
|
| 80 |
-
| annotations/train | 2,350,160,868 |
|
| 81 |
-
| annotations/valid | 313,645,376 |
|
| 82 |
-
| annotations/test | 263,433,222 |
|
| 83 |
|
| 84 |
## Metadata Format
|
| 85 |
|
|
@@ -134,17 +122,18 @@ Important fields:
|
|
| 134 |
|
| 135 |
## Label Mapping
|
| 136 |
|
| 137 |
-
`label_mapping.json` defines the
|
| 138 |
|
| 139 |
-
- `class_set`: `fsd63`
|
| 140 |
- `class_count`: `63`
|
| 141 |
- `class_names`: ordered class names
|
| 142 |
- `class_name_to_id`: class name to integer id
|
| 143 |
- `class_id_to_name`: integer id to class name
|
| 144 |
-
- `raw_label_aliases`: aliases used before final mapping, such as mapping singing variants to `singing`
|
| 145 |
|
| 146 |
Use `label_mapping.json` as the canonical class-id definition.
|
| 147 |
|
|
|
|
|
|
|
|
|
|
| 148 |
## Download
|
| 149 |
|
| 150 |
Install the Hugging Face CLI:
|
|
@@ -212,29 +201,6 @@ annotations/train/foa_....csv
|
|
| 212 |
annotations/train/foa_...._src00.csv
|
| 213 |
```
|
| 214 |
|
| 215 |
-
## Reading Metadata
|
| 216 |
-
|
| 217 |
-
```python
|
| 218 |
-
import json
|
| 219 |
-
from pathlib import Path
|
| 220 |
-
|
| 221 |
-
root = Path("SO-Dataset")
|
| 222 |
-
|
| 223 |
-
with (root / "metadata" / "train.jsonl").open("r", encoding="utf-8") as f:
|
| 224 |
-
item = json.loads(next(f))
|
| 225 |
-
|
| 226 |
-
audio_path = root / item["audio"]["foa_path"]
|
| 227 |
-
scene_csv_path = root / item["scene_annotation_csv_path"]
|
| 228 |
-
source_csv_paths = [
|
| 229 |
-
root / src["source_trajectory_csv_path"]
|
| 230 |
-
for src in item["sources"]
|
| 231 |
-
]
|
| 232 |
-
|
| 233 |
-
print(audio_path)
|
| 234 |
-
print(scene_csv_path)
|
| 235 |
-
print(source_csv_paths[:3])
|
| 236 |
-
```
|
| 237 |
-
|
| 238 |
## Manifests
|
| 239 |
|
| 240 |
The files in `manifests/` list the tar shards for each group and split.
|
|
@@ -252,14 +218,19 @@ Example row:
|
|
| 252 |
}
|
| 253 |
```
|
| 254 |
|
| 255 |
-
## Notes
|
| 256 |
-
|
| 257 |
-
- The release is anonymized: public audio and CSV filenames use hashed names.
|
| 258 |
-
- Metadata paths are relative to the dataset root.
|
| 259 |
-
- The tar archives are not compressed. This keeps extraction fast and avoids heavy CPU cost for already-large waveform data.
|
| 260 |
-
- Scene-level CSV files contain the combined annotation for all active sources in a FOA scene.
|
| 261 |
-
- Per-source CSV files are also provided and are referenced from `sources[*].source_trajectory_csv_path`.
|
| 262 |
|
| 263 |
## Citation and License
|
| 264 |
|
| 265 |
Please cite this dataset as appropriate for your use. If you redistribute or use the dataset in downstream work, make sure your usage is compatible with the licenses of the underlying audio and spatial data sources.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SO-Dataset: Spatial FOA Audio Dataset
|
| 2 |
|
| 3 |
+
SO-Dataset is a large-scale spatial audio dataset in first-order ambisonics (FOA) format. Each example contains FOA waveform and spatial event annotations in DCASE-style CSV files. The dataset combines simulated spatial scenes and real FOA recordings, and all sound event labels are mapped into a unified 63-class sound event taxonomy based on the FSD50k dataset.
|
| 4 |
|
| 5 |
The public release stores audio and annotations as tar shards. The tar files preserve the same relative paths used by the metadata, so extracting the archives recreates the `audio/` and `annotations/` directories expected by the JSONL files.
|
| 6 |
|
|
|
|
| 8 |
|
| 9 |
- **Audio format**: FOA waveform files (`.wav`)
|
| 10 |
- **Spatial annotations**: DCASE-style CSV files
|
| 11 |
+
- **Labels**: unified FSD50k label set
|
| 12 |
- **Splits**: `train`, `valid`, `test`
|
| 13 |
- **Metadata**: one JSON object per audio scene
|
| 14 |
- **Packaging**: path-preserving tar shards for easier download and upload
|
|
|
|
| 61 |
|
| 62 |
## Dataset Statistics
|
| 63 |
|
| 64 |
+
SO-Dataset contains 400K FOA audio segments across 233 scenes, with a total of 1.27M annotated sound events.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
+
The dataset and annotations details are shown in the following figure.
|
| 67 |
+
Figure(a) shows the sub-tasks in SO-QA and SO-Bench, including Detection and Localization, Spatial Relation Understanding, and Complex Reasoning with Semantics. Figure(b) shows the data source of sound events in the dataset. Figure(c) shows the building process of the dataset, including the recording, simulation and collect subset. After building the SO-Dataset, we generate QA pairs and build SO-QA using the metadata of SO-Dataset. Figure(d) shows the distribution of spatial event in our dataset, including azimuth, elevation and distance.
|
| 68 |
|
| 69 |
+

|
| 70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
## Metadata Format
|
| 73 |
|
|
|
|
| 122 |
|
| 123 |
## Label Mapping
|
| 124 |
|
| 125 |
+
`label_mapping.json` defines the sound event label space:
|
| 126 |
|
|
|
|
| 127 |
- `class_count`: `63`
|
| 128 |
- `class_names`: ordered class names
|
| 129 |
- `class_name_to_id`: class name to integer id
|
| 130 |
- `class_id_to_name`: integer id to class name
|
|
|
|
| 131 |
|
| 132 |
Use `label_mapping.json` as the canonical class-id definition.
|
| 133 |
|
| 134 |
+
The following figure shows the distribution of the 63 classes in our dataset.
|
| 135 |
+

|
| 136 |
+
|
| 137 |
## Download
|
| 138 |
|
| 139 |
Install the Hugging Face CLI:
|
|
|
|
| 201 |
annotations/train/foa_...._src00.csv
|
| 202 |
```
|
| 203 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 204 |
## Manifests
|
| 205 |
|
| 206 |
The files in `manifests/` list the tar shards for each group and split.
|
|
|
|
| 218 |
}
|
| 219 |
```
|
| 220 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 221 |
|
| 222 |
## Citation and License
|
| 223 |
|
| 224 |
Please cite this dataset as appropriate for your use. If you redistribute or use the dataset in downstream work, make sure your usage is compatible with the licenses of the underlying audio and spatial data sources.
|
| 225 |
+
|
| 226 |
+
```text
|
| 227 |
+
@misc{zhu2026spatialomnispatialaudiounderstanding,
|
| 228 |
+
title={Spatial-Omni: Spatial Audio Understanding Integration in Multimodal LLMs via FOA Encoding},
|
| 229 |
+
author={Zhiyuan Zhu and Yixuan Chen and Yiwen Shao and Wenxiang Guo and Changhao Pan and Yu Zhang and Yuxiang Wang and Wei Liu and Houhua Zhang and Chengkuan Zeng and Wenbo Cheng and Yunxi Liu and Rui Yang and Steve Yves and Liefeng Bo and Zhou Zhao},
|
| 230 |
+
year={2026},
|
| 231 |
+
eprint={2606.10738},
|
| 232 |
+
archivePrefix={arXiv},
|
| 233 |
+
primaryClass={eess.AS},
|
| 234 |
+
url={https://arxiv.org/abs/2606.10738},
|
| 235 |
+
}
|
| 236 |
+
```
|
figures/data.png
ADDED
|
Git LFS Details
|
figures/event.png
ADDED
|
Git LFS Details
|
figures/model.png
ADDED
|
Git LFS Details
|