Welcome Guest ( Log In | Register )

> Upload forum rules

- No over 30 sec clips of copyrighted music. Cite properly and never more than necessary for the discussion.

- No copyrighted software without permission.

- Click here for complete Hydrogenaudio Terms of Service

Can lossy encoding create audible clipping not present in the source?
post Jan 3 2012, 02:02
Post #1

Group: Members
Posts: 169
Joined: 14-November 09
Member No.: 74931

re: http://www.hydrogenaudio.org/forums/index....showtopic=92690

Apparently it's hard to know even established facts, and every statement must be proven again as if new if it's not made by a suitable person. Pure science of course, nothing to do with groupthink or the innate religious mindset of the human being.....

Attached is a 30 second sample of uncompressed wav.



Clipping is a phenomenon that occurs in digital audio when the amplitude value of a signal exceeds the maximum level that can be represented by the current bit resolution. In 16bit digital audio (cd-audio), the sample values can be presented between the values of -32768 to 32767.

Any sample which should get higher or lower value than this (for whatever reason), will get the maximum/minimum value instead. This causes the signal to distort, and appears in the waveform display as a "chopping-off" of the top or bottom of the waveform. The audible result of sequential max or min values is a static-like distortion.

A correctly mastered CD does not have sequential max or min samples. Also, clipping is not always audible. It depends on how severe the clipping is, in other words how many samples are getting the same maximum/minimum values sequentially. Maximum/Minimum values are considered as "possible clipped samples" by analysis tools, but only one max or min value doesn't mean clipping.

Lossy audio encoding and decoding can cause the highest/lowest sample values to go over the allowed limit (in practice having the sequential max/min values), which may lead to clipping seen by analysis tools, or even audible clipping. But whether the clipping is truly audible or not is a totally different thing. There are different methods to avoid clipping in lossy audio. Look at the specific audio format answers how to best avoid clipping in each case.

But of course you don't need to try to avoid it because it has been retrospectively decreed to be unpossible!

This post has been edited by Takla: Jan 3 2012, 02:09
Attached File(s)
Go to the top of the page
+Quote Post
Start new topic
post Jan 3 2012, 03:35
Post #2

Group: Super Moderator
Posts: 5275
Joined: 23-June 06
Member No.: 32180

I appreciate your being constructive and am glad that the thread has already generated some useful and interesting discussion. smile.gif
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 29th November 2015 - 23:48