android音频杂音问题,从Android中录制的音频文件中去除噪音

everyone, I am new for android. Now, I am making an android app and I will record a file after playing the file and my own voice. However, there could be some noise in my wav file. Are there some library I can use for removing noise for my app ?

解决方案

There are different kinds of noise, and how you get rid of it depends. There is no "magic bullet".

To filter out certain frequencies, you can apply EQ. Roughly speaking, the parts of the signal necessary for clear understanding of speech fall in the range from 300 Hz - 3000 Hz. You can use EQ to eliminate everything below 300 Hz and above 3000 Hz. There are java libraries for this in JSyn, and processing.

If your speech and noise occupy the same frequency bands, the problem becomes more difficult. There are a variety of techniques, generally under the heading of "broadband noise reduction". I'm not aware of any java library that does this at all, much less well, but you could do it in native code. I've never tried it, but sox offers a "noisered" plugin that you could access from libsox.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值