I wonder if Apple is intentionally forcing the shutter sound, to prevent secret upskirt shots. I know several phones have had shutter sounds that cannot be disabled, and some countries have required it. In that case Apple might reject apps that use this trick.
In Japan, the iPhone will always have the shutter sound even with mute on. You can't disable it or mute it. Even if you didn't buy the phone in Japan, the iPhone will do that in Japan.
Um, no. I just found out about the issue as I bought a Japanese iPhone5S in January and promptly returned it the next day because I couldn't turn off the camera sound. I picked up a USA iPhone5S in Hawaii in February. Have been back in Japan for 2 months now. No sounds coming out of my camera on my USA iPhone5S.
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.
> 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.
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 :)
Middle East countries treat phone and internet as a source of revenue rather than as fundamental business- entrepreneur-enabling infrastructure.
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.
Plain and simple: State capitalism runs the risk of cronyism, corruption, regulatory capture, etc. Singapore is a good example of state capitalism with relatively low levels of all of these.
Film cameras: SLRs are big and obvious, Leicas not so much but still fairly obvious. The Rolleiflex medium format dual lens reflex camera has a leaf shutter and is very quiet at the time of exposure and is held at waist height. Popular with portrait photographers. However a Rollei is not easily concealed. Taking any of these cameras out is a serious undertaking. Bag, film, camera, various extras. Not casual.
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?
I'm not sure what casual has to do with it.
People that want to take up skirt shots aren't casual and they can buy keychain video cameras for $4 a piece on eBay and stick them in their shoes
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
Now the question is - how would the iPhone even know that's in Japan? :) GPS? I think OS X uses the time zone for these things, e.g. to block certain WiFi channels due to legal requirements.
Well, it is a phone... It's going to have access to geo data from the local cell phone towers, no timezone hacks necessary. In fact I believe the iPhone adjusts your active timezone automatically according to the geo data collected from the local cell tower, hence why your phone time changes when you touch down after a long flight.
Actually the time update is not based on inference from location data, but rather it is actively transmitted by the cell network as part of the GSM standard.
Though it's possibly worth pointing out that time/date is not a _requirement_ to the standard and not all networks implement it. It's possibly also worth pointing out that most recent Android devices seem to use NTP at the OS level rather than relying on GSM broadcast info.
As the other poster said, time has it's own standard. In terms of your reply to OP, it's even simpler. The network identifier for an operator broadcast by the cell tower consists of a network code and a country code :)
Maybe it is also transmitted that way, but changing the time zone from Australia from New Guinea has repeatedly fixed my OS X WiFi issues when a Chinese roommate used an illegal channel (in Australia).
It will be connected to a telco network, right? That's how it knows in what country it is. In Europe it is quite common to cross countries borders and as soon as you get connected to your neighbours telco you get a text welcoming you to the country.
Are you sure? I thought regulation-specific stuff like this was baked into the firmware via flags that checked the hardware model number.
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.
Isn't the shutter sound, even where required by law, kind of pointless because unsavory users could just take a video instead of taking a picture? That's probably what perverts prefer anyway.
A quality-minded pervert would probably just buy a $150 digital point-n-shoot. Just as many megapixels, no shutter sound, and much better optical components.
A technical pervert would take a HD video with their phone and then use multiple frames to mathematically extract even higher-resolution stills from it:
Many countries? South Korea is the only one I can find a source for online. In Japan it appears to only be a voluntary choice among device manufacturers.
"voluntary" choice in Japan is basically the regulators telling the carriers that if they don't do it they'll have to regulate. From the carrier's point of view, it's a matter of doing it now in friendly terms, or doing it tomorrow with the regulators on their back.
Yes, I believe Apple requires the shutter sound. They actually rejected the first version of my video streaming App because the recording beep was missing.
Cameras come in all different shapes and sizes.
I can get cameras that look like cellphones. I can even get keychain cameras for $4 off eBay and put them in my shoes.
Set them to video and shoot hours of up skirt shots.
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.
I'm sorry, but I think if you buy that argument, your priorities are totally out of whack.
Putting legal restraints on someone else's technology because a very small number of people were subjected to mildly embarrassing/uncomfortable situations is ridiculous.
Privacy concerns like the right not to be photographed are not just about minor nuisances. People who are victims of stalking, violence, harassment and so on, deserve to be alerted if someone is trying to photograph them.
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.
>People who are victims of stalking, violence, harassment and so on, deserve to be alerted if someone is trying to photograph them.
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.
People can always disable the speaker or do illegal hacks to the device
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.
You don't need to be a hacker to download an android app that disables the sound illegally, or remove the speakers.
> 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.
Do you really consider being able to take photos silently "harming others"?
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.
Are you arguing that it's impossible for any law to increase utility for a small group of people while decreasing utility for a much larger group of people? Or are you arguing that one group's utility is more important than other group's?
The front-facing camera doesn't have an indicator light, so this sound is the only thing preventing an app from stealthily capturing a photo or video recording of you while using it.
I'd imagine analysis of your emotional reaction to some stimuli (gameplay elements, advertisements, whatever) would be fairly valuable.
I would guess that the sounds are both enqueued, and then playback of both actually starts slightly later, perhaps when the audio hardware indicates that it's ready to start accepting data.
No, not really. If you're off by a millisecond (the minimum, assuming 64-sample buffers and 64 kHz sampling rate), frequencies which are even multiples of 500 Hz will be nullified, those which are odd multiples of 500 Hz will be amplified, and the rest will fall somewhere between those extremes. (This is known as a "comb filter"; see [1] and [2].)
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.
Right, but for any point source this is effect is going to vary spatially. That's why you can't make one speaker totally cancel out another speaker over a whole room.
It's interesting to think of 'cancellation' in different mediums. Waves in physical space. Radio in electromagnetism. And now 'computed' waves cancel each other too.
Since it would have more general applicability, I am curious how effective could the noise-cancelling-like method could be? What would be the constraints on its effectiveness?
That's not really what happens in noise-cancelling headphones. The transforms required are fairly complex, simple mixing is a long way from what is required to achieve good results.
The transforms aren't complex... They're inverted. What's complex is getting the timing right (can only occur at a fixed distance from the ear so they can delay the generated canceling waves appropriately).
It's just wave addition. -1 + 1, occurring at the same time, is 0.
> The transforms aren't complex... They're inverted.
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.
Thanks for the correction. I assume that the simple
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.
It's more that sound waves aren't simple 1D sine waves varying over time. Sound is a 3D pressure field varying over time. A single microphone on the outside of the can doesn't give you a full picture of what noise is entering the inside of the headphone. The nature of the noise, the headphone fit on the user's head, even the shape of the user's ears can all influence what the noise field looks like inside the headphones. ANC headphones use 1-3 microphones on the outside and 1 or more microphones inside the can. The DSP makes a guess as to what it should do based on the signal from the outside microphones, then has to make corrections based on what the internal microphones hear, all of this while filtering out your music signal (which the microphones also pick up) so it knows what is noise and what isn't. This is why the system can't be instantaneous, the overall system response is time varying, so the correction filters have to be adaptive. It's also why they do a really good job at blocking continuous noise that they can zero in on an ideal correction for over time, e.g. aircraft cabin noise, but don't do a great job with 'spiky' sounds, like speech.
And if an artist releases instrumental or a capella versions of their track, you can usually use this to get the other. Only works if they're exactly the same as the original of course.
Another trick is to invert one of the stereo channels and add it to the other one: this eliminates everything that was mixed in with neutral pan. That's typically where the voice is. It will also remove e.g the drum kick, but this can be salvaged with a low-pass filter. Note that you end up with a mono track.
While on the subject of these tricks -- disconnect the ground from the audio out, and tie the speaker grounds together. This causes the speakers to use each other as ground, which in effect causes the middle voice to cancel out.
Hilarity from the comments:
I wish I could upvote twice: once for the inverted-cancelling hack, and once for answering your own question, just to counteract anyone daft enough to downvote you for that. – Daniel Earwicker 1 hour ago
i think that was aimed at me. i said in a now deleted comment:
> 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!
There's a checkbox at the bottom of the "Ask" screen that lets you write your answer before posting the question. Makes it easier to document a piece of knowledge if you don't have a blog to post it on.
I guess the app could read the shutter audio file and invert it on the fly, it doesn't need to ship with the inverted sound upfront. As a bonus it would likely work even if future OS updates changed the sound (well, unless they moved the file so it would no longer be found)