OP, your friend plays piano well?
Can you find a weighted piano/keyboard/controller your friend can play to create a good unquantized midi file of the piece you want recorded?
Anyway, there is a big difference between a musical piece and something quite repetitive.
That is how I would...