we can get (x,y,z) coordinates out of phone orientation (roll, pitch, yaw). This will cover the surface of some sphere around user’s head, so by also controlling the radius (volume up/down), it is possible to cover the sphere around the head, which is indeed the 3d space. So, to get the orientation out of sensors we tried to combine accelerometer with magnetometer to get the orientation. But it had lots of noise, so we decided to use low-pass filter to get rid of noise. To get the Cartesian Coordinates (x,y,z) out of orientation, we take an initial vector (1,0,0) and rotate it with respect to x, y, and z, by roll, pitch, and yaw respectively using rotation matrix. So, we have to rotate each time the current vector by (roll,pitch,yaw). OpenAL (Open Audio Library) is a cross-platform audio application programming interface (API). It is designed for efficient rendering of multichannel three-dimensional positional audio. OpenAL is an environmental 3D audio library, which can add realism
Downloads: 441+ (for Android)Report app for spam or abuse!