We often have great trouble telling whether or not we should be in a room, especially around christmas. Wouldn't it be so much easier if we could phone a number, and it tell us whether to stay or leave?
What it does
You call our hotline, it will listen for sound until you press #. If it detects christmas music, it'll let you know that the room is okay to be in, if it doesn't detect any music it says so, and if it detects non-christmas music it tells you to leave.
How we built it
The Spotify API is used to get a list of christmasy songs and store them in an array. Nexmo is then used to receive incoming calls, and forwards them to our Node app. It records a section of the call and sends it to the ACRCloud music recognition API. It then compares the response with our list of christmas songs, and sends a text-to-speech response using Nexmo.
Challenges we ran into
Nexmo has its quirks (but it ultimately pretty great). ACRCloud is horrible.
Accomplishments that we're proud of
What we learned
What's next for Get out