使用 Python 在音频文件中降噪 [英] Noise Reduction in an Audio file using Python

查看:109
本文介绍了使用 Python 在音频文件中降噪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以使用 Audacity 等开源软件进行降噪,该软件通常用于此目的.请点击以下链接参考.

We can perform noise reduction using Open-source Software like Audacity, which is commonly used for the purpose. Please click the below link for reference.

使用大胆图像去噪

是否有可以执行类似功能的python库?

Is there a python library that can perform a similar function?

推荐答案

如果你想以大胆的方式减少噪音,据我所知,你应该使用 scipy 库.

If you want to reduce noise the audacity way, to my understanding, you should program your algorithm using scipy filters provided by scipy library.

除此之外,pyaudio 是一个用于音频分析的专用库和 这里 是一个启动教程.

Besides that pyaudio is one dedicated library for audio analysis and here is a kickstart tutorial.

如果您不仅限于Python,您可以查看Essentia.到目前为止,这是一个详尽的音乐和音频分析库.

If you are not restricted only to Python, you can check out on Essentia. This is by far an exhaustive library for music and audio analysis.

Nutshell:虽然 Python 库提供了功能,但应该由您编写降噪算法(根据您的需要量身定制).也许你可以遵循大胆的方法.

Nutshell: While python libraries provide functionalities, it is you who should code your noise reduction algorithm (tailored to your needs). May be you can follow the audacity's approach.

您可以参考这个问题以获得更好的技术/实施和清晰度:Noise 减少波形文件

You can refer this question for better, technical/implementation, clarity: Noise reduction on wave file

祝你好运!尽量准确并发布问题,重点关注与编程语言相关的实现,而不是通用事物.

Good luck! Try to be precise and post questions focusing on implementation pertaining to programming languages rather than generic things.

作为一般准则:了解您的噪声行为,然后您可以相应地选择您的噪声去除策略.您可能需要一个简单的低通滤波器或高通滤波器.

As a general guideline: Understand the behavior of your noise and then you can choose your noise removal strategy accordingly.May be you need a simple low pass filter or high-pass filter.

这篇关于使用 Python 在音频文件中降噪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆