How to have an output for the TX and L leds on the aduino ??

the code is for the song and i was wondering how I could have the led work with the code ????
so as the song is playing the leds are also blinking to the song or i can make a code for it blinking