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

knaik949 replies#
This is very interesting, but unfortunately I haven't had the greatest luck in finding new songs I would enjoy listening to. It absolutely finds similar sounding tracks, but it doesn't distinguish which part of the song made it enjoyable. There's no tempo consistency or genre consistency or even main instrument/vocal timbre consistency between recommendations. I think locking one or more of those dimensions would allow for much better recommendations. I'm not sure what aspect you're using to order the results, but having extra metadata to filter or group the results in some way would help a lot.

Take Raga's Dance by Vanessa-Mae, A R Rahman, ... Royal Philharmonic https://maroofy.com/songs/476841571 . I put in this track expecting other fusion songs to pop up, and arguably some do, but much more often it feels like a 20 second section was used to define the original song and it misses the underlying concept. Like it got, in my subjective description, the epic violin in orchestral music, but it completely ignores the fusion between the distict styles of traditional indian singing/instrumentals and western ochestral and also ignores the call response structure between the violin and carnatic players, which is the what I actually care about. Other songs have the vocals but no epic backing. It feels like it's matching multiple samples from the song instead of the whole song.
This feels very promising since it clearly is picking up the styling of the specific songs across different genres and languages. I look forward to seeing where this goes.
I also think it would be interesting if there was a way to specify two different songs to find either only the common things and/or to find what the fusion of those two tracks produces.

subtech6 replies#
Hey thanks for the feedback! I definitely have a lot of improvement to do on the model, it currently performs better for some styles/genres of music than others.

But the model architecture I'm using is kinda outdated as well, gotta iterate on it more to improve it further!
I'm also thinking of letting users upvote/downvote results, which can also help improve quality on the ranking side.

runnerup2 replies#
Honestly it's loads better than current Spotify/YouTube Music suggestions. Mostly they just seem to suggest popular stuff that's heavily marketed...even though I seeded all my "thumbs up" with only eclectic stuff.

Yes, it's hard to find a song I really really like, but 1-in-10 seem to be something I'd add to my eclectic "thumbs up" playlist. And almost none of them are by any artist that I've heard of before.
This is huge for me. Thanks.

chiefalchemist1 reply#
You're not alone. For me, Spotify suggestions are "things you won't hate." Most everything is palatable, but forgettable and too usually not all that interesting.

Continue this thread — 1 reply

colordrops1 reply#
I never get any heavily marketed music recommended on Spotify. Almost invariably it's something obscure. But I only ever listen to obscure music. I guess I'm saying I don't think the Algo is weighted for payola.

Continue this thread — 1 reply

turkeygizzard1 reply#
Wanted to hop on and say this is amazing, thank you for sharing this! Also agree that it seems that it's really good at finding literally similar sounding songs, but not what I would expect a friend to recommend (this is both good and bad I guess). As someone else said, this is already way better than my spotify recs
subtech#
ty for ur kind words! <3
anagram6662 replies#
Another strange music for your testing that gives complete bonkers recommendations: https://maroofy.com/songs/1486467186

If you need someone to test your model, you will never find one with more eclectic/strange taste than me ;)

defrost#
FWiW I had one shot and entered "Tabaran"

Rather than get back anything "acoustically similar" it simply returned a list of other songs on the same album (several of which are far from being acoustically similar).
No drama, you're attempting to cover a lot of ground, but I'm guessing there was no actual fingerprint there for that work and no sense of other songs that sounded similar.
ADDENDUM: Okay, I had to select the song .. but still "something went wrong" - perhaps hugged to death or not found to process. No matter :-)

thegabriele#
I don't know if someone already said this, but as an amateur music producer i would love to upload my songs and discover similarities. Thanks for this Amazing tool
mustacheemperor#
I'll note my own experience, that Spotify and Apple Music both struggle to find me latin reggaeton outside a small subset of popular artists, and my first couple searches with this tool have found me so much music I've never heard before that matches exactly the 'vibe' I want to hear, and is introducing me to different-but-related sounds and artists I couldn't have found on my own.

I agree with the other commenter - this is huge for me. Please, do whatever you need to do to monetize this so it never goes away. I would love to pay you for this.

brentis#
I had the same experience. Could see the element which it matched with, beat, pitch, etc.but missed the riff or nuance that made the source song special to me
Abecid#
Same here
dbtc#
I am enjoying Raga's Dance, which is nothing like what I was just listening to. Thank you for the recommendation ;)
anagram6661 reply#
If I am not mistaken, it this is only trained on the preview and not on the entire song.

If you listen to a music with a real intro, it gives strange results. For example: "Goodbye Blue Sky - Pink Floyd" (https://maroofy.com/songs/1065976153)

microtonal#
Same for "Station by Station - David Bowie" -- lot's of tracks with ambient noise.
zuminator3 replies#
I agree with everyone's criticisms that it seems to identify similar tempo and melodic riff, irrespective of genre. But to me this is a feature, not a bug. I could see this or something like it opening my eyes to music I would never possibly have found on my own. I really like it!

Spotify on the other hand seems to want to send me to the same group of artists and tracks I've listened to before, following some Collatz conjecture type algorithm that eventually converges on the same tuned playlist for that genre, no matter what the starting parameters may be.

f1refly1 reply#
> But to me this is a feature, not a bug. I could see this or something like it opening my eyes to music I would never possibly have found on my own.

What makes it different from a big "play me a random song" button then?

mejutoco#
They have some similarity based on the actual music.

> it seems to identify similar tempo and melodic riff

Dwolb1 reply#
It’s a pretty cool idea and gets to a philosophical question really quick “what do people mean when they say they like similar music?”

Era? Artist? Genre? Sound? Tempo?
Personally I spend my time finding similar-era music because I like to hear how sounds evolved.

zuminator#
Ideally one would like an algorithm to be able to realize,"this person prefers to explore new music from the same era," vs "that person prefers to jump around to different countries," vs "the other person prefers to remix their existing playlists," and thus come up with the optimal degree of novelty for each listener. Or at least let the user set a novelty slider to customize their own experience.
criddell#
Spotify wants you to listen to the tracks that they are paid to promote.
gradascent#
I've only tried a few songs but they've mostly been bangers! I did come across a couple examples where the recommended songs just heavily sampled the original but overall very impressed.

Continue this thread — 2 more replies

ojo-rojo3 replies#
I've never commented on HN before, but I feel compelled. Congrats, you get my first.

I've been using your site for 10 minutes and already added song after song to my library. I'm sure you'll improve the matching algorithm over time. This is a great first step; I'm being exposed to songs I've never come across before.
Good job!

subtech#
Thanks a lot, definitely have a lot of work to do with improving the model!
kjhnstartip#
Same for me, I don't comment often, but this is great! I like having instrumental music for when I'm working (with no vocals), so if the model could classify vocals vs no vocals that would make it even more useful for me.
mr-pink#
good job to you for commenting. i wouldn't have checked it out otherwise
AlecSchueler1 reply#
This is actually great, one of the most promising recommendation algorithms I've come across.

I love that it's working by sound. So often eg Spotify will insist I check out other bands in the same "scene" or from the same era as other artists I like, and in genres as broad as "70s rock" it can be really tiring.
One of the first tracks I tried was Natural Woman by Carole King. I love that it recommended other slow but rhythmic piano vamps with tender vocals by artists singing in other languages, some modern, some old, as well as some sung by men. It even recommended me more Carole King which is I guess shows it's picking up on something constant in her music.
What impressed me was that it recommended quite a lot of numbers in the same key! It was funny clicking through them and the tonal centre being unchanged. It was like they really were different but the same.
It definitely doesn't understand everything about tonality though! I tried some atonal music next, Naama for solo harpsichord by Iannis Xenakis, expecting to get more atonality back. Nope, first result was very firmly tonal: "Suite in E flat major" by Bach for solo harpsichord. It definitely got some essential aspects of the pieces down but completely missed the central concepts underpinning their musicality.
Very promising like I say, can't wait to try more things out!

agentwiggles1 reply#
I'm enjoying it a lot too, I've always been a bit frustrated by what you describe with Spotify. It's like it's keying more on genre than sound, which has both pros and cons, but ends up giving me a lot of music that is nominally in the same genre but missing the qualities I like about a certain song.

Probably my favorite song of all time is Close to the Edge, by Yes. Spotify will happily provide me with tons of recommendations for 70s prog - much of which I love too, but some of it leaves me cold.
Maroofy came up with "Good Day" by Leigh Ashford, a song I had never heard of. It's very interesting to compare it to CttE - it's not a very similar song in most respects, but has a similarly prominent bouncy bassline. I like the song, and I don't think I'd have found it via spotify or any of my other usual music discovery sources.
Overall this is very cool, great project.

subtech#
Thank you so much! With an improved model, things should get a lot better! :D
goldemerald2 replies#
Wow, these songs were impressively similar to my queries. I would love for a interpolation playlist feature, where I put in 2 different songs (from say, classic rock and EDM), and I could get 10-20 songs that slowly change from the start song to the end song.
jameshart1 reply#
Yes, this: can you get any interesting insights by playing with the embedding vectors? What happens if you add embeddings together? Weighted average of multiple tracks? Follow the average vector for an artist's work over time?
subtech#
100% This is definitely worth exploring, and I'm currently trying to figure out the appropriate front-end UI/UX to expose this functionality for users.

Load more comments