如何使用 SOX 对音频进行降噪?
How to denoise audio with SOX?
给定一个 audio.wav 录音,并且在开始和结束时都保持静音至少 1 秒...
如何用SOX去噪?
什么是 SOX
- SoX - Sound eXchange,音频处理的瑞士军刀
根据输入音频的初始 0.9 秒静音 + 房间噪音创建噪音文件
# sox in.ext out.ext trim {start: s.ms} {duration: s.ms}
sox audio.wav noise-audio.wav trim 0 0.900
在 sox 中生成噪声配置文件:
sox noise-audio.wav -n noiseprof noise.prof
清除音频中的噪音
sox audio.wav audio-clean.wav noisered noise.prof 0.21
根据消息来源:
Change 0.21 to adjust the level of sensitivity in the sampling rates (I found 0.2-0.3 often provides best result).
来源
给定一个 audio.wav 录音,并且在开始和结束时都保持静音至少 1 秒...
如何用SOX去噪?
什么是 SOX
- SoX - Sound eXchange,音频处理的瑞士军刀
根据输入音频的初始 0.9 秒静音 + 房间噪音创建噪音文件
# sox in.ext out.ext trim {start: s.ms} {duration: s.ms}
sox audio.wav noise-audio.wav trim 0 0.900
在 sox 中生成噪声配置文件:
sox noise-audio.wav -n noiseprof noise.prof
清除音频中的噪音
sox audio.wav audio-clean.wav noisered noise.prof 0.21
根据消息来源:
Change 0.21 to adjust the level of sensitivity in the sampling rates (I found 0.2-0.3 often provides best result).