File size: 572 Bytes
bfde6e2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
#!/usr/bin/env python
# coding: utf-8
# In[2]:
import scipy.signal
def wiener_filter(audio):
'''
The Wiener filter is designed to minimize the impact of noise by applying an adaptive filtering process.
It tries to estimate the original, clean signal by taking into account both the noisy signal and the statistical properties of the noise.
The Wiener filter is particularly useful when dealing with stationary noise (constant background noise, like white noise).
'''
return scipy.signal.wiener(audio)
# In[ ]:
|