﻿# WHAMR targets: separating speakers and removing reverberation are different objectives

Choose WHAMR direct-path or reverberant source targets explicitly, preserving spatialization delays and distinguishing separation-only quality from combined dereverberation.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-whamr-direct-path-target-reverberant-separation/
Language: en

## Name the desired output before selecting a reference

A separator extracts distinct speakers from a reverberant mixture, yet its score falls because the reference expects direct-path speech. That discrepancy can reflect an objective mismatch rather than failed speaker separation. Define whether the output should preserve each speaker's room response or also remove reverberation. Both targets can be useful, but they test different transformations and should not be compared using an unspecified clean-source label.

## Read the dataset's added transformation

The [WHAMR paper record](https://arxiv.org/abs/1910.10279) identifies synthetic reverberation added to WHAM's noisy separation setup. Preserve the room-processing stage in source provenance. Recorded background noise and simulated speech reverberation have different origins. Do not describe every component as jointly captured real-room ground truth merely because the noise recording itself came from an actual acoustic environment. The synthetic construction provides particular target signals that real mixtures may not expose.

## Keep direct-path timing rather than borrowing another corpus

The [author-hosted full paper](https://www.jonathanleroux.org/pdf/Maciejewski2020ICASSP05.pdf) explains spatialized anechoic direct-path targets and their timing relationship to reverberant sources. Substituting the unspatialized original speech can introduce an alignment difference into an otherwise correct comparison. Preserve the target waveform associated with the generated mixture instead of selecting a similarly named clean utterance from another processing stage and assuming it is sample-aligned by identity alone.

## Record the actual recipe's task selection

The [SpeechBrain recipe documentation](https://github.com/speechbrain/speechbrain/blob/develop/recipes/WHAMandWHAMR/separation/README.md) distinguishes WHAM and WHAMR preparation and room-response processing. Inspect the selected implementation and targets rather than treating a folder name as a complete objective definition. For a cascaded system, state which stage performs denoising, separation and dereverberation. A later component can change the evaluated signal even when an earlier separator's speaker assignment remains identical.

## Validate target semantics with a diagnostic source

Compare the generated direct-path and reverberant reference for a chosen speaker, then verify which one enters the loss and metric. Preserve channel, truncation and sample-rate condition alongside the target. The existing [audio time-label guide](/journal/data-guide-audio-resample-time-labels/) and [software reproducibility guide](/journal/software-stack-reproducibility/) provide context. A meaningful result identifies the desired room-effect transformation and alignment contract, distinguishing speaker isolation from the additional requirement to reconstruct an anechoic source.
