I have an audio wave already established. I want to normalize it or have the value control from -1 to +1 in the sample editor.
Does anyone have information of what mathematical formula or what procedure should I do to solve these operations?
At the moment, I know how to get the maximum positive and negative value. Therefore, with a subtraction I have the maximization value.
But how do you maximize a wave? Maximize allows you to preserve the wave pattern, but larger. It is not the same as styling it up and down.
The API gives us access to the position of the frames and the value of the sample between -1 and +1. By iteration it is possible to modify all the points as you like.