For questions relating to music in general. Music can be played on a Mac using itunes, or on an iOS device using music.app.
Early teletype terminals had a bell, which was rung with the sequence ControlG. Subsequent computers had a speaker, which could be made to vibrate at various frequencies, producing sounds, and eventually music.
Music can be played on a Mac using itunes, or on an iOS device using music.app.