Stereo UpMix 5.1 using Pipewire for Soundblaster X4

long short story after got soundblaster X4 and connected with my existing z906 speaker and i try to play stereo sound that usually i do with my older soundblaster card in windows with upmix to 5.1 speaker as i have setup and use it, on manjaro i have selected 5.1 output still for stereo sound and still the sound only on left and right speaker, so then found out in soundblaster X4 need enable Audio enhancements, but the Audio enhancements feature is only available on creative app in windows,
in creative mobile app doesnt have it, so no solution for upmix stereo sound in linux.
then i found pipewire could do this upmix and finally i got what i want and then i do some experiment , it works and was great because its fully customize.
now i have my upmix working using pipewire with hesuvi for Surround Virtualizations and some plugin like ladspa and lv2 for rear sound.
and also i add app routing sink using wireplumber so i can use it to redirect browser output sound to sink that have upmixed
for watching youtube and web movie.
i make two version of upmix with different Surround Virtualizations.

for those who having same problem on upmix 5.1 from stereo you can try to use it.

how apply

make dir /usr/local/share/sbx4-sfx/filter/
get cmss_ent.wav and sbx100.wav from hesuvi in sourceforge
copy both cmss_ent.wav and sbx100.wav and put it in /usr/local/share/sbx4-sfx/filter/
sudo pacman -S lsp-plugins-ladspa lsp-plugins-lv2
copy both folder pipewire and wireplumber into /home//.config/
then to use, need choose one of this file soundblaster-upmix-with-cmss.conf.bak or soundblaster-upmix-with-sbx100.conf.bak
then remove the “.bak” to activate

reload the pipewire and wireplumber
systemctl --user restart pipewire pipewire-pulse wireplumber

after it done, you will have new sink with name “SoundBlaster SBX 5.1” and 2 node sbx_input and sbx_output
on your configure audio device will have “SoundBlaster SBX 5.1” as playback device

call this command to check the nodes
pactl list short modules | grep sbx

Note: this upmix will take default / selected ouput sink as a source

– for app routing —
on first apply 99-audio-app-routing.conf some time its not routing the browser sink
so need to reboot (i dont know how to reload the browser sink, the effective way is by rebooting)

the files on github:
soundblaster-upmix-pipewire