Creating piano

Hi guys, i’m an absolute zero in theory of mucis, but now I have a task to make piano keys in Unity, which will play sound recorded by user (with device microphone). My question not about programming( I haven’t any problem with that part of task), but about tools how to make the right the sounds sounded like a piano (i mean tune, diapason…), I feel that I must use built-in Unity5 audio mixer, but I don’t know how to configure it that my keys sound right like a piano (I mean that all about notes, octave, etc)

p.s. Ssory eng not my native but i’m trying, ask if something not clear in my question.

You could assign a pitch adjustment value to each of the keys on the piano and then via scripting adjust the pitch when the sound plays.

Audio Source pitch adjustment:

Math for octave adjustment: