It seems that there is no such function in Reaper. Reaper is a quite complex tool if one wants to use all its functions. The user guide can be download from here. It has more than 400 pages... I would start the recording normally, take time to go down to the piano, then to stop the recording, and would remove the useless parts at the beginning and at the end by editing the track.