I agree the best place to start is with any kind of noise ordinance specifics.
I wouldn’t hint – I would be very direct.
“Sorry to have to mention this, but your music is keeping us awake at night. Do you mind listening with blue tooth any time after 9pm?” – or something along those lines.
Technology is now available to listen to music or the TV without bothering the neighbors.