Skip to content

Filtering unwanted background noise from .wav files using different algorithms (Moving Average, Frequency Domain Filter and Spectral Subtraction)

Notifications You must be signed in to change notification settings

ak2502/noise-filtering

Repository files navigation

Noise Filtering

We are using 3 algorithms to perform noise filtering on test_noise.wav audio file which contains some background noise.

The algorithms used are:-

  1. Time Domain - Moving Average Filter (moving_average.py)
  2. Frequency Domain Filter (freq_filter.py)
  3. Spectral Subtraction (spectral_subtraction.py)

To run this in your device:

  1. Make sure you have Python along with all the imported libraries installed.
  2. To input your own wav file, Replace the line in code f = we.open("test_noise.wav", 'rb') with f = we.open("your_file_name.wav", 'rb')
  3. Run the python file using terminal or any other IDE (spyder, VS Code, etc)
  4. The output wav file will be saved in the same folder which has your python file.

About

Filtering unwanted background noise from .wav files using different algorithms (Moving Average, Frequency Domain Filter and Spectral Subtraction)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages