Ocarina of Meggy is a program that simulates playing an ocarina in the same fashion as it is played in the game Zelda: Ocarina of Time. Actually works as a musical instrument!

http://code.google.com/p/meggy-jr-rgb/downloads/detail?name=Ocarina_of_Meggy_v102.pde&can=2&q=