Skip to content

Instantly share code, notes, and snippets.

@NISH1001
Created December 10, 2018 05:59
Show Gist options
  • Select an option

  • Save NISH1001/93b8698b8454e0c3aeed989595b0bf37 to your computer and use it in GitHub Desktop.

Select an option

Save NISH1001/93b8698b8454e0c3aeed989595b0bf37 to your computer and use it in GitHub Desktop.
Remove noise from audio track

First Create Noise Profile

This is done using ffmpeg:

ffmpeg -i source.mp3 -vn -ss 00:00:18 -t 00:00:20 noisesample.wav

Create Noise Profile for Sox

sox noisesample.wav -n noiseprof noise_profile_file

Reduce noise on source file

sox source.mp3 output.mp3 noisered noise_profile_file 0.31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment