Type in something! The piano will convert it into music! You can type in: -Letters (Upper and lower case) -Numbers -Spaces -Most Punctuation (But not ~ [ ] { } \ | ¬ ` ) 100% By me!
WARNING! CLEVER STUFF! :) This project makes use of the 'mod' function (short for modulo), which basically divides a number by another number and uses the remainder as the answer. Example: 10 / 7 = 1 remainder 3, so the 'mod' function would do 3. So, for each letter in the message, my project converts the letter into a number between 1 and 26 (It ignores spaces), and uses the 'mod' function with 7. The 7 is used because there are 7 notes in a piano octave. So, my 'mod' function make a number between 1 and 7 (well, technically 0 and 6, because that's how the 'mod' function works), so then I can use a bunch of 'if' blocks to play certain notes for certain numbers!