Maximize performance LM386 and 4Ohm speaker
Filter the signal before the amplifier, not after it.
If you overdrive the signal, it will be distorted.

LM386 is good when you don't much care about audio quality or power or efficiency.  If you do care about any of those things there are modern parts that do a lot better.