Arduino to Home Speakers
It's probably not damaged, but you shouldn't do it again.

To get the 5V signal down to 400mV you need to create a voltage divider. As such you will need a:

5V / (400mV / 20kohm) − 20kohm = 230kohm

resistor between the pin and the input. 220kohm should be close enough.