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
mguin1 reply#
It's actually great. I got a ton of good recommendations. The key is to actually use it to search songs of similar beat or tone.
subtech#
Personally, from using it a lot during development, I found that I kinda developed a sense for which types of songs it'll do really well on, and which types of songs it will sometimes struggle with.

But a lot of this should go away with a better, improved model!

Knucklebones#
This is amazing. I actually really like that it gives you songs across completely different genres and moods (while keeping the beat). One piece of feedback - it'd be nice if the search box didn't clear if you click out of it to e.g. look at another tab while it loads.

If you ever write a blog post about the process of making this, I'd love to read it.

gattis#
It's quite good. Tried a couple house/electro/ebm tracks and it gave a good mix of stuff you'd expect and novel stuff you wouldn't. It finds a lot of songs that sample a given song, for obvious reasons. Glad someone gave this a go without any collaborative filtering or user ratings, just digging through waveforms alone.
toomanyrichies#
I'm teaching myself deep learning at the moment, and learning about embedding vectors was the first "holy shit!" moment I had.

To me, it's fascinating that not only can you:
-represent things like words as vectors,
-map them in a multi-dimensional space, and
-use that space to find the "closest" neighbors (i.e. the most similar words)…
…but you can actually perform "mathematical" operations on them.
The canonical example is that, if you represent "king", "queen", "man", and "woman" as vectors in your embedding space, then you can ask your model "What is king - man + woman?" and (provided it's trained appropriately) it will return "queen".
I look forward to the day when we can ask something like "What is 'Bohemian Rhapsody' - 'Queen' + 'Velvet Underground'?". Which, if OP's model were to be trained on whole songs instead of previews, would probably be a reality!

Load more comments