Tesla coil Super Mario Brothers theme: Don't tase me, Wario

How does this even work? I’m really confused. Essentially, these are two Tesla coils sending out signals based on MIDI input. But how do you control the frequency of the shock to make the music? There are no speakers involved. Engineers? A little help?

via Make