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
Hugpz source
share