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

Earlier comments
homeless_engi1 reply#
Really cool! From my understanding, it looks like this is doing something like word embeddings and searching for nearby points in the embedding space.

Crazy idea: what if you used a dimensionality reduction like t-SNE instead of learning a vector representation? Would you expect similar results?

subtech#
Thanks! Yup, this is basically custom music embeddings + nearest-neighbor vector search.

I personally found that vector representations performed significantly better than other approaches.
And the results will actually be a lot better once I ship a better model (the current one can definitely be improved upon).

franky47#
Interesting that you linked Hans Zimmer, as he's known for "reusing" material across OSTs. A particular example that comes to mind (and where the AI did not find a match) is The Battle (5:52) from the Gladiator OST vs the Pirates of the Carribean OST.
TuringNYC#
Dear @subtech I was curious if you tried other approaches, such as the same thing with lyrics instead of audio?

Also, you note "I’ve indexed ~120M+ songs from the iTunes catalog" -- could you share some of the libraries/tools you used and which you did or didnt like?

orange81 reply#
The homepage is an empty page with just one search box in the middle. It does not work in firefox.
subtech2 replies#
Hmm I actually use Firefox myself, but tbh, it can be a bit flaky atm due to the sudden surge in traffic. Should become more reliable soon!
macrolime#
It works great, but I couldn't get it to work on Safari on iOS, have to click the "Listen on Apple Music" button to get any sound at all.
orange8#
It may be a firefox specific bug, as when I switched to chrome it worked well consistently. Maybe a network error due to origin policies?

Load more comments