-
Notifications
You must be signed in to change notification settings - Fork 467
Closed
Description
Hi,
when calling room.simulate(..., snr=VALUE)
, the following code is called:
elif snr is not None:
# Normalize all signals so that
denom = np.std(premix_signals[:, reference_mic, :], axis=1)
premix_signals /= denom[:, None, None]
signals = np.sum(premix_signals, axis=0)
# Compute the variance of the microphone noise
self.sigma2_awgn = 10 ** (-snr / 10) * S
Which normalizes each source signal by its std
. Is this the desired behaviour? If I wanted one source to have a lower volume than another, wouldn't this undo their different volumes? Why is this normalization necessary?
Thank you and sorry for bothering,
Kind regards,
Eric
Metadata
Metadata
Assignees
Labels
No labels