Foundations: how a machine speaks · 0a
Sound is an array
The real waveform of "Hello world": 36,480 float32 values, 24,000 a second, each one a speaker-cone position. Why the sample rate caps the pitch, how float32 inside the system becomes int16 on the way out (sglang-omni's encode_pcm, run for real), and why a model cannot generate audio sample by sample. Each new idea (hertz, two samples per wiggle, the spectrum, bits) comes first with toy numbers you can check by eye, then with the real run and the code. You hear the real audio in the video.