Python Audio fftpack: Filter noise signal and graph it?
问题 So I'm follow a tutorial where we create a signal and filter the noise using fftpack. Problem 1: I'm trying to plot the filtered and unfiltered signal noise on a graph so that I can see them side by side. Getting error: Warning (from warnings module): File "C:\Python39\lib\site-packages\numpy\core_asarray.py", line 83 return array(a, dtype, copy=False, order=order) ComplexWarning: Casting complex values to real discards the imaginary part I think this is causing the error: y = sig x = time