The data you provided (raped two months ago, developed and treated anxiety and obsessive compulsive disorder, not been able to focus on study and thinking abut the end of the msuci all the time) might indicate that you have not completely recovered from that awful event that turned your life upside down.
The anxiety and the agoraphobia were a normal response to that event. But please keep in mind that in most cases it takes a little longer to cope with the problem. You have to fight with the problem and the memory all the time to make yourself useful again.
My advice is to give yourself more time and take it easy. Psychotherapy might be a good choice. For example, behavioral therapy might help you cope with the surroundings and to accept the things the way they are and nothing more. Try learning without music. If you still have thoughts that you cannot control then it is not about the music at all. Relaxation techniques like yoga might also be helpful.