alankila/droidsound — comment on commit 7b281fb9f5496eeb4e7aae45816ef9a4849b3935
File:  line 0
By alankila:

Yeah getting the panning setting to work was kinda important to me because I have DSPManager-based cyanogenmod with my own DSP code and I wanted to set UADE panning to 100% stereo separation so that the virtualizer could do the sound manipulation to eliminate the stereo separation in a more psychoacoustically correct way.

The current implementation I have in cyanogenmod is basically a joint-stereo (center+side channel) processing where I only process the side channel (so mono sound comes through unchanged), and the side channel itself is processed with just one biquad filter, which applies some 300 microsecond time delay at frequencies less than about 700 Hz, and attenuation of about 11 dB for frequencies above that, using a high shelf filter. This approximates the head shadow and time delay effects that occurs when a speaker is positioned to front and either side of the listener.