I heard that the reason why music identifiers don’t work offline is because their databases are huge, with millions of songs (including video game music). Databases containing only video game music may be significantly smaller, even if they contain the soundtracks of over 1000 games.


Google pixel phones have automatic offline music recognition where the database is something like 50MB IIRC and it’s pretty good unless I’m listening to something particularly niche
I assume you could build a similar database if you had the source material to do so.
You’re potentially gonna have an issue with games that have dynamic soundtracks that aren’t exactly the same every time (think in an action game how the music changes based on if fighting or something)
Damn, how do they keep the track metadata in such a small file?
I feel like my iTunes (Apple Music) library data is at least that big.
You had me wondering so I looked it up
I dropped a zero, it’s 500MB (and may be a bit bigger now perhaps)
https://venturebeat.com/media/how-googles-pixel-2-now-playing-song-identification-works