The Quiet Revolution: Restoring Sound with FIR Filtering


Name : Neel Patil 
Mentors : Dr Kiran Talele and Dr Reena Kumbhare


The First Encounter with Noise

It began, as it often does, with a recording — a simple clip meant to capture clarity but instead filled with hiss and hum. The kind of sound that’s harmless to the ear yet endlessly irritating when all you want is silence. That interference sparked my curiosity one afternoon in the DSP lab. Could those unwanted ripples be wiped away without hurting the voice beneath? That question became the heart of my experiment: using digital filters to restore sound to its truest form.


A Whisper Beneath the Distortion 

Recording the clean signals felt like bottling stillness. Each pure tone — soft, rhythmic, almost breathing — became my reference, the x[n] of the experiment. To test my methods, I deliberately ruined it. 
By introducing pink noise, I turned serenity into chaos. The once-clear waveforms became rough and jagged, forcing me to face what every engineer must face sooner or later — real-world imperfection. And so, the task began: separating music from mess, essence from echo.


Designing the Digital Guardian 

Every sound has layers, and every filter has intent. The Finite Impulse Response (FIR) Low-Pass Filter is not a flashy tool, but a precise one — like a craftsman’s hand guiding a chisel. 

In MATLAB, I defined its essence: 
● Passband frequency: 4000 Hz 
● Stopband frequency: 6000 Hz 
● Sampling frequency: 44,100 Hz 
● Stopband attenuation: 60 dB 
Each parameter shaped a digital boundary — a gatekeeper that allowed low, smooth tones to pass while rejecting high-frequency noise. Using the Parks–McClellan method, I tuned the transition region carefully, creating a filter that was firm yet forgiving. 


Watching Clarity Return

When the filter met the corrupted sound, something remarkable happened. The jagged waves began to settle; the chaotic static softened into rhythm. MATLAB became a kind of silent artist, sketching new waveforms where the noise once ruled.


 Audio Sample    MSE    PSNR (dB) Observation
Audio 1 0.0088 11.88 dB Noise significantly reduced; moderate clarity
Audio 2 0.0213 13.80 dB Most balanced result; crisp and natural outcome
Audio 3 0.0428 12.91 dB Noticeable improvement, but traces of distortion remained

The second audio file struck a fascinating balance. It wasn’t mathematically the best — but it sounded the most human. A reminder that perception and numbers rarely speak the same language.


Output

Audio 1

                                          

 Audio 2



Audio 3



Listening Through Equations

Even though MATLAB dealt in code and graphs, I began to see patterns rather than functions. Each line of code told the story of compromise — between too much suppression and too little clarity.The plots revealed a tangible transformation:You could see the noise pulling away like fog revealing a silhouette underneath.


What the Experiment Whispered Back

This work taught me something the equations didn’t: sound is emotional, even when engineered. 
The FIR filter didn’t just eliminate noise — it restored intention. Every hum suppressed, every echo eased, allowed the voice to emerge more honestly. A simple experiment became a meditation on how mathematics can preserve beauty, one frequency at a time. 
Low MSE values mattered on paper, but true clarity existed in how it felt to listen — smooth, real, present.


The Harmony of Code and Creativity

Digital Signal Processing isn’t just about computing transforms or filtering decibels. It’s about listening differently. It’s about understanding that silence isn’t empty — it’s space for meaning to exist. FIR filtering taught me that technology and artistry can coexist beautifully when tuned with purpose.


Future Horizons

1. Adaptive Filters: Introduce learning algorithms like LMS to automatically adjust to changing noise. 
2. AI-Assisted Filtering: Train neural models to recognize specific sound types for smart denoising. 
3. Embedded Integration: Optimize FIR filters for IoT devices and real-time audio hardware. 


The Final Echo

What began as a technical exercise became something deeply personal. Every filtered waveform symbolized patience, persistence, and precision — turning chaos into coherence. Through the lens of DSP, I learned that behind every hiss and hum lies a story — and sometimes, all it takes to hear it again is a little silence and a well-designed filter.


References

1. Oppenheim, A.V., Schafer, R.W., & Buck, J.R. (1999). Discrete-Time Signal Processing (2nd Edition). Prentice Hall, pp. 226–230. [Detailed example of FIR filter design and implementation.] 

2. MathWorks. (2024). FIR Filter Design - MATLAB & Simulink Documentation. Page 1. [Step-by-step MATLAB FIR filtering methods.] 

3. Tom Irvine. (1999). A Pink Noise Filter Revision A. Vibrationdata Tutorials, p.1. [Definition and audio application of pink noise.] 

4. Wikipedia. (2002). Signal-to-noise ratio. Page 1. [Formula and practical calculation of SNR and PSNR in audio metrics.] 

Comments