voxceleb_unsupervised
voxceleb_unsupervised copied to clipboard
At DatasetLoader, convolve question
def gen_echo(ref, rir, filterGain):
rir = numpy.multiply(rir, pow(10, 0.1 * filterGain))
echo = signal.convolve(ref, rir, mode='full')[:len(ref)]
return echo
in this function, rir data type is float32, but ref data type is int16.
can convolve the different data type data?
Is there any problem in terms of signal processing?