Microsoft Teams has music mode this will enable support for mono audio at up to 32 kHz sampling rate at 128 kbps, and it will also optimize the internal audio processing settings for high fidelity music reproduction.
Teams also have ML-based noise cancellation that treats any non-speech signal as noise. To avoid blocking music, Microsoft built an ML-based music tuner. Whenever listening to music using the mic, Teams will automatically notify the user to enable high-fidelity music mode to stream music without loss of quality.
This will give the end user the choice whether the music is indeed unwanted background noise, such as when calling into a meeting from a coffee shop, or if music is the desired signal, for example. like taking part in a music lesson.
This automatic music discovery feature will be available on Teams in January 2022.
The source: Microsoft
https://mspoweruser.com/automatic-music-detection-microsoft-teams/ | Automatic music discovery coming to Microsoft Teams