Sound in the real world is analogue, so its amplitude changes continuously over time. A computer stores it digitally by measuring the wave at regular intervals and recording numbers.
Step-by-step lessons on AQA AS Level Computer Science Sound, MIDI, compression and encryption. Each one builds up to exam-style questions.