Sofa's blog about design, code Ampersand everything else.

« Previous Iconic Monday the 11th of May, 2009 Ruby on OS X Talk Next »

Finding my Phone 

by Dirk Stoop

It seems obvious that you'd want to find your cellphone when it rings. Still it took a while for any one manufacturer to make that easy enough.

I bought my first cellphone in 1998. It was clunky, poor on features and virtually indestructible – trust me, I put that last one to the test. Its killer feature was letting me call and be called from anywhere, anytime. With every next phone I got, I added something to my list of requirements. First up was infrared connectivity, to get my laptop online from anywhere, first at a measly 9600 bps, later at a slightly more respectable 4KB per second. Next up was the ability to vibrate instead of ring. Soon after that, I found the mother of all my requirements: Being able to use my own audio samples as ringtones.

Several years later, the introduction of the iPhone radically changed my requirements, but I'll get back to that in a bit.

As soon as phone manufacturers started expanding their market beyond middle-aged businessmen, ‘personalization’ features and, as a part of those, ringtone customization became more and more common. There is, however, more to a ringtone than personality. Designing a ringtone that is (a) easy to hear over some background noise – without needing playback at the loudest possible setting – and that (b) makes it easy to figure out where in the room you last put your phone, takes some extra effort. An effort that no phone manufacturers seemed to be taking.

By those criteria, all ready-made ringtones kind of sucked back in 2001. I already had a hard enough time finding a ringtone with a small enough ‘Hello Kitty factor’; something that wouldn't make “happy, happy, happy” the prelude to every incoming call, regardless of my mood. But more importantly, I could not find a factory ringtone that did a decent job at helping me answer that most frustrating of questions: Where the hell did I put my phone?

How We Don't Hear Direction

There are many misconceptions about the way our sense of hearing works. How we pinpoint the location of a sound's source is one of its most commonly misunderstood aspects. The most intuitive – and incorrect – explanation is to assume that our brain figures it all out from the differences in how loud a sound is perceived by each ear. Louder at the right than at the left: clearly the source is located somewhere to our right. The truth is a bit more complicated, and way more interesting than that.

Given the right sound, we can determine the direction it's coming from pretty accurately; we can determine direction way more specific than telling apart “somewhere to the right” from “somewhere to the left”. My crude little diagram below illustrates why a difference in loudness by itself would never get us very far. Or close.

A diagram showing two sound sources and their distance to the ears. Two sound sources and their distance to the ears.

In the diagram we see a pair of ears facing the top of the diagram (Those two floppy shapes near the bottom – I promise, next time I'll ask one of my co-workers who *can* make spiffy-looking graphics to me help out). Points A and B are locations of sound sources. For simplicity's sake, both sound sources are omnidirectional and identical in every other way. I will also ignore that there will probably be a face somewhere between those ears which blocks part of the sound to the left ear, because that isn't relevant to point the example illustrates.

As you can see from the list of distances, point A is almost twice as close to the right ear than to the left ear. Consequentially, sounds from point A are significantly louder in the right ear than in the left ear. So far, so good.

Point B is further away, and while at the same angle, it is only around 17% closer to the right ear than it is to the left. That means that any sound from point B is still a bit louder to the right ear, but the difference is way smaller. Yet, with our eyes closed, we would still be able to hear that both points are located in the same direction.

We could draw an entire curve across the diagram of all possible locations that have the same relative difference in distance between the left and right ears as point B. Sounds from anywhere along the curve would be perceived with the exact same difference in volume. The further away from us, the bigger the angle would be. Yet, if we were to close our eyes and listen to sounds from a couple of spots along the line, we'd still be able to discern different directions.

Volume differences only help when things are happening really nearby. Not too useful when you actually need to listen to find your phone.

If you don't believe me yet, get a friend to talk at you from a bunch of different spots in the room while you sit there with your eyes closed. If you can consistently point in roughly the right direction, I'm right. If you can't, I could be wrong, but you'll probably want to get your ears checked.

And How We Do

So it isn't only the difference in volume that lets us determine direction. But A and B do have one other characteristic in common beyond their angle; Sounds from both points have to travel about 47 pixels further to the left ear than to the right ear. They have the same absolute difference in distance. Now, I have no clue what the speed of sound in pixels per second is, so we'll have to translate to some real-world measure. The average distance between human ears is roughly 15 centimeters, using that measure 47 px translates to about 10 cm.

Given the speed of sound through air (343 m/s at room temperature), sound takes 29 milliseconds to travel 10 cm. So sounds from either point hit the right ear 29 milliseconds before they hit the left ear, and that is how we hear direction.

Next to these tiny timing differences, there are other things that help us perceive the direction of sound. In-ear microphones make for such awesomely vivid recordings because the distance between both mics is perfect—in other words, the timing is right—, but also because the auricles of whoever is wearing the mics filter and color the sound recorded by each microphone. Everyone's auricles are slightly different, so these recordings sound perfect to whomever recorded them, and merely extremely good to everyone else. The ‘auricle effect’ is actually pretty significant, it is the only way we can tell a difference between sounds coming from in front us and behind us.

Some tiny animals, e.g. crickets, have some extra plumbing and nerves between their ears to detect direction, basically because their ears are too close together to give their brains a decent chance to process the even tinier timing differences. But for us, small ear-to-ear timing differences are the most important way to determine where a sound is coming from.

Beyond reminding you of some high school physics—sorry about that—I do have a point to make. Not all sounds are perceived equally, which brings me back to the root cause that all ringtones suck. Or at least they used to. Ringtones tend to be simple and monophonic, they often consist solely of highly periodic elements. For our brains to figure out which ear is reached first, we need to hear when a sound begins. Better yet, we need sounds with a complex structure, so our brains can find plenty of little markers along the way to establish which ear is being reached first. Humming works better than the sound of a Theremin. Clapping works better than humming. And talking works better than clapping, because there's more time to listen, combined with plenty of little complexities that we can detect along the way.

Finally, besides complexity and percussiveness, pitch is also important. Low-pitched sounds have longer waveforms, which means that a difference of say 29 ms for that 45° angle is going to be less discernible to our brains for low-pitched sounds. This is why people actually buy 5.1 surround systems and don't massively return them; it doesn't affect the surround effect that all of the low-pitch sound comes from just one speaker.

Fixing the Ringtone

Most phone vendors have indirectly addressed the ‘ringtone problem’ by jury-rigging their monophonic FM tunes with complete polyphonic orchestrations, adding several layers of complexity along the way. This alleviates the problem somewhat, but only if you don't mind having your personal pocket orchestra perform “the Nokia tune” in A major whenever mom calls. Most phones that are sold today support using actual audio samples as ringtones, which helps if you're willing to hunt down a good one and upload it yourself.

Now that we can customize, people who care about it can fix their ringtones themselves. Problem solved, right? Technically that is true, but that's not why I buy a new phone every year. Innovation in the field of programming languages also wasn't ‘done’ when the first Turing complete system shipped. Or more concretely, when phone manufacturers added visual theming features to their phones, that didn't mean we no longer expected them to keep improving the look of their phone UIs.

In the same line of thought, phone manufacturers need to let their sound designers create at least one really usable and useful ringtone to ship along with their phones. And push them to make it even better in every next iteration of the product. I have had the fortune to meet a handful of people who make their living as sound designers, some of them with large electronics companies, and one thing is extremely clear to me: Every single one of them knows a hell of a lot more about sound than I do.

Like most things that feel Not Quite Right™ to me about lots of consumer electronics products, this is not a matter of incompetence, merely one of flawed priorities.

Enter iPhone

Boom. Flash-forward to the Macworld 2007 Stevenote, at 50 minutes and 45 seconds. I was already pretty psyched up that far into it, but it wasn't until I first heard “Marimba” that I was truly sold on the iPhone.

Marimba is the perfect ringtone. It covers a wide range in pitch, which makes it less likely to be drowned in ambient noise. It is percussive and complex in nature, which makes it that much easier to locate your phone when it rings. And finally, something that immediately resonated with me on—I guess—a very deep, subconscious level, it isn't as painstakingly gleeful as the default tunes other manufacturers ship their phones with.

The mere fact that Apple managed to get their default ringtone right on so many levels told me that their best and brightest had been working their asses off to create this device. And that they had used enough time and resources to do an insanely great job. Of course it's completely possible that I mistook happy coincidence for masterly attention to detail, but from that point on, I wanted to believe this truly was the next big thing.

The only thing that remains between me and ringtone nirvana is to convince everyone else at the office to stop using My Ringtone. No success so far.

 

This is an archived version of the Sofa site