I know a guy who listens to music because he has a condition and music helps him control himself and it is so helpful for him. Under circumstances where music/dancing is good for you is it halal?
While listening to a music, one can identify what emotions, feelings the music arouses. Then, based on this, one can make a judgement. Definitely, music has a motivating effect on people, but the extent and nature of how each individual is affected by the music or rhythm differs. There are certain types of music that must be stayed away, and scholars unanimously agree on these. Two of these are : voice of a female singer is haram for males. Also, music with tempting lyrics and video clips must be stayed away. Hence, unfortunately, most trending music and video clips on YouTube etc. are disqualified.
IMHO, had the music be a good alternative for physiological therapy, Islam would have opened the doors for it, and wouldn't let us be bothered with such questions. Metaphorically speaking, if we liken the human spirit to a cave, voice/sound would fill it pretty easily. The deceptive satisfaction felling that arouses after listening to (loud) music makes us believe that there is benefit in that, just because of the phenomenon in the metaphor. Nevertheless, nafs (soul) would seek for means to fill this cave, and satisfy itself. Related to this is a verse :
O you mountains! Sing you back the Praises of Allah (swt) with him! and you birds! (Quran 34:10)
A tafseer of this verse says :
These indicate that Almighty God gave to David’s (PBH) praises and glorifications such strength and a sound so loud and agreeable they brought the mountains to ecstasy, which, each like a huge gramophone or a man, formed a circle on the horizon around the chief reciter, reciting also the glorifications. Is this possible, I wonder? Is it the truth?
Yes, it is the truth. Every mountain with caves can speak with man in man’s language like a parrot. By means of an echo. You say: “All praise be to God!” to the mountain before you, and the mountain will declare: “All praise be to God!”, exactly the same as you. Since Almighty God has given this ability to mountains, it can surely be made to develop, and that seed made to sprout. (Risale-i Nur 20th Word)
For me, the lesson to take is, word of Allah (swt), words that reminds Allah (swt) and their recitations are sufficient to satisfy this profound need of the human soul. Looking for examples? Check these :
In addition to these, reciting names of Allah (swt) with one's inner voice and pondering on their meanings, and particular manifestations of these names in his/her personal life would fill a big gap in his/her soul.