cdactvm commited on
Commit
2ec3171
1 Parent(s): ababd40

Update waveletDenoise.py

Browse files
Files changed (1) hide show
  1. waveletDenoise.py +1 -1
waveletDenoise.py CHANGED
@@ -1,5 +1,5 @@
1
  import pywt
2
-
3
  # Function to apply wavelet denoising
4
  def wavelet_denoise(audio, wavelet='db1', level=1):
5
  coeffs = pywt.wavedec(audio, wavelet, mode='per')
 
1
  import pywt
2
+ import numpy as np
3
  # Function to apply wavelet denoising
4
  def wavelet_denoise(audio, wavelet='db1', level=1):
5
  coeffs = pywt.wavedec(audio, wavelet, mode='per')