Install cairo-dock-impulse-plug-in by entering the following commands in the terminal:
sudo apt update sudo apt install cairo-dock-impulse-plug-in
Implus plug-in Cairo-dock
A collection of official plug-ins and applets for cairo-dock. . This plug-in provides the function which an icon dances according to music. It will analyse the signal given by PulseAudio.