Hello,
I am trying to write dfplayer code to handle the sounds of a lightsaber.
I have a problem playing swing sounds.
Sometimes when a swing sound interrupts the background sound, a small "click" is heard before the swing sound starts.
I have tried to remove or mask it in every way I know and now I have tried to include this library in my project.
Unfortunately, just using this library does not solve the problem but maybe I can avoid the "click" by making a fade out of the background sound before starting the swing file.
I noticed that in the library there is the decvolume function but nom I understand how it works.
Can you help me?