If someone doesn’t know what Shazam is, it listens to music playing on the radio or TV and identifies it and helps you find the name/artist.
I was wondering if there open source equivalent, I tried searching google and AlternativeTo but only found Linux desktop apps.
Google Assistant doesn’t meet the OP’s requirements: it’s not open source.