Share your repls and programming experiences

← Back to all posts
🤟 Skrrt - Music recommendations, done right.
h
jajoosam (674)

I'm so excited to finally share skrrt with all of you!

I spend several hours every week curating my music - I can't rely on spotify recommendations to give me what I want. I want to be able to tell something the music I like instead of it predicting what I might like, very ambiguously.

skrrt gives me the music I ask for.

{
    "name": "Study Music",
    "seed_tracks": ["A lot", "Middle Child"],
    "seed_artists": ["21 Savage", "J Cole"],
    "instrumental": true,
    "key": "minor",
    "danceability": { // 💃
        "min": 10
    },
    "popularity": { // 👀
        "max": 80,
        "min": 30
    },
    "speechiness": { // 🎤
        "max": 40
    },
    "energy": { // 🔥
        "min": 50
    }
}

skrrt will be able to parse this filter, and then play songs similar to a lot and Middle Child (provided in seed_tracks) - the filter will also take inspiration from the artists in seed_artists.

But that's just the basics.

  • Because I'm trying to focus while playing music from this filter, skrrt will only play instrumentals.
  • I also want to listen to darker, thugger music with this filter - and choosing Minor keys will make sure that happens.
  • I want to be able to discover some music I haven't heard before, but also not listen to music that's super new and unreviewed - setting a maximum popularity to 80 and a minimum to 30 takes care of this.
  • I don't want tracks where rappers go crazy and 100% lyrical - setting a maximum speechiness to 10 makes sure I get more of the mumble kind.
  • To prevent super fast tracks, I set a maximum tempo to 100 - but I still want to keep the energy up (loudness, dynamic range) - which is why I set it to a minimum of 50.

And there's more! You can have customize all of this with skrrt.

Try it out on https://beta.skrrt.fun

Want to make your own filter? https://docs.skrrt.fun - and let me know if I can help!

I can't wait to hear what y'all think! 👊💥

Update: there's a newer version out at https://live.skrrt.fun - haven't updated the original repl :)

Commentshotnewtop
[deleted]

Very cool. Is the repl open source? I'm guessing it uses the spotify API to get stuff like danceability, speechiness, ect.? It would be cool to see the code.

jajoosam (674)

@Skalwol yep, its open source now - and yep, it uses the spotify API for most things (some custom implemented).

Code is super messy, but I'm happy to answer any questions :)