Questions about 'MP-GTF'
ujscjj opened this issue · 1 comments
ujscjj commented
Hi, thank you for your sharing. I have two questions.
1.You have present how to plot the time domain representation.Could you please show me the code about ploting the frequency domain representation?
2.How to multiply the input with filterbank? Can you show the code?
Thank you very much.
dditter commented
Hi,
- Just run
np.abs(np.fft.rfft(filterbank))
and then use 'imshow' as for the time-domain plot. - You can use
np.convolve()
for each filter output but you should downsample the output signals. Usally the downsampling factor is chosen to be half of the window size, i.e. a factor of 8.