Musical sampling — Music, 14–17 years
How recorded sound becomes numbers, and how those numbers can be edited, stored and played back.
Idea
Digital audio measures the air pressure of a sound many times each second and records each measurement as a number. Playing the numbers back rapidly makes a speaker move in a matching pattern. Sampling is therefore a way of representing a continuous sound with a sequence of snapshots.
Why it was needed
Computers cannot directly store a flowing pressure wave as music; they work with discrete values. Sampling made it possible to record, copy, cut and transform sound using digital machines. The problem was to preserve enough detail that the recreated wave still sounds like the original.
Worked example
A 1-second recording sampled at 44,100 Hz contains 44,100 measurements for each channel. If each measurement uses 16 bits, one mono second needs 44,100 × 16 = 705,600 bits, before file compression. Higher sampling rates capture changes more often, but they also create larger files.
Common trap
A common mistake is to think that more samples automatically make every recording better. That sounds logical because more snapshots seem to mean more detail. In practice, the microphone, room, converter and playback system also matter; beyond a suitable rate, extra samples may mainly increase storage needs.
Where it appears
Sampling is behind streaming tracks, phone recordings, drum machines, digital pianos and music software. Producers can reverse a sound, change its speed, cut a tiny piece into a loop or build a new instrument from recorded notes. The file still contains measurements, not a miniature physical recording.
Keep exploring
Other languages
Loading MyLeoNes™…