Audio sample
Related terms: sample rate, bit depth, waveform, PCM, streaming
Digital sound is a long list of numbers: the air pressure measured many times per second. Each number is a sample. The sample rate is how many are taken per second, usually 44,100 or 48,000. Bit depth is how precise each one is.
Short effects are loaded into memory whole. Music is long, so it is stored compressed and streamed from disk a piece at a time.
- Further reading
- Godot: AudioStreamWAV