If air compression/expansion were isothermal (constant temperature ), then, according to the ideal gas law , the pressure would simply be proportional to density . It turns out, however, that heat diffusion is much slower than audio acoustic vibrations. As a result, air compression/expansion is much closer to isentropic (constant entropy ) in normal acoustic situations. (An isentropic process is also called a reversible adiabatic process.) This means that when air is compressed by shrinking its volume , for example, not only does the pressure increase (§B.7.3), but the temperature increases as well (as quantified in the next section). In a constant-entropy compression/expansion, temperature changes are not given time to diffuse away to thermal equilibrium. Instead, they remain largely frozen in place. Compressing air heats it up, and relaxing the compression cools it back down.