Apologies for the vagueness of this question; I'm remembering back to the early 1980s! When I loaded programs from cassette tape into my 48k ZX Spectrum, the sound (and bar animation) was quite distinctive, and followed a fairly standard pattern for perhaps the first 10 seconds. What was it about the structure of programs that led to this standard loading approach?
The program data was stored as audio on tape.
It's for pilot signals (cyan/red) and data signals (thinner stripes). The pilot signals help indicate the speed of the tape so the data signals can be read correctly as different players may run at different speeds.
From Wikipedia: