The chip is a tiny computer program the size of a domino. It stores 48 thousand bits of information. When commanded by an outside computer these bits are spat out rapidly as sound.
The recorded sounds are analyzed, measured, (compressed to fit the chip). Then programmed into the chip by computer.