This study aimed to compare continuous and pulsed ultrasound therapy with sham ultrasound in terms of pain , severity of muscle spasm , function , depression , and quality of life in patients with myofascial pain syndrome .