I'm not much help for a bike race, but I've done some of these running...and the other people there will keep ya going and the delirium will keep ya entertained

I'd suggest no to the music, just bc it's hard enough to think at that point? But maybe wake yourself up about 2 hours after you go to bed & try to ride w some...test it out first! I just know I started running towards some random reflective orange barrel in the woods at 2 am with no other distraction...just bc it was shiny...and only realized I was off-course when I nearly ran into a tree. I missed most of my normal landmarks on that lap and got to the end without realizing I'd already run the hill from hell, which was a pleasant surprise.

Ooh, maybe try chocolate covered coffee beans. Good luck!