Read the statement by Michael Teeuw here.
Shazam Mirror Module
-
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. -
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 asALWAYS-LISTENING-DETECTION
.
However, it is somehow useful forTELL-ME-WHAT-IS-THIS-SONG
. -
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 asALWAYS-LISTENING-DETECTION
.
However, it is somehow useful forTELL-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.
-
@Mihonarium
Glad to hear from you. With my brief glance, There seems noquota-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 returnavailable-quota
as a result of the normal API request.
I think $2 or $7 plan is enough forTELL-ME-WHAT-IS-THIS-SONG
device as MagicMirror in house.
It will be interesting challenge for me. Wait for a while. :D -
@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)
-
@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. -
@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…