Comment 95 for bug 1040873

meomic (meomic) wrote :

for now best thing i can acheive is:
pulse in config : enable-lfe-remixing=no (or just comment it)
set profile 2.1

and then use mplayer to play music and upmix it there to 5.1 and lowpass it there
as described here: http://www.mplayerhq.hu/DOCS/HTML/en/advaudio-channels.html
-af pan=6:1:0:0:0:0:0.5:0:1:0:0:0:0.5:0.0.0.0.0.0:0.0.0.0.0.0:0.0.0.0.0.0:0.0.0.0.0.0,sub=80:5
this will make left = left , right = right and lfe=0.5(left) and 0.5(right) and lowpass it (you can make that 80 go lower to 60 or to any of your likings).

playing this make pulse do this:
Channel matrix:
( 1.982| 0.000) D: [pulseaudio] resampler.c: I00 I01 I02 I03 I04 I05
( 1.982| 0.000) D: [pulseaudio] resampler.c: +------------------------------------
( 1.982| 0.000) D: [pulseaudio] resampler.c: O00 | 0,621 0,000 0,069 0,000 0,310 0,000
( 1.982| 0.000) D: [pulseaudio] resampler.c: O01 | 0,000 0,621 0,000 0,069 0,310 0,000
( 1.982| 0.000) D: [pulseaudio] resampler.c: O02 | 0,000 0,000 0,000 0,000 0,000 1,000
( 1.982| 0.000) D: [pulseaudio] resampler.c: O03 | 0,000 0,000 0,000 0,000 0,000 1,000
( 1.982| 0.000) I: [pulseaudio] remap.c: Using generic matrix remapping
( 1.982| 0.000) I: [pulseaudio] resampler.c: Using resampler 'copy'
( 1.982| 0.000) I: [pulseaudio] resampler.c: Using s16le as working format.
( 1.982| 0.000) D: [pulseaudio] resampler.c: Resampler:
( 1.982| 0.000) D: [pulseaudio] resampler.c: rate 44100 -> 44100 (method copy),
( 1.982| 0.000) D: [pulseaudio] resampler.c: format float32le -> s16le (intermediate s16le),
( 1.982| 0.000) D: [pulseaudio] resampler.c: channels 6 -> 4 (resampling 4)
( 1.982| 0.000) I: [pulseaudio] sink-input.c: Created input 0 "audio stream" on alsa_output.pci-0000_00_1b.0.analog-surround-21 with sample spec float32le 6ch 44100Hz and channel map front-left,front-right,rear-left,rear-right,front-center,lfe

so left and right will be ~60% of their orig volume - as it mixes it with silence...
so just make left/right volume in pulse a little bit louder than woofer and voila
it should sound like this from any player through pulse alone (system-wide)