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
andrewmcwatters2 replies#
Tried Erreur 404 by L'Impératrice[1], and I noticed the beat of the other recommended songs were eerily similar!! I'd argue your project is actually too good.

Where Spotify's Discover Weekly tried to connect you to music other people listen to {B, C, D, ...} because you've listened to a particular song {A} {B...->A}, your model quite literally tried to find other music {A₂} that sounds like what you're looking for {A₁} {A₂->A₁}.
Edit: OK, some of these are actually pretty dope...
[1]: https://maroofy.com/songs/1458902217

japanman4252 replies#
… what?
popinman3221 reply#
IIUC: Spotify seems to use something similar to collaborative filtering. People rate songs based on more than similarity, which is what this model seems to provide.
phist_mcgee1 reply#
>IIUC

What?

Continue this thread — 1 reply

wayeq1 reply#
{W₁} {H₂->A₁}*T?
japanman4252 replies#
My thoughts exactly.

r/iamverysmart vibes… someone who has watched one Lex whatever his name was video on the maths of neural networks…

Continue this thread — 2 replies

bobsil1#
This approach is better for remix beat-matching than as new song recs, IMO.
brutus12132 replies#
How did you get the samples for the song? iTunes allows scraping?

Your project is extremely motivational .. how long did it take you? What did you train on? I do DL for work and just play with things like cifar. This is so inspired.

nanidin3 replies#
Apple Music subscription is $12/month and it allows full downloads of songs.
piyush_soni2 replies#
But aren't they DRMed? Or does it let you download in mp3 or related formats directly (I'm not on Apple music)?
manv1#
Analog hole.
s3p#
You're correct, it's DRM only
helsinkiandrew#
Hmmm. I would have thought that Apple would detect and block you if you try to download their entire catalog without some kind of permission. If they're the same size as the files in my Apple Music it would take in the order of a petabyte to store (compression would obviously reduce that).

120M songs would take approximately 1000 years to listen to in normal time and is way beyond normal usage.

netrus#
... but certainly not ALL songs? I would think they notice if you download more then one minute of audio per minute over a long time.
albertTJames#
most relevant
subtech2 replies#
I just wanted to quickly THANK EVERYONE for taking the time to check this project out and give your feedback!

I honestly didn't expect this project to get this much traffic -- I really can't express my emotions via text rn lol.
I'm working on an improved AI model that should address a lot of the shortcomings of the current one, along with a lot of other features people have mentioned (playlists, deduplicating results, volume control, better search UX, etc.).
Got a lot of updates coming, time to ship! :D

LunarAurora#
You should add an option to donate.
bmlzootown#
Volume control is a must. I had my headphones on, at normal volume, and... let's just say I didn't realize just how loud it would be.

Other than that, however, this seems neat. I've been trying to listen to new music lately, so this'll definitely come in handy.

toomanyrichies4 replies#
Finding sources for input data is something I struggle with when building deep learning models. Out of curiosity, how did you go about programmatically accessing the music files for all 120M+ songs, in order to create your embedding vector? I can't imagine iTunes has an API which would let a person do that.
scarface74#
If by”adversarial” you mean a publicly documented and freely available API that has been around in some form for two decades.
proc02 replies#
Also would like to know. I can't even listen to the full songs, and assuming I have to pay. I can't imagine buying 120 million songs, so it has to be some collab with iTunes.
exikyut1 reply#
Thinking about both processing time and the difficulty of sustaining 120M downloads' worth of programmatic access, I wouldn't be surprised if this is actually trained on the track previews.
yunwal#
I’m almost positive it is. If you put in a song with a bunch of different styles, sections (e.g. bohemian rhapsody) the suggestions match the preview
latexr#
> so it has to be some collab with iTunes.

There’s no way today’s Apple would allow such a collaboration. They’d just keep the feature and market it as part of Apple Music.

lfkdev#
Probably scraped them

Load more comments