vorbis-fidelity.html 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15"/>
  5. <title>Ogg Vorbis Documentation</title>
  6. <style type="text/css">
  7. body {
  8. margin: 0 18px 0 18px;
  9. padding-bottom: 30px;
  10. font-family: Verdana, Arial, Helvetica, sans-serif;
  11. color: #333333;
  12. font-size: .8em;
  13. }
  14. a {
  15. color: #3366cc;
  16. }
  17. img {
  18. border: 0;
  19. }
  20. #xiphlogo {
  21. margin: 30px 0 16px 0;
  22. }
  23. #content p {
  24. line-height: 1.4;
  25. }
  26. h1, h1 a, h2, h2 a, h3, h3 a {
  27. font-weight: bold;
  28. color: #ff9900;
  29. margin: 1.3em 0 8px 0;
  30. }
  31. h1 {
  32. font-size: 1.3em;
  33. }
  34. h2 {
  35. font-size: 1.2em;
  36. }
  37. h3 {
  38. font-size: 1.1em;
  39. }
  40. li {
  41. line-height: 1.4;
  42. }
  43. #copyright {
  44. margin-top: 30px;
  45. line-height: 1.5em;
  46. text-align: center;
  47. font-size: .8em;
  48. color: #888888;
  49. clear: both;
  50. }
  51. </style>
  52. </head>
  53. <body>
  54. <div id="xiphlogo">
  55. <a href="http://www.xiph.org/"><img src="fish_xiph_org.png" alt="Fish Logo and Xiph.org"/></a>
  56. </div>
  57. <h1>Ogg Vorbis: Fidelity measurement and terminology discussion</h1>
  58. <p>Terminology discussed in this document is based on common terminology
  59. associated with contemporary codecs such as MPEG I audio layer 3
  60. (mp3). However, some differences in terminology are useful in the
  61. context of Vorbis as Vorbis functions somewhat differently than most
  62. current formats. For clarity, then, we describe a common terminology
  63. for discussion of Vorbis's and other formats' audio quality.</p>
  64. <h2>Subjective and Objective</h2>
  65. <p><em>Objective</em> fidelity is a measure, based on a computable,
  66. mechanical metric, of how carefully an output matches an input. For
  67. example, a stereo amplifier may claim to introduce less that .01%
  68. total harmonic distortion when amplifying an input signal; this claim
  69. is easy to verify given proper equipment, and any number of testers are
  70. likely to arrive at the same, exact results. One need not listen to
  71. the equipment to make this measurement.</p>
  72. <p>However, given two amplifiers with identical, verifiable objective
  73. specifications, listeners may strongly prefer the sound quality of one
  74. over the other. This is actually the case in the decades old debate
  75. [some would say jihad] among audiophiles involving vacuum tube versus
  76. solid state amplifiers. There are people who can tell the difference,
  77. and strongly prefer one over the other despite seemingly identical,
  78. measurable quality. This preference is <em>subjective</em> and
  79. difficult to measure but nonetheless real.</p>
  80. <p>Individual elements of subjective differences often can be qualified,
  81. but overall subjective quality generally is not measurable. Different
  82. observers are likely to disagree on the exact results of a subjective
  83. test as each observer's perspective differs. When measuring
  84. subjective qualities, the best one can hope for is average, empirical
  85. results that show statistical significance across a group.</p>
  86. <p>Perceptual codecs are most concerned with subjective, not objective,
  87. quality. This is why evaluating a perceptual codec via distortion
  88. measures and sonograms alone is useless; these objective measures may
  89. provide insight into the quality or functioning of a codec, but cannot
  90. answer the much squishier subjective question, "Does it sound
  91. good?". The tube amplifier example is perhaps not the best as very few
  92. people can hear, or care to hear, the minute differences between tubes
  93. and transistors, whereas the subjective differences in perceptual
  94. codecs tend to be quite large even when objective differences are
  95. not.</p>
  96. <h2>Fidelity, Artifacts and Differences</h2>
  97. <p>Audio <em>artifacts</em> and loss of fidelity or more simply
  98. put, audio <em>differences</em> are not the same thing.</p>
  99. <p>A loss of fidelity implies differences between the perceived input and
  100. output signal; it does not necessarily imply that the differences in
  101. output are displeasing or that the output sounds poor (although this
  102. is often the case). Tube amplifiers are <em>not</em> higher fidelity
  103. than modern solid state and digital systems. They simply produce a
  104. form of distortion and coloring that is either unnoticeable or actually
  105. pleasing to many ears.</p>
  106. <p>As compared to an original signal using hard metrics, all perceptual
  107. codecs [ASPEC, ATRAC, MP3, WMA, AAC, TwinVQ, AC3 and Vorbis included]
  108. lose objective fidelity in order to reduce bitrate. This is fact. The
  109. idea is to lose fidelity in ways that cannot be perceived. However,
  110. most current streaming applications demand bitrates lower than what
  111. can be achieved by sacrificing only objective fidelity; this is also
  112. fact, despite whatever various company press releases might claim.
  113. Subjective fidelity eventually must suffer in one way or another.</p>
  114. <p>The goal is to choose the best possible tradeoff such that the
  115. fidelity loss is graceful and not obviously noticeable. Most listeners
  116. of FM radio do not realize how much lower fidelity that medium is as
  117. compared to compact discs or DAT. However, when compared directly to
  118. source material, the difference is obvious. A cassette tape is lower
  119. fidelity still, and yet the degradation, relatively speaking, is
  120. graceful and generally easy not to notice. Compare this graceful loss
  121. of quality to an average 44.1kHz stereo mp3 encoded at 80 or 96kbps.
  122. The mp3 might actually be higher objective fidelity but subjectively
  123. sounds much worse.</p>
  124. <p>Thus, when a CODEC <em>must</em> sacrifice subjective quality in order
  125. to satisfy a user's requirements, the result should be a
  126. <em>difference</em> that is generally either difficult to notice
  127. without comparison, or easy to ignore. An <em>artifact</em>, on the
  128. other hand, is an element introduced into the output that is
  129. immediately noticeable, obviously foreign, and undesired. The famous
  130. 'underwater' or 'twinkling' effect synonymous with low bitrate (or
  131. poorly encoded) mp3 is an example of an <em>artifact</em>. This
  132. working definition differs slightly from common usage, but the coined
  133. distinction between differences and artifacts is useful for our
  134. discussion.</p>
  135. <p>The goal, when it is absolutely necessary to sacrifice subjective
  136. fidelity, is obviously to strive for differences and not artifacts.
  137. The vast majority of codecs today fail at this task miserably,
  138. predictably, and regularly in one way or another. Avoiding such
  139. failures when it is necessary to sacrifice subjective quality is a
  140. fundamental design objective of Vorbis and that objective is reflected
  141. in Vorbis's design and tuning.</p>
  142. <div id="copyright">
  143. The Xiph Fish Logo is a
  144. trademark (&trade;) of Xiph.Org.<br/>
  145. These pages &copy; 1994 - 2005 Xiph.Org. All rights reserved.
  146. </div>
  147. </body>
  148. </html>