I want a stereo output form the PI. The sound being played will not be a recorded sound rather it would be generated using a code (preferably python). For example, the program's input will be (x,y,z) coordinate of the sound source, Amplitude, The sound (maybe a monotone or a mix) and size of source. The output shall be a stereo output such that i can identify the (x,y,z) coordinate (like its done in a game- footstep sounds, firing sounds etc).
My question is how do do this using Python? Do i need some formal course on DSP (Digital Signal Processing) to get this done?