I\'d like to produce sounds that would resemble audio from real instruments. The problem is that I have very little clue how to get that.
What I know this far from real
I agree that this is very non-trivial and there's no set "right way", but you should consider starting with a (or making your own) MIDI SoundFont.