You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! Thanks again for creating this library :) I'm trying to use it to reduce background noise on 20ms chunks of streaming telephony audio before passing it to a voice activity detector.
To test it out, I ran the provided example code on a local wav file, but am getting the following error:
from scipy.io import wavfile
import noisereduce as nr
# load data
rate, data = wavfile.read("mywav.wav")
# perform noise reduction
reduced_noise = nr.reduce_noise(y=data, sr=rate)
wavfile.write("mywav_reduced_noise.wav", rate, reduced_noise)
noisereduce.py:306: RuntimeWarning: invalid value encountered in divide
sig_mult_above_thresh = (abs_sig_stft - sig_stft_smooth) / sig_stft_smooth
Am I doing something wrong?
The text was updated successfully, but these errors were encountered:
Hey! Thanks again for creating this library :) I'm trying to use it to reduce background noise on 20ms chunks of streaming telephony audio before passing it to a voice activity detector.
To test it out, I ran the provided example code on a local wav file, but am getting the following error:
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: