Is it allowed to listen to music while piloting a plane? When I'm driving my car, I almost always put some music on. It's really relaxing for me.

I know that piloting a plane is nothing like driving a car, but it would be great, at least for me, to listen to some music while piloting.

So here is my question:


Is it allowed to listen to music while piloting a plane? Maybe with some device that mutes the music when someone is speaking in the radio?
Many aviation headsets either have an Aux-jack or a bluetooth connection, and listening to music is specifically mentioned as a feature.

(Link to headset)
(Link to adapter)

Some headsets even have a feature that detects radio-communications, and immediately silences the music.

The FAA has no problem with pilots listening to music provided its not distracting.   Individual company policies may differ.