Two waves, indicated in red and blue, are moving to the right with equal velocities, but their frequency and wavelength are slightly different. The white wave is obtained by adding the red and blue together.
Only the combination wave is shown below.
This is an example of the beats produced by two waves whose velocities are not the same. This would not occur with sound waves, because the velocity is the same for all frequencies.