Anxiety and music

As

So whenever my anxiety (not professionally diagnosed as of yet) is bad (usually when I can’t sleep and I keep stressing over trying to get to sleep) I will listen to music. Lately though music has been making it worse. If I listen to music it will sound as if it’s twice as fast and causes me to get even more anxious and go into a panic attack. The music sounding faster makes me feel like I have no control and my life is wasted and goes too quick etc. All the songs I play are my favourite and I know them (and their tempo) off by heart and it really fucks with me when it sounds faster. I thought music was supposed to help during panic attacks but it makes mine worse. Does this happen to anyone else or is there something wrong with me. Thank you.