How to reduce noise using SOX?

Record audio.wav with silence both at the beginning and at the end for at least 1 second ...

How to tag with SOX?

+4
source share
1 answer

What is SOX?

  • SoX - Sound eXchange, Swiss Army audio manipulation knife.

Create a noisy file from silence + indoor noise

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

Generate noise profile in sox:

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

Clear the noise from the sound

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

According to the source:

Change 0.21 to adjust the sensitivity level at the sampling frequency (I found that 0.2-0.3 provides the best result).

Sources

+5
source

Source: https://habr.com/ru/post/1677855/


All Articles