Logo

dev-resources.site

for different kinds of informations.

Algorithm for Normalizing Current Data Using Historical Data to Eliminate Sound Noise

Published at
12/9/2024
Categories
algorithms
android
music
Author
_0cf8b251b57ec13fb1ac
Categories
3 categories in total
algorithms
open
android
open
music
open
Author
21 person written this
_0cf8b251b57ec13fb1ac
open
Algorithm for Normalizing Current Data Using Historical Data to Eliminate Sound Noise

When developing a music playback software, I chose to use an IIR filter to implement the audio equalizer functionality, as it is simpler for me to develop compared to other options. However, when adjusting the sound effects to extreme settings—such as having a very high gain for one frequency while keeping others low—it often produces noise. Even when testing other similar software (like Winamp), I found that this problem cannot be completely avoided.

After researching, I discovered two common handling methods. The first is to clip any data exceeding an absolute value of 1 to 1, but this only partially reduces noise and does not eliminate it entirely. The second method is to normalize based on the absolute maximum value of the current data group, but this can cause sudden changes in volume during playback, impacting user experience.

Therefore, I propose an improved solution: introduce a global absolute maximum value (denoted as α), with an initial value set to 1. Each time I process a group of audio data, I will first obtain the absolute maximum value of that group (denoted as β), and then assign the larger value between α and β to α, using this α value to normalize the audio data. If the user switches songs or readjusts the equalizer, α will be reset to 1. This approach can avoid the drawbacks of the previous methods, but the side effect is that the overall volume of the song may be slightly reduced, while switching to other songs may result in the volume returning to normal (with a very low probability). Nevertheless, from a user experience perspective, I think this remains the best solution available.

music Article's
30 articles in total
Favicon
How can I track my order in Maruti courier?
Favicon
AI Music Generator
Favicon
Taranify Mood AI
Favicon
Happy new year! To more coding, playing the guitar, biking and motorcycle rides next year!
Favicon
Introducing Lofi Music Club - Your New Chill Companion! 🎧
Favicon
Teilen und verbinden Sie sich mit anderen
Favicon
پلی بک مکث
Favicon
「Mac畅玩鸿蒙与硬件47」UI互动应用篇24 - 虚拟音乐控制台
Favicon
Needle Drop
Favicon
All about Sound effects and Music (soundtrack) creation for game-dev
Favicon
Lossless Music Streaming Services Market Size, Share and Growth Report 2024-2032
Favicon
Algorithm for Normalizing Current Data Using Historical Data to Eliminate Sound Noise
Favicon
CapCut Templates: Download Trending CapCut Templates 2024
Favicon
Why Watching Movies at Home is an Audio Nightmare—and How We Could Fix It with Smart Sound Tech
Favicon
AI in Creative Industries
Favicon
What is your BEST playlist music for work? 🎶
Favicon
Exploring the Magic of 432 Hz: Building a Music Frequency Analyzer
Favicon
BandBoard App
Favicon
Music of the Month — What are you listening to? (Halloween Edition 🎃)
Favicon
Yami - An Open-Source Music Player With Simple Ui
Favicon
Let's Play Sprunki Mustard! A Fun Music Creation Game
Favicon
Building a Free Online Music Creator: Free Incredibox Sprunki
Favicon
How to Download n-Track Studio 10
Favicon
From Beats to Bytes: AI's Musical Revolution
Favicon
Download the song Kar from the past work
Favicon
The text of the song Ishq Maneh Yussef When
Favicon
Sample Tools by Cr2 Dirty House (Sample Packs) Download
Favicon
Need some Lofi in your life to increase productivity? 🎵👾
Favicon
🎵 JavaScript music! 🎸 JS13K Games Community Soundtrack 2024 🎹
Favicon
7 Online Radio Stations For Coders🎧💻

Featured ones: