Audio-Denoiser
Audio-Denoiser copied to clipboard
Python based audio denoiser 🔉
Audio Noise Reduction. ✌️👍
This script is designed to reduce noise in an audio file using the pydub, noisereduce, numpy, and matplotlib libraries.🙂
Prerequisites 🤖
Install the following libraries using pip:
pydubnoisereducenumpymatplotlib
Usage 😉
- Place the input audio file (in
.mp3format) in the same directory as the script. - Change the filename in the following line of code to match the name of your input audio file:
audio = AudioSegment.from_file("input.mp3") - Run the script using a Python interpreter.
- The output audio file (reduced noise) will be saved in
.mp3format with the name output.mp3 in the same directory as the script.
How it works 🤖
- The script uses the
pydublibrary to load the input audio file. - The audio is then converted to a
numpyarray using numpy. - The
noisereducelibrary is used to reduce noise in the audio signal. - The original and reduced noise signals are plotted using
matplotlibfor comparison. - The reduced noise signal is then converted back to an audio format using
pydub. - Finally, the reduced noise audio is saved to a file using the
pydub library.
Note 🔉
The results may vary depending on the input audio file. The user can adjust the parameters in the reduce_noise function for better results.
License ✔
The project is licensed under Apache-2.0 license license. See the license file for details.
Authors 👦🏻
Used By 🧑🤝🧑
This project is used by the following individual:
Saif IslamSaimoon Islam
Support 💁🏻♂️
For support, email [email protected] or join facebook community.(●'◡'●)