Lurker News
Hey HN!

I just shipped a project I’ve been working on called Maroofy: https://maroofy.com
You can search for any song, and it’ll use the song’s audio to find other similar-sounding music.
Demo: https://twitter.com/subby_tech/status/1621293770779287554
How does it work?
I’ve indexed ~120M+ songs from the iTunes catalog with a custom AI audio model that I built for understanding music.
My model analyzes raw music audio as input and produces embedding vectors as output.
I then store the embedding vectors for all songs into a vector database, and use semantic search to find similar music!
Here are some examples you can try:
Fetish (Selena Gomez feat. Gucci Mane) — https://maroofy.com/songs/1563859943 The Medallion Calls (Pirates of the Caribbean) — https://maroofy.com/songs/1440649752
Hope you like it, and would love to hear any questions/feedback/comments! :D

Comments (427) 231 threads

Show all comments

Showing thread 33 of 231

mmahemoff2 replies#
Exciting to see AI used this way. My main feedback is I'd look at incorporating other factors to rank results, not purely how similar it sounds. Audiophiles might prefer a pure similarity ranking, but that could be offered as a non-default setting if anything.

e.g. I'm sometimes seeing several essentially identical tracks at the top of recommendations (also mentioned in a comment by rayshan). You probably want to penalise tracks like that so they're pushed well down the list, i.e. penalise matches by metadata similarity (artist, title, etc).
OTOH I think it should boost results from more popular songs/artists, so the top result is less likely to be an obscure result that happens to sound similar. Some might argue it's a good thing to discover/highlight obscure artists, but for most users, it's more practical to recommend results that are already "proven" to be appealing. More obscure results could still be blended in if highlighting them is seen as a goal of the project.

knaik941 reply#
I think popularity based ranking should absolutely be optional and a toggle. I think it's reasonable to have default rank be popularity, but in my opinion, the value of a model like this is finding obscure tracks. I also would definitely like seeing an exposed toggle, and maybe automatically toggle it off when someone presses refresh?
mmahemoff#
Sure, a toggle is one option. The main point is to introduce popularity as a factor and ultimately the best UI and defaults are best decided through A-B testing.

I'd also add that it's usually a good idea to incorporate this setting into the URL, regardless of the UI, so that a specific order can be bookmarked and shared.

emodendroket1 reply#
If the point was to surface popular recommendations why would I go to a different Web site instead of just using what Apple Music already gives me? It has to do something different to be interesting.
mmahemoff1 reply#
Not everyone is using Apple Music (or its competition).

Even for those who are using a music platform, this project still has its unique algorithm that’s likely to surface distinct results. Partly because the developer can do their own innovation and partly because the platforms influence the algorithm in ways that aren’t necessarily aligned with users’ interests. e.g. promoting artists they have favorable relationships with.
The developer can also offer features that Apple et al aren’t offering, perhaps because it would complicate their app too much or isn’t high priority, but makes sense for a specialized tool like this. e.g. fine grained settings to filter and sort results.

emodendroket#
No, but the tool already features heavy integration with Apple Music, so I assumed that was the target demographic.