MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Shazam Mirror Module

    Scheduled Pinned Locked Moved Unsolved Requests
    10 Posts 4 Posters 2.3k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? Offline
      A Former User @sdetweil
      last edited by

      Interesting challenge.
      But, MMM-Hotword(snowboy) should first know what to catch before it sounds. So that module would not match to your purpose - anonymous lyrics catching.

      Usually for that feature, you need STT (Speech-To-Text) solution. I made one for my private purpose with Google STT for MagicMirror, but I think not recommended. Because it is pricy and your purpose is tooooo ambiguous random.

      Anyway, this WHAT-IS-PLAYING-NOW could be a very interesting challenge and worth to invest time. If nobody make a result, I’ll try this in a few days.

      S 1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User
        last edited by

        Hmmmm… AudD is not free. (Default free 300 req is just for one time, not refreshable)
        1000 req per month is $2, 2000 req per month is $7. the next plan is $420. wow.
        So, not enough for usage as ALWAYS-LISTENING-DETECTION.
        However, it is somehow useful for TELL-ME-WHAT-IS-THIS-SONG.

        1 Reply Last reply Reply Quote 0
        • M Offline
          Mihonarium
          last edited by

          Hey,
          I’m from the AudD team.

          @sdetweil said in Shazam Mirror Module:

          a file - you don’t have that

          Actually you do have files. You can record what’s playing using a microphone and send it to the API. AudD is music recognition API, and that’s exactly what it has been built for.

          @Sean said in Shazam Mirror Module:

          Hmmmm… AudD is not free. (Default free 300 req is just for one time, not refreshable)
          1000 req per month is $2, 2000 req per month is $7. the next plan is $420. wow.
          So, not enough for usage as ALWAYS-LISTENING-DETECTION.
          However, it is somehow useful for TELL-ME-WHAT-IS-THIS-SONG.

          That’s right. Also, we would be happy to support developing a music recognition module for smart mirrors, so if you need more requests during the development, just contact us.

          ? 1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @Mihonarium
            last edited by

            @Mihonarium
            Glad to hear from you. With my brief glance, There seems no quota-remains API. Instead of that exact API(I don’t want to consume quota just for querying how much quota remains), it will be nice to return available-quota as a result of the normal API request.
            I think $2 or $7 plan is enough for TELL-ME-WHAT-IS-THIS-SONG device as MagicMirror in house.
            It will be interesting challenge for me. Wait for a while. :D

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Guest
              last edited by

              @Sean said in Shazam Mirror Module:

              But, MMM-Hotword(snowboy) should first know what to catch before it sounds.

              well, you would use the hotword, then the phrase (what is playing now), I think u have all that

              and then go into record mode (function config) for some configured seconds then stop recording, (operation completed)
              then take that wave file and send it to the reco engine, and get text back, which you present or speak.

              I also added a ‘give up the mic’ operation to the pocketShpinx library so some other module could use it. (the mic)

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              ? 1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User @sdetweil
                last edited by

                @sdetweil
                Sure, Already my MMM-Hotword has the feature - Hotword then seamless recording. So I need just to make a module to request API with that file recorded.
                All I concern about is, what to do with the result. I’m considering searching and playing song from spotify by humming.

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Guest
                  last edited by

                  @Sean said in Shazam Mirror Module:

                  and playing song from spotify by humming.

                  yes, operation,
                  mirror, play song with music like this (record)
                  mirror, what song is this (record)

                  how do you know hum vs text… well, reco can tell you. no text back…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Sam, technical setup by Karsten.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy