Last week I was able to get the sound working and synced with the light animation.
The first version of the code was a complete mess and I was not able to make the light and audio work together because the strategy I used was incorrect. In my second rewrite, I used the independent mode of the audio controller and successfully synced the audio and the LED.

Here’s a video of the sound and LED working together.
Also, to get the RNG going, I used the IC’s 96-bits unique identifier as a seed. But somebody said that using a floating ADC is a better option. I should do that instead since MegaHits have multiple ADC inputs.