Page 1 of 1

Feature Request: Do not allow clipping

Posted: 09 Feb 2015 18:23
by Zaaphod
If you try to over amplify a file, you can go into clipping, My suggestion is to detect clipping and knock back the volume to a point which would not have allowed the clipping. Clipping is so easy to detect, if you are using 24bit audio then you have numbers from -8388607 to 8388608 to use... just don't allow it to use the last one.. if you multiply by the gain factor and end up with a number greater than 8388607, or less than 8388606 then you just figure out how much you overshot it by and knock back the gain to the maximum you could have to still be always within that range. That way if you had it cranked up to compensate for file with very low volume, then the next track plays which is normal, it will cut it back automatically and save your ears and speakers from annoying clipping.

This won't address the other strange artifacts that happen with VLC even when it doesn't clip at volumes above about 126% but it's the easiest to detect and correct.

Re: Feature Request: Do not allow clipping

Posted: 08 Sep 2015 06:07
by Jonathan42
I think it would be much simpler to the average user to have a simpler volume normalization because sometimes we are watching one video where the music gets really loud and then you have some mumbling breathy actor you can't hear with Dumbo's ears. That's not even considering the next playback item. If the volume simply could be turned up to address soft talkers but not exceed a certain output , you could hear everything and not look like the guy from the old Memorex tapes sitting in the chair being blown away. A decibel level max would simplify this and I simply have never seen an explanation on how to do this in VLC even though it appears it has the ability. Volume normalization I believe it is referred to but I can't seem to see any effects when I change it slightly or dramatically.

Jonathan
San Antonio, Texas (Remember The Alamo!)