YouTube tests new song identification feature on android: Hum, Sing, or Record to search songs
YouTube is testing a new search feature on Android devices that allows users to identify songs by humming, singing, or recording. To use it, users must hum, sing, or record the song for at least three seconds. Once the song is recorded, YouTube's machine learning models identify the melody and suggest relevant YouTube videos featuring the song. These suggestions can range from official music videos to user-generated content or Shorts.
Currently this search-by-song feature is only available to a select group of Android users, but in reality this technology is not new to Google, since the company previously launched a similar feature on the Google app and Google Assistant, which required users to hum for 10-15 seconds to identify a song, although YouTube's version will needs a shorter humming duration. The machine learning models used in this experiment are the same ones used in Google's song identification feature, so you should get similar results with both apps.
This feature undoubtedly turns YouTube into a powerful alternative to other music identification apps with similar capabilities like Shazam, SoundHound, or Musixmatch, while also offering their entire catalog of music library and even non-music related videos from Shorts within the same app. The company says the new feature it’s rolling out to “a small percentage of people across the globe who watch YouTube on Android devices”, so I guess you should wait for a while if you don't have it enabled yet.