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.

  • 9point6@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    7 days ago

    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)

  • Rhynoplaz@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    7 days ago

    Sounds like quite the endeavor. I’m just curious how you would collect recordings of all video game music for the database. Music is distributed as tracks on an album, and I don’t know if you can easily rip that data from the code, or if someone would have to record it from gameplay.

      • Rhynoplaz@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        7 days ago

        Right, but they wouldn’t be able to identify Wood Man’s theme from Mega Man 2. As far as I know, nobody has collected and included those in the recognition software.

        • SkaveRat@discuss.tchncs.de
          link
          fedilink
          arrow-up
          2
          ·
          7 days ago

          You’d be surprised what they have in their database

          Also, just tested that song and Shazam didn’t have any problem identifying it

          • Rhynoplaz@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            6 days ago

            This post was a spinoff of another post from a few days ago asking why most video game music isn’t in those databases. So, I started from that assumption. I probably just picked a bad random example, because wood man slaps.

            • SkaveRat@discuss.tchncs.de
              link
              fedilink
              arrow-up
              2
              ·
              6 days ago

              True

              Although those databases really have basically everything

              Once I was sitting in a train and pixel randomly detected the high pitched wirring of the accelerating train as a random Himalayan pan flute song with a 3 digit playback count on Spotify

  • fuckwit_mcbumcrumble@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    0
    ·
    7 days ago

    You probably could. But what’s the target demographic for this?

    How many songs does a typical game have? You could just look up the soundtrack and play from the 12 different songs until you find the right one.