Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I recently ported [Chromaprint](https://github.com/acoustid/chromaprint/) to Zig. If there's interest I would be happy to extract it into a separately maintained package. For now it lives [here](https://codeberg.org/andrewrk/player/src/branch/main/player/...). I also did a [semi-related talk about this](https://www.youtube.com/watch?v=SCLrNqc9jdE).

For context, Acoustid is a MusicBrainz-adjacent service for figuring out the MusicBrainz ID of a song based on the sonic content alone, even if it has been distorted or compressed. Chromaprint is the logic for computing an Acoustid given a song as input.



Oh, really cool to see my old code implemented in a different language. There is one other reimplementation, I think in C#, but that's much much more verbose. I wanted to experiment with Zig for a long time, this seems like a good opportunity to get at least familiar with it.


Oh hi! Thanks for checking it out :-)

Thanks for Acoustid! It's a bastion of the old guard free and open source software movement. I love that you figured out how to run the service for free for a long sustained amount of time by rate limiting it to keep the costs reasonable.

Looking forward to integrating with acoustid.org in my hobby music player side project!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: