Radio interference

Truck is a 16 plate CF. When trying to play music from my phone via the auxiliary input there is a high pitched whine if the phone is plugged into a charger at the same time.

The whine increases in pitch and volume in line with engine revs so I assume the issue is alternator related.

Can anything be done about this? Or do I need to unplug the charger when listening to music?