Skip to content

Commit

Permalink
feat: Coding (A/D conversion)
Browse files Browse the repository at this point in the history
  • Loading branch information
Korilakkuma committed Jun 29, 2024
1 parent 126ee0a commit df0807a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -1347,3 +1347,4 @@ createSampling(document.getElementById('svg-figure-sampling-theorem'), 48, true)

createQuantization(document.getElementById('svg-figure-quantization'), 3, 'rgb(255 0 255)', true, true);
createQuantization(document.getElementById('svg-figure-quantization-bits'), 4, 'rgb(255 0 255)', false, true);
createQuantization(document.getElementById('svg-figure-coding'), 4, 'rgba(153 153 153 / 30%)', false, false);
12 changes: 12 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3958,6 +3958,18 @@ <h4>量子化</h4>
</figure>
<p>音楽 CD での量子化ビットは 16 bit に設定されています. ハイレゾオーディオの量子化ビットは <code>24 bit</code> 以上が必要条件となっています.</p>
</section>
<section id="section-analog-to-digital-conversion-coding">
<h4>符号化</h4>
<p>
サンプリングによって, 時間軸方向に離散化し, それぞれのサンプル点を, 量子化によって丸めた整数値に 2 進数を割り当てていきます. 量子化した
(整数値に丸めた) 振幅を 2 進数に符号化すると, コンピュータの内部で処理することが可能なデジタル信号となります.
</p>
<p>サンプリング周波数 <code>16 Hz</code>, 量子化ビット <code>4 bit</code>, 2 の補数方式で符号化した例です.</p>
<figure>
<svg id="svg-figure-coding" width="720" height="405" data-parameters="true" data-a="1" data-f="1" data-t="0.0,0.5,1.0" />
<figcaption>符号化</figcaption>
</figure>
</section>
</section>
</section>
</main>
Expand Down

0 comments on commit df0807a

Please sign in to comment.