A system for delivering a pressurized flow of breathable gas to a patient includes a patient interface configured to contact the patients head. The patient interface has a frame and a cushion supported by the frame. The cushion is configured to sealingly connect the patient interface to the patients face and form a chamber between the frame and the patients face. The patient interface also has an inlet port in the frame to receive the pressurized flow of breathable gas. The system further includes a flow generator mounted on the patient interface. The flow generator is configured to generate the pressurized flow, capable of creating a pressure of about 2-40 cm H2O in the chamber. A flow generator housing houses the flow generator and is configured to reduce a transmission of vibration and/or noise generated by the flow generator to the patient interface. At least one support arm extends from the flow generator housing to the frame of the patient interface. The at least one support arm is connected to the frame of the patient interface by a soft joint.