The amount of absorption depends on the frequency of the sound. A high frequency sound has many cycles in a second, and the particles in the medium are therefore vibrating very rapidly . Just as when you rub your hands together very rapidly, this produces more heat than if you rub your hands together slowly.