This is a stereo impulse response of the "Dolby Headphone - Live" setting which I generated via:
- encoding a unit pulse (left channel) to AC3
- playback of AC3 via PowerDVD with DolbyHeadphone enabled
- recording the output
Unfortunately the Foobar2K convolver plugin does not support cross-feeding and I don't know any convolver plugin for any player that supports this kind of processing that is needed to simulate DolbyHeadphone.
This is how you have generate the correct output
CODE
given: s, the audio signal to be processed (complex: real=left, imaginary=right)
given: r, the impulse response (complex: real=left, imaginary=right)
out: p, the processed audio signal (complex: real=left, imaginary=right)
---
p = convolve(real(s),r) + swap(convolve(imag(s),r))
---
real(.) returns the real part of the complex signal
imag(.) returns the imagunary part of the complex signal as real signal
convolve(.,.) convolves 2 complex signals and returns the result
swap(.) swaps the real and imaginary part, swap(x) = i*conjugate(x)
Sebastian
Dolby Headphone for Foobar Thread
edit: corrected definition of swap(.)
