Imperial March displayed on Pimoroni's Unicorn Phat
put it on your raspberry pi in a 3D printed rpi death star case, 3D printed with tranparent PLA and your rpi lights up on a imperial march tempo!
Starwars Deathstar raspberry Pi 3 case
Launch this script with 'sudo python imperial_march.py' or within a cronjob, and it will light with a different set of colors each time!!
the result is just fun!
Videos here :
On this one, the original music to check lights' sync Blinking deathStar raspberry pi case on imperial march
PS : did not use randint starting from 0, but from 10, this to prevent some dark colors (quick&dirty, I know)
Credits :
started with (https://github.com/FreakiNiki/Imperial-March)
but got longer imperial march's melody from (https://gist.github.com/tagliati/1804108)
Thank you FreakiNiki & tagliati