dreamlayers / synaesthesia

Synaesthesia music visualization program
GNU General Public License v2.0
31 stars 5 forks source link

Error opening dsp device #2

Open rogonow opened 2 years ago

rogonow commented 2 years ago

sudo padsp synaesthesia cd gives me

ERROR: ld.so: object '/usr/\26357LIB/pulseaudio/libpulsedsp.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
synaesthesia: Error opening dsp device
(reason for error: No such file or directory)

This refers to the same error, but it plays the music thanks to program mpg123 (or mpg321): mpg123 /tmp/a.mp3 | synaesthesia pipe 44100

I want it to find it at /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsedsp.so I searched all the config files but it's not there to edit.

It can't find any dsp device, wich makes the program useless for the moment on my Xubuntu 22.04.

dreamlayers commented 2 years ago

That error seems to be due to padsp, which is used to make applications designed for old OSS sound use PulseAudio instead: https://linux.die.net/man/1/padsp. The library it is trying to load is probably what redirects OSS sound to PulseAudio.

This version of Synaesthesia here can be built with PortAudio, which allows it to work without need for padsp. Also, there should be no need for sudo.