http://www.dump.com/2011/04/15/man-manually-converts-the-super-mario-brothers-sheet-music-into-frequency-and-millisecond-values-and-then-codes-it-into-ladder-logic-video/