如何使用SOX去噪音频?

问题描述 投票:9回答:1

鉴于audio.wav录制在开始和结束时至少有1秒钟的静音...

如何用SOX去噪?

audio-recording sox
1个回答
21
投票

What is SOX

  • SoX - Sound eXchange,瑞士军刀的音频操控

Create noise file from input audio's initial 0.9s silence + room's noise

# sox in.ext out.ext trim {start: s.ms} {duration: s.ms}
sox audio.wav noise-audio.wav trim 0 0.900

Generate a noise profile in sox:

sox noise-audio.wav -n noiseprof noise.prof

Clean the noise from the audio

sox audio.wav audio-clean.wav noisered noise.prof 0.21

据消息人士透露:

改变0.21以调整采样率的灵敏度水平(我发现0.2-0.3通常提供最佳结果)。

Sources

© www.soinside.com 2019 - 2024. All rights reserved.