Skip to content

Commit

Permalink
Merge pull request #354 from amiaopensource/weaver-branch
Browse files Browse the repository at this point in the history
CDDA Emphasis
  • Loading branch information
privatezero authored Nov 15, 2018
2 parents 76a93b7 + db219e2 commit f771ff3
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,23 @@ <h3>RIAA Equalization</h3>
</div>
<!-- ends RIAA equalization -->

<!-- CD De-emphasis -->
<label class="recipe" for="cd_eq">Reverse CD Pre-Emphasis</label>
<input type="checkbox" id="cd_eq">
<div class="hiding">
<h3>Reverse CD Pre-Emphasis</h3>
<p><code>ffmpeg -i <em>input_file</em> -af aemphasis=type=cd <em>output_file</em></code></p>
<p>This will apply de-emphasis to reverse the effects of CD pre-emphasis in the somewhat rare case of CDs that were created with this technology. Use this command to create more accurate listening copies of files that were ripped 'flat' (without any de-emphasis) where the original source utilized emphasis. For more information about CD pre-emphasis see the <a href="https://wiki.hydrogenaud.io/index.php?title=Pre-emphasis" target="_blank">Hydrogen Audio page</a> on this subject.</p>
<dl>
<dt>ffmpeg</dt><dd>starts the command</dd>
<dt><em>input_file</em></dt><dd>path, name and extension of the input file</dd>
<dt>-af aemphasis=type=cd</dt><dd>activates the aemphasis filter and sets it to use CD equalization</dd>
<dt><em>output_file</em></dt><dd>path and name of output file</dd>
</dl>
<p class="link"></p>
</div>
<!-- CD De-emphasis -->

<!-- one pass loudnorm -->
<label class="recipe" for="loudnorm_one_pass">One Pass Loudness Normalization</label>
<input type="checkbox" id="loudnorm_one_pass">
Expand Down Expand Up @@ -2479,6 +2496,20 @@ <h3>Rip a CD with Cdda2wav</h3>
<p class="link"></p>
</div>
<!-- ends Rip with CDDA2WAV -->

<!-- Check for CD Emphasis -->
<label class="recipe" for="cd-emph-check">Check/Compensate for CD Emphasis</label>
<input type="checkbox" id="cd-emph-check">
<div class="hiding">
<h3>Check/Compensate for CD Emphasis</h3>
<p>While somewhat rare, certain CDs had 'emphasis' applied as a form of noise reduction. This seems to mostly affect early (1980s) era CDs and some CDs pressed in Japan. Emphasis is part of the <a href="https://en.wikipedia.org/wiki/Compact_Disc_Digital_Audio#Standard">Red Book standard</a> and, if present, must be compensated for to ensure accurate playback. CDs that use emphasis contain flags on tracks that tell the CD player to de-emphasize the audio on playback. When ripping a CD with emphasis, it is important to take this into account and either apply de-emphasis while ripping, or if storing a 'flat' copy, create another de-emphasized listening copy.</p>
<p>The following commands will output information about the presence of emphasis when run on a target CD:</p>
<p><strong>Cdda2wav:</strong> <code>cdda2wav -J</code></p>
<p><strong>CD Paranoia:</strong> <code>cdparanoia -Q</code></p>
<p>In order to compensate for emphasis during ripping while using Cdda2wav, the <code>-T</code> flag can be added to the <a href="#cdda2wav">standard ripping command</a>. For a recipe to compensate for a flat rip, see the section on <a href="#cd_eq">de-emphasizing with FFmpeg</a>.
<p class="link"></p>
</div>
<!-- Check for CD Emphasis -->
</div>
<!-- ends CDDA Tools -->

Expand Down

0 comments on commit f771ff3

Please sign in to comment.