  The spectrum of gravitational waves that have been produced in inflation is
modified during cosmological transitions. Large drops in the number of
relativistic particles, like during the QCD transition or at $e^+e^-$
annihilation, lead to steps in the spectrum of gravitational waves. We
calculate the transfer function for the differential energy density of
gravitational waves for a first-order and for a crossover QCD transition.
