News for hackers. Stuff that matters.
Re:Shazam for Mac by cseelus on Thursday July 31, 2014 @09:54AM (#8114068)
Personally I would never allow any app to use my microphone all the time, effectively being able to monitor a certain area around the device it is running on all the time. This is gross.

This is all the more true for an app from a company that did transfer sensitive user data to third parties in the past.[0]

In Germany, under certain circumstances, it is also illegal to make sound recordings of persons without their knowledge.[1] This might be the case in other jurisdictions too.

[0] http://www.google.com/translate?hl=en&ie=UTF8&sl=auto&tl=en&...

[1| German Civil Law Code § 201 
– Breach of confidentiality of the word: http://www.google.com/translate?hl=en&ie=UTF8&sl=auto&tl=en&...

Re:Shazam for Mac by simonebrunozzi on Thursday July 31, 2014 @10:53AM (#8114432)
When it goes to these things, I love Germany. I wish more countries were so respectful of human rights.
Re:Shazam for Mac by jwallaceparker on Thursday July 31, 2014 @10:50AM (#8114405)
My first job was at a record store. The owners were an old man and his wife.

The old man was essentially Shazam personified. It was amazing. He could name any song, composer and artist after listening to a few beats. Except he would do it with old jazz artists and big band music.

Coincidentally the old man had huge ears. Enormous.

And when you'd ask him how he could remember all those songs, the wife would chime in, "It's cause of his ears. The songs all stay in his ears. Bouncing around."

The record store is long gone and the space is now occupied by a Cold Stone Creamery.

Re:Shazam for Mac by ShinyCyril on Thursday July 31, 2014 @08:12AM (#8113593)
Whelp, that pretty much obsoletes my app http://audentifi.com :(

Time to evolve!

Re:Shazam for Mac by Hates_ on Thursday July 31, 2014 @08:15AM (#8113601)
Not really. The app only picks up music from ambient mic input. Your app looks like something I've needed for a while though!
Re:Shazam for Mac by ShinyCyril on Thursday July 31, 2014 @08:22AM (#8113624)
I just found out - it seems like an oversight on their part.
Re:Shazam for Mac by pations9 on Thursday July 31, 2014 @08:34AM (#8113669)
Can you tell us how you are doing this? Do you have an own database with which you compare the music to ?
Re:Shazam for Mac by ShinyCyril on Thursday July 31, 2014 @08:36AM (#8113679)
The actual identification of individual songs is done using the Echonest API (they have a huge database of song hashes).

Before this can be done however, the placement of each song within the audio track as a whole needs to be determined, which is done with a combination of ffmpeg and C. Currently this process is quite slow and inaccurate - I'm trying to learn some ML theory at the moment with the hope of improving it!

Re:Shazam for Mac by muzakthings on Thursday July 31, 2014 @12:15PM (#8114970)
I've made my own audio fingerprinting software in Python under the MIT license, check it out!

https://github.com/worldveil/dejavu

Re:Shazam for Mac by ShinyCyril on Thursday July 31, 2014 @12:49PM (#8115217)
Great work and a really interesting read! Really nice performance too - for reference Echonest advises samples be 30s or longer for optimum recognition.
Re:Shazam for Mac by scrrr on Thursday July 31, 2014 @06:28AM (#8113312)
Hm, so is this app running and listening in to the mic constantly? (Also: Extra network traffic and cpu activity.)
Re:Shazam for Mac by unfamiliar on Thursday July 31, 2014 @06:41AM (#8113346)
Yes, but there is an on/off switch which presumably stops this activity. The energy impact in mavericks while "listening" is hovering around 2 on my machine. For comparison, Safari is at 8.
Re:Shazam for Mac by coldtea on Thursday July 31, 2014 @09:52AM (#8114048)
The difference is Safari is doing something immensily useful, whereas Shazam is a gimmick.

That and, constant audio surveillance (even with "an option to turn it off")? No thanks...

Re:Shazam for Mac by bwindels on Thursday July 31, 2014 @07:53AM (#8113535)
My first thought as well. This could be used as constant surveillance tool if Shazam chose/was forced to shared the uploaded data with GCHQ/NSA </paranoid-theory>
Re:Shazam for Mac by coherentpony on Thursday July 31, 2014 @06:33AM (#8113321)
Of course. How else are Shazam going to make money? They need to listen to you, process the audio using a natural language processing procedure, and then target advertising at you.
Re:Shazam for Mac by nobody_nowhere on Thursday July 31, 2014 @07:55AM (#8113545)
Can confirm that they're pursuing this business model: particularly to see what TV ads you're being exposed to. Coverage from existing sources is panel based with low sample sizes that do not extend well into more targeted research.
Re:Shazam for Mac by k-mcgrady on Thursday July 31, 2014 @06:32AM (#8113319)
I can't say for sure but from reading the description is sounds like it and I'm not downloading it for the reason. They need to make it clear.
Re:Shazam for Mac by hodgesmr on Thursday July 31, 2014 @09:50AM (#8114031)
The same statement can be said about the mobile apps. Also, Shazam is now baked into Siri.
Re:Shazam for Mac by dserodio on Thursday July 31, 2014 @10:15AM (#8114196)
AFAIK, the mobile apps only listen to the microphone when the app is open, not in the background
Re:Shazam for Mac by dan1234 on Thursday July 31, 2014 @11:29AM (#8114664)
They can listen in the background and Shazam will do this if you enable Automatic mode, though the iOS status bar turns red while the microphone is being accessed by a backgrounded app.
Re:Shazam for Mac by hodgesmr on Thursday July 31, 2014 @10:48AM (#8114397)
This is incorrect. They added background listening months ago.
Re:Shazam for Mac by dserodio on Wednesday August 06, 2014 @04:05PM (#8144546)
I'm glad they haven't added this creepy feature to Android yet
Re:Shazam for Mac by philmcc on Thursday July 31, 2014 @10:44AM (#8114381)
I wonder what the most common use case is for this? It's rare that I'm in front of my computer, there's music, and I have no way of determining what it is.

The mobile version makes -more- sense to me.

Re:Shazam for Mac by DanBC on Thursday July 31, 2014 @10:47AM (#8114386)
People on laptops in coffee shops?

Students?

Re:Shazam for Mac by muzakthings on Thursday July 31, 2014 @12:17PM (#8114986)
Why fingerprint audio with Shazam when you can do it yourself?

I've made my own audio fingerprinting software in Python under the MIT license, check it out!

https://github.com/worldveil/dejavu

Re:Shazam for Mac by coob on Thursday July 31, 2014 @09:39AM (#8113951)
Works well. Minor nitpick: needs a dark icon option. It's the only colour menu bar extra I have.
Re:Shazam for Mac by k-mcgrady on Thursday July 31, 2014 @10:43AM (#8114375)
With dark mode in Yosemite I've got a feeling devs will need to either do a dark and light version of menu bar icons or go all color. Currently my menu bar is useless in dark mode as I can't see any icons.
Re:Shazam for Mac by Hates_ on Thursday July 31, 2014 @06:43AM (#8113350)
Wish it could pick up music from internal audio. Plenty of times I've wanted to try detecting music in YouTube videos.
Re:Shazam for Mac by Udo on Thursday July 31, 2014 @07:00AM (#8113394)
SoundFlower does this, it's open source. It contains a decent chunk of audio routing features that are inexplicably missing from the core OS X.

For instance, you can route application audio out to a Soundflower channel and use that as input for another app.

Edit: just checked, Soundflower rerouting works perfectly with the Shazam Mac app, tried it out on a couple of YouTube songs, and it got it right on 47 out of the current top 50. It's a shame that Shazam is still only useful for mainstream stuff, when I tried it on some random metal, Goa, soundtracks, and industrial... 0 out of 15.

Re:Shazam for Mac by dserodio on Thursday July 31, 2014 @10:13AM (#8114181)
It's recently become really good at electronic music since they signed a deal with Beatport: http://news.beatport.com/blog/2013/02/06/beatport-x-shazam-a...
Re:Shazam for Mac by sjtrny on Thursday July 31, 2014 @07:23AM (#8113451)
I use sound flower all the time. Great app!
Re:Shazam for Mac by ShinyCyril on Thursday July 31, 2014 @08:13AM (#8113597)
http://audentifi.com does this :)

I must have skipped over the article as I assumed it could pick up on internal audio. Seems like an oversight...

Re:Shazam for Mac by M4v3R on Thursday July 31, 2014 @06:51AM (#8113371)
You can do this (and a ton of different cool stuff) with RogueAmoeba's Audio Hijack Pro app, which lets you route audio from one app to another, optionally applying some filters to it. I sometimes use it to fix audio out-of-sync problems in certain videos.

Edit: As commenter above noted, the audio routing functionality is also available with the free Soundflower app.

Re:Shazam for Mac by mmahemoff on Thursday July 31, 2014 @07:12AM (#8113426)
Assuming you have the volume up, why can't it pick that up from the speaker?
Re:Shazam for Mac by wingerlang on Thursday July 31, 2014 @08:03AM (#8113573)
It can, and it does. Well, it just did for me anyway.
Re:Shazam for Mac by Hates_ on Thursday July 31, 2014 @08:14AM (#8113600)
No speakers on my desktop sadly.
Re:Shazam for Mac by andrewingram on Thursday July 31, 2014 @08:13AM (#8113599)
Well it's definitely picking up what I'm listening to on both Spotify and Youtube with my headphones on.
Re:Shazam for Mac by circa on Thursday July 31, 2014 @09:30AM (#8113901)
I've always liked Shazam but I like what http://www.soundhound.com/ did with their app better.
Re:Shazam for Mac by wingerlang on Thursday July 31, 2014 @08:04AM (#8113577)
Anyone know what the timer is? Could it be a timer for usage per day? I can't seem to find anything about paying them for it.
Re:Shazam for Mac by Udo on Thursday July 31, 2014 @08:13AM (#8113596)
It's the countdown until the mic switches off again. You may not want to keep the line open all the time, it may prevent your computer from going into power saving mode (not sure), and Shazam probably doesn't want everyone to hit their servers constantly either.

But if you switch it off and on again the timer starts anew, so it's not a per-user limit.

Re:Shazam for Mac by baby on Thursday July 31, 2014 @09:58AM (#8114099)
Is there the equivalent for Windows?
Re:Shazam for Mac by boristhespider on Thursday July 31, 2014 @10:26AM (#8114265)
Perhaps not quite the equivalent, but there is a "Modern UI Style" app: http://apps.microsoft.com/windows/en-gb/app/shazam/5593d150-...