Sorry, forgot question about power. At this time, friend has printed a crossing gate with a servo motor and controlled by an Arduino. We are using the side-by-side led emitter-sensor combo for crossing detection which triggers the Arduino. The plan for sound was to have the Arduiino also trigger a channel of an 8-ch relay I have several of. That would provide 5 VDC to the player and amp.
Ken