Hi, and thanks for your medical question on eHealth forum!
Consult the sleep specialist again. Maybe some adjustment is needed in CPAP machine. I would suggest you also get the blood levels of the following checked if they have not already been checked: potassium, calcium, sodium, magnesium, vitamin B complex, or vitamins B1, B3, or B6 and Vitamin D.
Generally deficiencies of any of the above can cause muscle twitching and spasms in localized or generalized areas of the body. Get your kidney function, parathyroid gland function and adrenal function tests done because these affect the electrolyte balance in the body. Stress, alcohol, caffeine and fatigue all cause similar symptoms. Hence if you take alcohol or coffee then cut this down.
Also consult an ENT specialist to rule out ear related causes of ringing in the ear. Please consult your PCP and discuss this. Hope this helps. Take care!