Siirry päänavigointiin Siirry hakuun Siirry pääsisältöön

Speaker Distance Estimation Datasets: Synthetic RIR Variants and Real-Corpus Annotations

Tietoaineisto

Kuvaus

This repository supports research on single-channel speaker distance estimation: estimating the distance between a talker and a microphone from a single channel of reverberant speech.

The record accompanies a series of papers investigating how reverberation, early and late room responses, and non-acoustic shortcut cues affect speaker-distance estimation. It combines a controlled synthetic corpus with real-corpus annotations and predefined evaluation splits.

Source code and data-loading utilities are available at the project repository: https://github.com/michaelneri/audio-distance-estimation

Dataset contents

The record contains three main components:

Synthetic RIR-variant corpus. 40,000 simulated speech clips arranged as 2,500 controlled acoustic scenes, with 16 paired variants per scene. Total size: approximately 25.9 GB.

STARSS23 distance subset. 2,934 real speech clips extracted from STARSS23 and annotated with source–microphone distance. Total size: approximately 270 MB.

Annotations and splits. label tables, predefined folds, metadata, and reconstruction information for QMULTIMIT, VoiceHome-2, and the WHAM! noise conditions. These files contain no audio and are less than 2 MB.

The downloadable archives are:

synthetic_baseline.zip 10,000 clips with both propagation-delay and amplitude cues available.

synthetic_gain_var.zip 10,000 clips with the amplitude cue disrupted by random ±6 dB source-gain variation.

synthetic_onset_randomized.zip 10,000 clips with the propagation-delay cue disrupted by randomized onset padding.

synthetic_both.zip 10,000 clips with both shortcut cues disrupted.

shared_rir.zip 2,500 room impulse responses (RIRs) in .npz format, shared by all synthetic configurations.

STARSS23_distance.zip 2,934 annotated real speech clips.

labels_and_splits.zip  label tables, folds5.csv, and configuration metadata.

MANIFEST.sha256 SHA-256 checksums for the downloadable archives.

The four synthetic archives are independent and can be downloaded selectively. They all use the same RIR collection and synthetic fold assignment.

Synthetic RIR-variant corpus

The synthetic corpus is designed as a controlled experimental resource for isolating the contribution of different components of the room impulse response and two non-acoustic distance cues: propagation delay and received signal level.

For each of 2,500 acoustic scenes, the dataset provides 16 paired signals. Room geometry, source and microphone positions, RIR, and speech segment are held fixed within a scene. Consequently, corresponding variants differ only in the specified experimental manipulation.

RIR variants

Each scene contains four acoustic variants:

full — complete room impulse response.

direct — direct path only, using a 2 ms window with a 5 ms half-cosine fade.

no_early — direct path plus the late reverberant tail, with early reflections removed.

no_late — direct path plus early reflections, with the late reverberant tail removed.

The boundary between early and late reverberation is the room-specific mixing time, calculated from the mean free path rather than using a single fixed threshold. This allows the decomposition to follow the geometry of each simulated room.

Shortcut-cue configurations

Two cues can allow a model to estimate distance without relying on reverberation:

propagation delay, represented by the signal onset timing;

received level, determined by distance and source gain.

Four configurations are provided:

Configuration
Timing cue
Amplitude cue
Manipulation

baseline
available
available
none

gain_var
available
disrupted
random ±6 dB source gain

onset_randomized
disrupted
available
randomized onset padding

both
disrupted
disrupted
both manipulations

Onset randomization is applied to the convolved signal rather than the RIR. The random padding spans the natural propagation-delay range, while leaving the acoustic response itself unchanged.

File structure and metadata

Each synthetic archive has the following structure:

synthetic_/
full/
direct/
no_early/
no_late/
metadata_variants.csv

Audio is mono, 16 kHz, 10 seconds per clip, and stored as 32-bit floating-point WAV.

metadata_variants.csv contains one row per sample and RIR variant. Important fields include:

sample_id — scene identifier, shared across all configurations and variants.

variant — full, direct, no_early, or no_late.

dist — source–microphone distance in metres and the regression target.

room_vol_m3 — room volume.

mean_free_path_m — mean free path.

absorption_coeff — room absorption coefficient.

mixing_time_ms — room-specific early/late boundary.

source_gain_db — applied source-gain variation.

onset_pad_samples — applied onset padding.

randomize_onset and gain_variation — configuration flags.

The sample_id is the join key across the complete synthetic corpus. For example, sample_00042 refers to the same acoustic scene, talker, distance, and room conditions in every configuration.

Synthetic statistics

The following ranges and statistics are measured from the delivered files:

Quantity
Minimum
Maximum
Mean

Distance (m)
1.00
11.00
5.78

Room volume (m³)
86.86
883.05
440.65

Mean free path (m)
2.88
5.68
4.43

Mixing time (ms)
84.00
165.69
129.04

Absorption coefficient
0.10
0.45
0.28

Generation procedure

The synthetic RIRs were generated using the image-source method implemented in pyroomacoustics, with reflection order 100. Rooms have randomized dimensions, absorption, and source/microphone placement.

Each RIR is generated once per acoustic scene and reused across the paired variants. Source speech is taken from the EARS anechoic speech dataset. Thus, the reverberation in the synthetic recordings is introduced by the simulated acoustic environment rather than by the source recordings.

STARSS23 distance subset

The record contains 2,934 real speech clips extracted from the STARSS23 (Sony–TAU Realistic Spatial Soundscapes 2023) corpus. Each selected clip contains one active talker and has a source–microphone distance annotation derived from the original spatial annotations.

Split
Clips
Distance range (m)
Mean (m)

Train
2,054
1.00–3.57
1.76

Validation
294
1.01–2.88
2.11

Test
586
1.48–2.85
2.19

All
2,934
1.00–3.57
1.88
Filenames encode the distance label, for example:

2348-[2.845]-mt.wav

The corresponding starss23_labels.csv file provides the annotations in tabular form.

The STARSS23 subset has a substantially narrower distance range than the synthetic corpus. The train and test partitions also have different mean distances (1.76 m and 2.19 m, respectively), which should be considered when interpreting absolute-error results.

The included STARSS23 audio is distributed under the licensing terms of the source corpus.

Other corpora and reconstruction information

The record does not redistribute all source corpora used in the associated experiments.

QMULTIMIT

Audio derived from TIMIT is not included because TIMIT is licensed through the Linguistic Data Consortium (LDC). The record instead provides qmultimit_labels.csv, containing all 2,340 samples together with filenames, splits, distances, source positions, rooms, and utterance indices.

Split
Clips
Distance range (m)
Mean (m)

Train
1,620
2.00–16.35
8.95

Validation
180
2.00–14.56
7.37

Test
540
2.83–15.23
10.26

All
2,340
2.00–16.35
9.13

The audio can be reconstructed using a licensed copy of TIMIT and the QMUL omnidirectional RIR collection. Splits are assigned by impulse response so that no RIR occurs in more than one split.

VoiceHome-2

The record does not redistribute VoiceHome-2 audio. VoiceHome2_splitted.npz contains the split definition to be applied to the VoiceHome-2 corpus obtained from its original Zenodo record.

WHAM! noise

The noise used for noisy-condition experiments is not redistributed. noise_whamr_manifest.csv specifies the source WHAM! recording, sample offset, recording location, day, and split for every noise segment.

The manifest therefore provides a deterministic description of the required segmentation. Users can download the WHAM! noise recordings separately and reconstruct the required segments from the listed offsets.

EARS

EARS source speech is not redistributed in this record. It is available from the original EARS dataset under its own licensing terms.

Recommended evaluation procedure

For the synthetic corpus, use the supplied folds5.csv file. Fold assignment is performed at the sample_id level, ensuring that all RIR and shortcut variants of a scene remain in the same fold.

Creating a new random split can produce results that are not directly comparable with published experiments. In particular, splitting individual variants independently can result in the same acoustic scene appearing in both training and test data.

When evaluating on narrow-range real corpora, it is useful to report a constant-prediction baseline in addition to model results. Absolute error and distance ranking measure different properties, so rank correlation should also be reported alongside mean absolute error where appropriate.

Software and data access

The data are distributed as ordinary WAV, CSV, and NumPy files and can therefore be used independently of the accompanying software.

The project repository provides PyTorch Lightning data modules and path utilities for loading the datasets:

export SPEAKER_DISTANCE_PUBLISH=/path/to/unpacked/record
python -m speaker_distance.paths


A minimal example of loading the synthetic metadata is:

import pandas as pd
import soundfile as sf

meta = pd.read_csv("synthetic_both/metadata_variants.csv")
folds = pd.read_csv("folds5.csv")

rows = meta[meta.variant == "no_late"].merge(folds, on="sample_id")
test = rows[rows.fold == 0]

audio, sr = sf.read(
f"synthetic_both/no_late/sample_{test.sample_id.iloc[0]:05d}_no_late.wav"
)
target = test.dist.iloc[0]


Each synthetic audio clip contains 160,000 samples (10 seconds at 16 kHz).

Licences

Because the record combines components with different licensing terms, the record is registered under CC BY-NC 4.0, while individual components retain their applicable source or contribution licences:

Component
Licence

Synthetic RIR-variant corpus
CC BY-NC 4.0

STARSS23 distance subset
MIT, subject to source attribution

Annotations, labels, and splits
CC BY 4.0

Project code
MIT

The non-commercial restriction on the synthetic corpus follows from the EARS speech used to construct the derivative audio. Commercial use of that component requires permission from the EARS authors.

Users should consult the original licences and citation requirements for all third-party source corpora before redistribution or reuse.

Verification

The integrity of the downloadable archives can be checked using the supplied SHA-256 manifest:

sha256sum -c MANIFEST.sha256

On Windows PowerShell:

Get-Content MANIFEST.sha256 | ForEach-Object {
$h, $f = $_ -split '\s+', 2
$actual = (Get-FileHash -LiteralPath $f.Trim() -Algorithm SHA256).Hash.ToLower()
"{0} {1}" -f $(if ($actual -eq $h) { 'OK ' } else { 'FAIL' }), $f.Trim()
}


Citation

Please cite this dataset together with the paper associated with the experiment or result for which the data are used.

Associated publications:

Neri, Michael; Politis, Archontis; Krause, Daniel A.; Carli, Marco; Virtanen, Tuomas. Speaker Distance Estimation in Enclosures from Single-Channel Audio. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 32, 2242–2254, 2024. https://doi.org/10.1109/TASLP.2024.3382504

Neri, Michael; Politis, Archontis; Krause, Daniel A.; Carli, Marco; Virtanen, Tuomas. Single-Channel Speaker Distance Estimation in Reverberant Environments. IEEE Workshop on Applications of Signal Processing to Audio and Acoustics (WASPAA), 2023. https://doi.org/10.1109/WASPAA58266.2023.10248087

Neri, Michael; Politis, Archontis; Virtanen, Tuomas. Dependence on Early and Late Reverberation of Single-Channel Speaker Distance Estimation. International Workshop on Acoustic Signal Enhancement (IWAENC), 2026.

Neri, Michael; Politis, Archontis; Virtanen, Tuomas. Few-Shot Calibration for Sim-to-Real Single-Channel Speaker Distance Estimation, under review, 2026.

Source datasets should also be cited independently, including EARS, WHAM!, and STARSS23, according to their respective citation requirements.

Contacts

If you have further questions, doubts, or you want to do something on these topics, you can contact Michael Neri at [email protected].
Koska saatavilla2 lokak. 2026
JulkaisijaZenodo

Field of science, Statistics Finland

  • 113 Tietojenkäsittely ja informaatiotieteet

Siteeraa tätä