Sound is a continuous wave โ but computers only understand 1s and 0s. See how sampling turns a smooth wave into digital data, and why quality depends on how often you sample.
Analogue = continuous, smooth โ like a real sound wave or a vinyl record. Infinite detail.
Digital = discrete, stepped โ like a staircase. Stored as numbers (samples) at fixed intervals.
| Sample Rate | How many times per second we measure the wave. Measured in Hz. CD quality = 44,100 Hz (44,100 samples every second!) |
| Bit Depth | How many bits used to store each sample. More bits = more precise. CD = 16 bits = 65,536 possible levels |
| File Size | = sample rate ร bit depth ร duration ร channels. This is uncompressed โ MP3 compression makes it much smaller |
| Nyquist Theorem | You need to sample at at least double the highest frequency in the sound. Humans hear up to ~20kHz, so CDs sample at 44.1kHz (just over double) |