Hmm, not quite. Shazam's approach is more optimized for exact matches. Mine tries to be more optimized for similar matches (if that makes sense lol).
So my approach is intentionally a bit fuzzier than something like Shazam, since apart from exact matches, you also ideally want a continuous representation for music similarity (so you can find songs that are 80-90% similar, for example).
That is hard to do for approaches optimized at exact matches (which usually use something like audio fingerprinting, etc.)