Sonic ruler app created for iPhone

Uses pulses of sound to determine distance

Embed
<object width="400" height="270"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6068060&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6068060&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="270"></embed></object>

21 August 2009 11:14 GMT / By Duncan Geere

Wanna get a decent approximation of a distance, but haven't got a tape measure handy? A North American developer called Laan Labs has built an application that uses the phone's speaker to take sonic measurements.

For those of you who aren't too familiar with A-level physics, here's how the app works. When the sound pulse is generated, a timer starts. The microphone listens, and when it hears the signal bouncing back, it stops the timer. Then, knowing the approximate speed of sound, you can work out the distance using good old "speed equals distance over time".

As the sound could be bouncing off lots of other things too, the app does this lots of times and graphs the results. It then displays the peak of that graph, which should - in most situations - be whatever you're pointing the handset at. You'll get results as long as the phone can hear the echo, so it's probably got a practical limit of ten metres or so in the real world.

There's a few sources of error - wind would affect the measurement because it would blow sound around, and the temperature of air will affect how fast sound travels through it, but neither should prove a huge problem. Still, the developer recommends that you don't use it for anything "other than your entertainment".

The developer says: "I think a lot of things could be improved in the app like better echo detection or user interface. I'd like to post the code, but it's kind of mangled right now so I may wait until I can clean it up a bit".

The application costs 59p, and it's available now.
Related

Via: labs.laan.com

Full tags
Phones, Apps, Apple, iPhone, Dad

share print story pdf email story

Recommended articles

Recommended articles from around the web

Loading

Apps by platform

All the latest apps news and reviews

Best iPad 2 apps

We detail the best iPad 2 and iPad apps in the app store Which iPad app should you download?

Best new iPad apps

We detail the best iPad apps in the app store for your new Retina Display Which iPad app should you download?

Windows 8

First Look: Windows 8 Consumer Preview reviewed

The new iPad

The new iPad: Everything you need to know

Pocket-lint poll

Q. Does the Samsung Galaxy S III deliver what you hoped for?

Vote YES Vote NO

» LAST TIME
When asked Would you switch from iOS to Android? 54% said yes and 46% said no