Skip to content

Commit e62f374

Browse files
committed
more formatting
1 parent 83f483d commit e62f374

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

book/01-a-digital-audio.md

+11-5
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,10 @@ Aliasing
177177

178178
Here is a graphical representation of aliasing.
179179

180+
<figure>
180181
<img src="../resources/images/01-a-aliasing-1.png" width="50%">
181-
<small><i>Aliasing (red) of a high frequency (blue)</i></small>
182+
<figcaption>Aliasing (red) of a high frequency (blue)</figcaption>
183+
</figure>
182184

183185
The sinusoidal waveform in blue is being sampled at the vertical black
184186
lines. The line that joins the red circles together is the captured
@@ -187,8 +189,10 @@ waveform express different frequencies.
187189

188190
Here is another example:
189191

190-
![](../resources/images/01-a-aliasing-2.png){:width=50%}
191-
<small><i>Aliasing of a 30 kHz sine at 40 kHz sample rate</i></small>
192+
<figure>
193+
<img src="../resources/images/01-a-aliasing-2.png" width="50%">
194+
<figcaption>Aliasing of a 30 kHz sine at 40 kHz sample rate</figcaption>
195+
</figure>
192196

193197
We can see that if the sample rate is 40,000 there is no problem with
194198
sampling a signal that is 10KHz. On the other hand, in the second
@@ -311,8 +315,10 @@ plot the correct amplitude of each sample. We can see in the diagram
311315
that some vertical lines stop above or below the real signal. For a
312316
signal with lower amplitude the distortion would even be stronger.\
313317

314-
![](../resources/images/01-a-bitdepth.png)
315-
<small><i>Wrong amplitude values due to insufficient bit depth resolution</i></small>
318+
<figure>
319+
<img src="../resources/images/01-a-bitdepth.png">
320+
<figcaption>Wrong amplitude values due to insufficient bit depth resolution</figcaption>
321+
</figure>
316322

317323
The standard resolution for CDs is 16 bit, which allows for 65536
318324
different possible amplitude levels, 32767 either side of the zero axis.

0 commit comments

Comments
 (0)