• On TechRepublic: Five reasons why Windows Vista failed
June 30, 2007 9:08 AM PDT

Am I bats? Part 1

Posted by Michael Tiemann
  • Font size
  • Print

I enjoy walking my dog (a Shiba Inu) with my daughter, especially when the weather is pleasant. Earlier this week it was a particularly pleasant evening in Chapel Hill: the sweet air was cool like nighttime in summer, but the sun had at least 10 minutes to go before setting. All of a sudden, we both saw a bat swoop around a street lamp, eagerly pursuing its evening meal.

"IT'S A BAT!" my daughter exclaimed.

My mind raced into action: what should I do with this information? And before I could consider the consequences of my response, I blurted out "Let's go back home and get the digital recorder! I'll be we can record it!"

She looked at me seriously: "Don't be silly, Daddy. Humans can't hear bats!"

And that's when I said what any techno-parent would say: "True. But I know how to make it so we can hear the bats..."

We hurried back home (much to the consternation of the dog). I grabbed my trusty SONY PCM-D1 and began to work out just how I was going to make good on my promise.

By the time we'd return to where we'd seen the bats, the sun had set and we couldn't see anything. We stayed by the streetlight for as long as I could hold my daughter's attention, but in the end we saw no more bats and had to return home. Never one to disappoint, I said "that's OK, we can try again tomorrow".

"REALLY?!" my duaghter exclaimed. When we got home, she yelled to my wife "GUESS WHAT!? DADDY IS AWESOME!" Talk about pressure!

We returned the following night, and the night after that, but both times we were hounded by threatening skies, flashes of light, and other portents of evening thunderstorms. I seriously thought about writing a blog entry titled "No Blogs Lately? I blame the weather...".

It would take another three days before we had our first audio capture of the bats, and each day I realized just how impossibly high I'd set the bar for myself. It's one thing to bring home a present that requires some assembly. "Insert Tab A into Slot B" takes on a whole new dimension when Tab A is ultrasonic and you don't know the finite acoustic limits of Slot B.

The PCM-D1 can sample 24-bit audio at 96 kHz, which according to the Nyquist theorem means that the audio should be good to 48 kHz, the lower end of the bat range (which goes up to 200 kHz). The built-in microphones, though very good, are down 10 dB at 20kHz and 20 dB at 30 kHz, and that's more of a problem. What the heck--what is science if not testing the limits?

In the mean time, I had to work out a few details on the software and hardware fronts. My first problem was one of hardware: I stupidly assumed that a USB cable from Kensington that I use for a calculator keypad device was, as the device legends promised, a proper USB cable. It is not. It took me quite some time to try to diagnose why the PCM-D1 would say "PC connect" in its display window and then promptly shut itself down. When my internet search failed to find any mention of such problems, I did what any techno-parent would do: I swapped cables, and that fixed the problem.

My next challenge was to find some software that would slow down the audio so that the 48 kHz frequency would be something we could hear, like, say, 4 kHz. I found two ways to do this: Audacity, an open source package with a nice GUI, and R, a highly advanced mathematic and analytics package which, among its other hundreds of extensions, has a module for playing with sound files. I installed Audacity to my home Fedora computer, and lo, it was very good.

On Thursday night we set out for the street light. My daughter had brought along some rubber bands that she could play by stretching them between her fingers and playing the resulting "string" with her chin. I had my test signal. My next task was to quiet her down enough so that the bats would come. After about 10 minutes, they did come, and I made six attempts to capture them, marking their approaches with my voice.

To be continued...

Michael Tiemann is president of the Open Source Initiative and vice president of open source affairs at Red Hat. He is a member of the CNET Blog Network, and is not an employee of CNET. Disclosure.
Recent posts from parent . thesis
Wrapping up (parent.thesis)
Tech changes ideas about knowledge, solitude
Kidzui creates a new online environment for kids
Saying goodbye to Polaroid instant film
Virtual workplaces empower women entrepreneurs
Using open source to fight porn
David Pogue downplays online safety challenges for kids and teens
Sticky gecko feet inspire new medical bandage
Add a Comment (Log in or register) 1 comment
Read Part 2 Now!
by MichaelTiemann July 10, 2007 8:31 AM PDT
The second installment has been posted. You can read it here.
Reply to this comment
advertisement
Click Here

In the news now

Slowing expectations at a green-tech start-up

Six months ago, biofuels start-up Mascoma had the wind in its sails, as did the rest of the clean-tech sector. Now, the company is treading carefully and scaling back.


With JavaFX, Sun seeks new coders, new revenue

With the launch of JavaFX 1.0, Sun is trying to reclaim Java's strength as a foundation for rich Internet applications. But it's no longer the incumbent.


Tim Lincecum, motion capture star

San Francisco Giants pitcher, who won the Cy Young award last month, dons a motion capture suit for 2K Sports' Major League Baseball 2K9 video game.


About parent . thesis

Today's parents may live and work on the cutting edge, but we didn't grow up in a digital era. (parent.thesis) brings you the latest news and musings about life raising kids in today's 24-7, hyperconnected world. MojoMom.com creator Amy Tiemann and open-source software pioneer Michael Tiemann are a 21st-century couple. They take a leap of faith as parents and build their parachute on the way down, living by the motto, "We aren't raising our children for the world we live in, we're raising them for the world they'll live in." Disclosure.

Add this feed to your online news reader

parent . thesis topics

advertisement

Inside CNET News

Scroll Left Scroll Right