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