Apple Music will play Dolby Atmos tracks on all AirPods and Beats headphones with an H1 or W1 chip, as will the built-in speakers of the newest iPhones, iPads, and Macs.
You can check which tracks in Apple Music support the audio effect by looking for the logo in the app interface.Apple Card Family, podcast subscriptions, and upcoming Apple Music support for Spatial Audio and Lossless.