Not just analog audio but even today digital audio is optically encoded onto film. It's fascinating stuff.
This image is 35mm film encoded with SDDS, Dolby Digital, Analog Audio and DTS Time Code. The white spaces are actually the sprocket holes so it gives you an idea how small it is.