I feel stupid today. I've made a patch where you can place a sound anywhere on an x y axis and then walk around it. When you walk around it there's 360 of panning and the distance between the two changes the volume. It's like a small virtual world of sound :)
The problem :) Which I've been trying to solve all day is. I can't change the point of view. You could call it the field of vision. The "character" always looks straight forward along the y axis. I want to be able to ROTATE so you can look for sounds.
I get the angle between the "character" and the sounds with cartopol.
Understand me? :/