Skip to content

A Noise Cancellation System that is capable of precisely removing noise present in an audio signal using Python and Matplotlib, provided the noise has only one frequency.

Notifications You must be signed in to change notification settings

JomanaMahmoud/Noise-Cancellation-System

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

Noise Cancellation System

Project Description

A Noise Cancellation System that is capable of precisely removing noise present in an audio signal using Python and Matplotlib, provided the noise has only one frequency. A song is created using a group of frequencies representing key strokes played on a piano. To this, a randomly generated frequency representing the noise is added. The system then searches for this noise by locating the frequency with the highest amplitude in the sound. Once identified, the noise is removed, resulting in the clean song. You’ll find graphs of the song with the noise added in both the time and frequency domains. By identifying the frequency with the highest amplitude, you can visually see the noise frequency. Additionally, a graph of the song after the identification and removal of the noise is provided.

Preview

Time Domain Frequency Domain
The Song In The Time Domain The Song In The Frequency Domain
Song With Noise Added in the Time Domain Song With Noise Added in the Frequency Domain
The Song With Noise Added In The Time Domain The Song With Noise Added In The Frequency Domain
Noise In The Time Domain Noise In The Frequency Domain
The Clean Song In The Time Domain The Clean Song In The Frequency Domain
Clean Song In The Time Domain Clean Song In The Frequency Domain

How to Install

  1. Clone the Repository:

    git clone https://github.com/yehiarasheed/Noise-Cancellation-System.git
    cd Noise-Cancellation-System

    This command downloads a copy of the repository to your local machine and navigates into the project directory.

  2. Install a Python IDE: You will need a Python IDE to run the project. The user personally used Spyder, but other IDEs like PyCharm or VS Code are also recommended.

  3. Install Required Libraries: Ensure the following Python libraries are installed:

    pip install numpy matplotlib

Dependencies

This project requires the following dependencies:

  • Python IDE: Recommended IDEs include Spyder, PyCharm, or VS Code.
  • numpy: For numerical computations.
  • matplotlib: For plotting.

Ensure all required packages are installed and up to date to run the Python code in this project.


About

A Noise Cancellation System that is capable of precisely removing noise present in an audio signal using Python and Matplotlib, provided the noise has only one frequency.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%