Show HN: Shaq, a CLI for Shazam
blog.yossarian.net
blog.yossarian.net
...If anyone wants to steal this idea and do it themselves, I won't mind.
I've tried doing a similar project too, but never ended up releasing it properly: https://codeberg.org/notpushkin/shazamctl
If you'd like an idea for adjacent project, I was planning to make a menubar app (on macOS) / applet (on Linux) wrapping shazactl after releasing it – I think that might be a nice addition to Shaq, too!
Shazam already has a desktop app that can listen to your ambient sound in your room from the microphone.
Or, once this @figsoda PR[0] gets merged and it gets in the nixpkgs unstable you can use `nix run nixpkgs#shaq -- --listen` or `nix shell nixpkgs#shaq` instead.
https://ismir2003.ismir.net/presentations/Wang.pdf
https://www.princeton.edu/~cuff/ele201/files/Wang03-shazam.p...
At scale, you just need a really fast key-value lookup table - and of course, the legal permissions for all the audio files. But if you have a proprietary set of audio files you want to be able to match ambient audio recordings against, it's absolutely feasible to implement from scratch.
https://stackoverflow.com/questions/6269167/open-source-audi... has a number of open-source solutions using similar approaches.
I think you are underselling the engineering effort a bit there, I'm sure the engineers working on it for years have a reason for still being there.
With regards to engineering, I believe the lion’s share of Shazam’s engineering goes to things other than the core algorithm: app development, song ingestion pipelines, enterprise analytics for the record industry, etc.
> scrobble: verb. (of an online music service) to record (a listener's musical preferences) and recommend similar music that he or she might enjoy.
Source: https://www.collinsdictionary.com/dictionary/english/scrobbl...
Curious to know if there's an equivalent for video games.
I had been looking for an open source shazam-like for a while before giving up and just installing the app under a work-profile on my phone.
Also learned from the website, something called shazamkit exists for official developer use. cool.