Haskell app for building DJ sets/playlists and providing "next track" recommendation

Hi all, during the last couple of months I’ve been working on a little music-related Haskell program. I thought I’d share it here in case anybody else finds it interesting or want to provide feedback.

This blog post explains the underlying ideas and motivations in detail, and the code is available here.

14 Likes

I’m currently iterating on a nix provisioned replacement for my Moode player which ran on a Pi5 and this is just what I was looking for. I’m beginning the process of building a party mode where partygoers can select tracks and vote on selected tracks (perhaps vetoing tracks that are annoying). This might be a cool addition to the stack to enable suggestions that maintain the flow of the playlist. Very cool! Thanks for sharing. Right now, my web front end runs on Purescript but I’ve gotten really good at marrying Haskell and Purescript over the past year.

Thanks!

Right, didn’t think about it but yep, the idea could also apply to other general “playlist related” stuff (not necessarily DJs) - online radios etc.

Yep, that’s something I was thinking about bud forgot to implement :slight_smile:

Like you could be playing track A and realize that going from that to track B is really horrible, Then you could assign a very high cost to “A → B” so algorithm will treat that as a no-no.

But looks like you’re actually talking about vetoing a track, not a transition…?

1 Like