Updated the circuit, moved the filter capaciter to the low voltage side.
The filter capacitor could be omitted if your amp has built-in filters.
RC filter with 3.9 Ohm and 2 uF has a cutoff frequency around 20 kHz.
Didn’t have the right capacitors in stock (part of the reason I put them on the output side), so waiting for parts…