Piano calculator