audio_waveforms
audio_waveforms copied to clipboard
Updated how normalization works for recorder
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.