voxceleb_unsupervised icon indicating copy to clipboard operation
voxceleb_unsupervised copied to clipboard

At DatasetLoader, convolve question

Open wngh1187 opened this issue 4 years ago • 0 comments

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?

wngh1187 avatar Sep 15 '20 03:09 wngh1187