【发布时间】:2020-06-04 14:21:59
【问题描述】:
我有一个用 Python 创建降噪应用程序的项目。我已经搜索了很多方法来解决这个问题,但是我尝试过的每个示例都不起作用,总是会抛出一些异常。
我试过了
import noisereduce as nr
from scipy.io import wavfile
rate, data = wavfile.read("input.wav")
noisy_part = data[10000:15000]
reduced_noise = nr.reduce_noise(audio_clip=data, noise_clip=noisy_part, verbose=True)
【问题讨论】:
标签: python scipy noise-reduction