Arduino library for PAM8803 audio amplifier module

the-rebel-agent:
That's the problem. reset() method set the vol to level close to 20%. That's why setVolumen(10) is not working the proper way.

Sorry, I'm still not clear.

The volumes are decreasing noticeably as setVolume decreases.

setVolume(100) is quite loud - even distorted. setVolume(10) is still pretty loud. and setVolume(0) is more amplified than I'd expected.

I've manually wired in the reset pin, however, is my understanding correct that the setVolume() parameter is a percentage of the entire range of the amplifier?

e.g. setVolume(0) is OFF and setVolume(100) is maximum? It's not a percentage of the previous state or something odd like that is it?

If so, I'd expect setVolume(0) to be (nearly) silent no matter whether I've reset() the module or not? Is setVolume(0) silent for you?
If yours is silent at setVolume(0) then something is off with my unit or setup.

thanks! --creatrope