This study is designed to determine the effect of continuous positive airway pressure (CPAP) or bi-level positive airway pressure (BiPAP) on heart rate variability (HRV) in patients with obstructive sleep apnea (OSA).