-
Notifications
You must be signed in to change notification settings - Fork 0
settings_scale
##SETTINGS
###scaleY
The seekbar-with-gimmicks has two main methods to scale the waveform to your preferred height. They are replay gain scaling and minmaxrms scaling, from here on referred to as magnitude scaling. Replay gain scaling will of course only do something if the track contains replay gain tags. Magnitude scaling will always work regardless. Both methods will use the scaleY setting to determine the amount of scaling to be applied
Besides the scale setting there are also some directives that will change the way scaling affects the waveform. These are:
- SCALE_REPLAYGAIN scales using the replay gain tag information if present.
- SCALE_CMAGNITUDE scales each channel independantly from other present channels
- SCALE_TMAGNITUDE scales all channels in the current track maintaining relative differences
- ASYMETRIC slightly changes the way both magnitude scaling directives work.
The first will of course use replay gain tags if present. If there is no replay gain info and either SCALE_CMAGNITUDE or SCALE_TMAGNITUDE is also enabled the effect falls back to magnitude scaling. When this happens the directive ASYMETRIC controls how magnitude scaling is applied. Magnitude scaling works by looking at a set of values supplied by the component which contain the value of the lowest peak and the value of the highest peak for the current track. To determine the amount of scaling needed it will look at the absolute value of both lowest and highest peak (absolute because the lowest peak value will always be a negative value as a result of the mapping to a -1,1 scale).
With SCALE_CMAGNITUDE these values only apply to the current channel and with SCALE_TMAGNITUDE the values apply to all channels. Regardless of which of the two magnitude scaling directives is active, when enabling the ASYMETRIC directive the effect will not just look at which of the two absolute peak values is the highest, instead it will take the difference between the two and shifts the zero line down or up so that both upper and lower half of the waveform will go edge-to-edge.
The below two images show the difference between channel magnitude scaling and track magnitude scaling. From top to bottom the channel order is front left, front right, center, LFE, rear left and rear right.
.png)
Track Magnitude Scaling
.png)
Channel Magnitude Scaling
As you can see, with channel magnitude scaling the LFE channel is scaled exaggeratedly.
How ASYMETRIC influences the waveform is show in the below two images.

Without asymetric scaling

With asymetric scaling