Text: From Page to Pixels

  • Scan at 300 dpi – each square inch ≈ 9 M discrete dots.

  • Binarize (threshold) to isolate glyphs.

  • OCR pass → converts glyph clusters into Unicode code points (discrete integers 0–1 114 111).

  • Trade-off: Higher dpi ↑ accuracy but quadruples file size every time you double resolution.

Sound: From Pressure Waves to PCM

  • Nyquist theorem: sample ≥ 2× highest frequency.

  • CD standard: 44.1 kHz × 16 bits ≈ 1.4 Mbit s⁻¹.

  • Bit-depth controls dynamic range (96 dB @ 16-bit, 144 dB @ 24-bit).

  • Compression: MP3 removes masked frequencies—saves ≈ 90 % space but loses spatial cues and cymbal shimmer.