Ubuntu – How to delay sound in the system

14.04pulseaudiosound

I use some private internet video broadcasting and it comes sometimes with a delay. Also, projector that I use also adds a delay to the video. So, I'd like to delay sound a bit in order to put sound in sync with video. I can't change the original video, and it is being viewed via some kind of private video player (flash based I suppose).

So, if I could somehow make a system-wide delay for the sound, it would be really nice.

I know, that a lot of video players do support sound synchronization, but using video player is not an option.

I've tried using pulseaudio for this, but with no success. Currently I've tried using ladspa with pulseaudio, but it seems like it does not see the module-ladspa-sink:

$ find /usr -name '*ladspa-sink*'
/usr/lib/pulse-4.0/modules/module-ladspa-sink.so
$ pacmd list-modules | grep ladspa
$ pacmd load-module module-ladspa-sink 
Welcome to PulseAudio! Use "help" for usage information.
>>> Module load failed.
$ pulseaudio --version
pulseaudio 4.0
$ uname -a
Linux lenovo-g570 3.13.0-52-generic #85-Ubuntu SMP Wed Apr 29 16:44:17 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:        14.04
Codename:       trusty

Kubuntu, actually.

Best Answer

Install pulseaudio in your system using:

apt-get install pulseaudio

Open pulseaudio volume control from the applications menu. Goto the Output devices tab. Identify the sound device that is currently running. Expand the Advanced option dropdown. There you will be able to enter, increase or decrease the latency directly.

If any of the steps goes wrong or buggy, consider closing everything and restarting pulseaudio with:

pulseaudio -k

Important: Consider reading this answer before trying it out: (K)Ubuntu 17.10 - No Audio devices found, no settings, no sound #Answer

Related Question