Neutralizing the iOS camera click sound through active sound cancellation
stackoverflow.com
stackoverflow.com
For example: my iPhone 5, which I bought in China, cannot make or receive voice-only FaceTime calls. Even if I am in the US, using a US SIM, this is the case. It's not related to the GPS or cell tower location, or to the time zone.
The thing that makes this most ridiculous is (a) they don't have the same requirement of digital cameras in Japan and (b) 3rd party camera apps you download for phones are not required to make a sound. Pretty much every Japanese person downloads another camera app for exactly that reason.
Me personally, I just don't want the sound. Sitting in a quiet restaurant taking stupid pictures of my food with my phone is already embarrassing enough without calling myself out with my phone making noise. Hence getting the USA model. Sure I could have used separate camera software but I wanted to be able to use the camera app that doesn't require me to unlock the phone without sound.
I suppose the advent of high quality cameras that are always carried as part of a phone coupled with the very small size of the phone has lead some countries to evolve these regulations.
Perhaps an actual digital camera is felt to fall in the 'not casual' category, so not covered by the regulation?
The laws in Japan that require sounds for the phone are as stupid as punishing legit software purchasers with anti-copying measures. They only hurt the legit people and don't at all hinder the undesirable behavior
iPhone's bought in a lot of countries in the Middle East are equally ridiculous as they disable FaceTime (i.e. there is no FaceTime app). Even if you leave the Middle East, e.g. go to the UK and put a UK SIM in, FaceTime is still disabled. Same if you reformat even after doing that, so it's locked at the hardware level. Taking another iPhone to the Middle East works fine (although in most places it still won't actually work as the countries have internet level filtering in place).
The funny thing is you can still download Skype from the App Store and use that without restrictions :)
So they're concerned that Facetime, maybe particularly Facetime audio, cannibalizes their mobile network call revenue. Yes, Skype and other alternatives may still be available, but Facetime is integrated into the iOS address book and pressing the "call with facetime" button is just as convenient as dialing a contact's phone number.
I saw this crushingly-self-harmful behavior when I lived in the region and experienced expensive, slow Internet access. They also ban ISPs from buying bandwidth from anyone other than a massively-overpriced state monopoly pipe. If they treated mobile and internet as a key enabling infrastructure instead, the massive expansion in business would result in much higher tax revenue than the hit to the measly communications tolls. But they're either short-termist or have friends who personally profit from the telecom departments.
http://appadvice.com/appnn/2010/09/unconfirmed-saudi-arabia-...
http://www.eecs.harvard.edu/~kalyans/research/snapshots/supp...
https://www.privacyinternational.org/reports/south-korea/ii-...
I wonder how many of the people cheering this are also the ones horrified by Google Glass because someone might disable the recording light.
The law does nothing to stop people who want to take pictures without you knowing they're doing it. Anyone who wants to will. The law is pointless
The point of this law is to create the perception that the authorities are doing something about the perceived epidemic of upskirt photography.
The same authorities also erect signs next to escalators warning people that upskirt photography is a crime. They serve the same purpose: to make escalator-riding ladies feel that the authorities are watching out for them.
Don't knock it. It works.
Putting legal restraints on someone else's technology because a very small number of people were subjected to mildly embarrassing/uncomfortable situations is ridiculous.
For example, imagine you're in witness protection and some random person snaps your pic and posts it online. Some face scanning thing finds the pic and it clues in the bad guys to your location. Now you're dead because someone didn't respect your privacy.
Why does that imply that it's OK to dictate how I'm allowed to use my technology? I'd say everyone's right to own and control their own devices trumps a few people's right to feel a little better about all the dozens of scary icky boogy men hanging out on the train.
>Now you're dead because someone didn't respect your privacy.
Which is a completely separate issue from legally requiring someone's device to follow some ridiculous rule invented because of a negligible edge case.
Do you really believe that requiring a camera to make a noise will actually protect anyone's privacy? People can always disable the speaker or do illegal hacks to the device. The only thing this law does is set a terrible precedent of allowing the government to control people's electronic devices.
In the example scenario I gave, the biggest threat to a person's privacy was not hacker types, but just everyday people who post photos online. I think it's pretty self-evident that the majority of people would not modify their device in this way, even if they could.
Why does that imply it's OK to dictate how I'm allowed to use my technology
Even the most freedom-loving libertarians among us generally concede that your freedom doesn't extend to harming others. In the issue at hand we probably aren't even really talking about your freedom, per se, but simply how devices are manufactured. As you mentioned, no one can really stop you from modding a device, anyway.
By the way, you might want to try flipping your own reasoning around, and thinking about what a minor inconvenience it is to hear the camera sound, so that people's privacy can be protected.
> Even the most freedom-loving libertarians among us generally concede that your freedom doesn't extend to harming others.
Do you really consider being able to take photos silently "harming others"?
Why don't we just make cameras on cell phones illegal? After all, your freedom to have a camera "doesn't extend to harming others."
The reason your argument is bullshit is that most people (including libertarians) don't support punishing people before they're proven guilty of a crime. You can certainly punish upskirt-shot-takers, if you want, but don't preemptively mix up literally every innocent person with a smartphone.
>no one can really stop you from modding a device, anyway
But they can and have made it illegal, so if I do modify my device in the way I like they can throw me in prison.
>thinking about what a minor inconvenience it is to hear the camera sound, so that people's privacy can be protected.
This is a completely false dichotomy. The camera sound is not protecting people's privacy to any significant degree. It has the much more significant effect of inconveniencing a huge number of people.
You also haven't addressed the fact that this sets up the precedent for the government controlling people's technology.
In very specific circumstances it can be, for reasons I already described.
In your world where simple privacy-enhancing measures are to be vociferously opposed should they cause any inconvenience whatsoever, I hope you never have enemies that you need to keep privacy from.
http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploa...
I'd imagine analysis of your emotional reaction to some stimuli (gameplay elements, advertisements, whatever) would be fairly valuable.
http://www.wolframalpha.com/input/?i=sin%28x%29+-+sin%28x-0....
Your examples demonstrate the behavior of such filtering only for frequencies much less than 500 Hz, which will indeed be attenuated. However, a camera "click" sound, being both brief and noisy, contains lots of high-frequency content which will be, on the whole, preserved.
In fact, assuming the "click" sound can be approximated by white noise, its total energy will be doubled by such filtering!
So yes, you do need to play the sounds within the same millisecond.
[1] http://en.wikipedia.org/wiki/Comb_filter
[2] http://en.wikipedia.org/wiki/File:Comb_filter_response_ff_ne...
It's just wave addition. -1 + 1, occurring at the same time, is 0.
Again, It's not that simple. Most ANC headphones use a digital feed-forward control system using a variant of the LMS algorithm to provide coefficients to an adaptive FIR filter(s). Generally you also have to apply additional filters to model the loudspeaker / system response. Better systems will use a hybrid analog/digital approach, either way, there is a lot more to it than 'invert the mic signal and add'.
The reason that ANC headphones didn't really exist until recently is that sufficiently high performance yet low power DSPs were needed to perform the necessary computations.
v(t) + -1*v(t) = 0
approach is unworkable because you can't generate the canceling signal (-1 * v(t)) fast enough? By the time you have received it, amplified it, and played it back, it's too late? So you need a predictive approach.The shutter sound comes from the same speaker as the anti-shutter sound. The phone is mixing the tracks together and playing nothing.
It's not like both sounds are played and they neutralize each other as sound waves.
> Wow! Even though I know it's allowed, some coolness points deducted for posting the question yourself :-). I'd definitely do the same though. I'd be stopping random people in the street telling them the hack!
i know posting and answering your own questions is encouraged on SO, it was just a joke!
Diverts sound to headset which doesn't exist. Or just put on a working set of headphones
That's enough to reject an app using this trick.