audio_waveforms icon indicating copy to clipboard operation
audio_waveforms copied to clipboard

Updated how normalization works for recorder

Open Ujas-Majithiya opened this issue 3 years ago • 0 comments

At first we would just add normalizationFactor to decibel. As decibel is a relative value. This was very inefficient way to normalize. With this, waves will be scaled against maximum current decibel and ultimate value will be between 0.0 to 1.0. Now to scale it we will be using scaleFactor.

So, normalizationFactor is renamed to scaleFactor in favor to how it's core logic works.

Addressing #43 issue we have with this PR.

Ujas-Majithiya avatar Aug 07 '22 17:08 Ujas-Majithiya