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
paxys2 replies#
How the hell do you even get access to the entire iTunes catalog?
fallingmeat1 reply#
i think that would be an even more interest post.
hgsgm#
"Apple Music doesn't have rate-limiting. The end."
fragmede1 reply#
um, isn't that just the Apple Music paid subscription service, their Spotify competitor? They only advertise ("over") 100M songs though, I'm not sure where the extra 20M come from.

https://music.apple.com/subscribe

paxys1 reply#
Sure, but it really can't be as simple as paying $10 for the month and looping through the entire catalog and downloading it...right? Did nothing in their system catch millions of simultaneous track requests and a petabyte+ data transfer for a single user?
fragmede#
Why would that be against the TOS?
jspann#
That is a great idea! Measuring distance between embeddings has always been a cool concept (ex. If I have a vector that represents the word "king" and from it subtract the vector that represents "man" then add the vector that represents "woman" it will approximately equal the vector for "queen") and it's awesome to see the same concept applied to music.

Most other services try to find matches by seeing what other songs the people who like the searched song like, and finding trends amongst those. This site finds songs with similar sounds and rhythms by looking in the vector space. Awesome! Congrats on the finished site!

nightkall1 reply#
Fantastic tool, thanks for making it!

As others said, it would be a nice option to export it as a playlist for Spotify/Apple/Youtube or a .txt file with "Artist - Track name" in each line. Then you can import the txt file into a playlist converter tool like www.tunemymusic.com and play it in your favorite music service. Mine is discoverquickly.com where you can listen Spotify playlists fast with mouseover, and discover related songs/artists.
An autoplay x seconds of every track, where you can choose the number of seconds, would be a nice addition too. This way you can discover music while doing other things.

subtech#
Playlist + some sort of auto-playing mechanic is coming!
rcarr#
Possibly an unpopular opinion (which is ironic), but I think this could do with taking popularity into account. The vast majority of music out there is generic landfill at best, and just outright bad at worst. I think once you've done the first pass and got the sonically similar songs there should be some kind of filter which prioritises tracks with higher listener counts which would inject some 'wisdom of crowds' into the decision making. It would be a pretty cool feature to then be able to have this setting on a slider with obscure at one end and popular at the other.

Load more comments