The vibrations in materials cause the particles in the material to move back and forth, creating sound waves. The frequency of the vibrations determines the pitch of the sound, and the amplitude of the vibrations determines the loudness of the sound.