An ICE 3 played the German national anthem with its motors lol a Taurus also played the Austrian national anthem too with the motors
In Japan, they used to have trains powered by Siemens GTO-VVVF playing the do-re-mi sound as well.
didn't know about the ICE3 doing that, but did know the Taurus playing anthem and the Keikyu 1000 & 2100 also having the sounds (they no longer do, though)