How the musical keyboard works?