I made this Tesla Coil using the myRIO and LabVIEW. It uses electricity to play the music, which can be Star Wars, Harry Potter or even Hunger Games! The music is played by the spark heating the surrounding air (causing it to expand) then the spark turning off (causing the air to cool and contract). This expanding and contracting cause's longitudinal waves - or sound waves.
An FPGA on the myRIO does the real time processing and performs FFTs (fast Fourier transforms) to convert the analogue voltages (taken from it's on-board audio jack) into the frequency domain. Then it extracts the peak frequency of the musical note that you wish to be played. The myRIO then does the required digital switching to play the music! Because it's done using the FPGA, it also means you can use an electric guitar!
For more information and source code/PCB design files, take a look at this page:
Want to master Microsoft Excel and take your work-from-home job prospects to the next level? Jump-start your career with our Premium A-to-Z Microsoft Excel Training Bundle from the new Gadget Hacks Shop and get lifetime access to more than 40 hours of Basic to Advanced instruction on functions, formula, tools, and more.