Fair warning, any attempts in this area will have to take your individual ear shape into account to be accurate. Our brains have learned how sounds change based on the frequency changes due to our individual ear shapes, and any software that wants to emulate true spatial sound will have to take this into account.