A CPAP apparatus in which the swing in pressure at the patient interface is adjustedby regulating the air flow from the flow generator through an air delivery conduittaking into account a pressure drop representative of the inertance of the airflowin the air delivery conduit during the increase of air flow from the flow generator.