How to date a recording using background electrical noise

This is a repost promoting content originally published elsewhere. See more things Dan's reposted.

Matching a target ENF series with a section of a reference series

We’re going to use ENF matching to answer the question “here’s a recording, when was it was (probably) taken?” I say “probably” because all that ENF matching can give us is a statistical best guess, not a guarantee. Mains hum isn’t always present on recordings, and even when it is, our target recording’s ENF can still match with the wrong section of the reference database by statistical misfortune.

Still, even though all ENF matching gives us is a guess, it’s usually a good one. The longer the recording, the more reliable the estimate; in the academic papers that I’ve read 10 minutes is typically given as a lower bound for getting a decent match.

To make our guess, we’ll need to:

  1. Extract the target recording’s ENF values over time
  2. Find a database of reference ENF values, taken directly from the electrical grid serving the area where the recording was made
  3. Find the section of the reference ENF series that best matches the target. This section is our best guess for when the target recording was taken

We’ll start at the top.

About a year after Tom Scott did a video summarising how deviation over time (and location!) of the background electrical “hum” produced by AC power can act as a forensic marker on audio recordings, Robert Heaton’s produced an excellent deep-dive into how you can play with it for yourself, including some pretty neat code.

I remember first learning about this technique a few years ago during my masters in digital forensics, and my first thought was about how it might be effectively faked. Faking the time of recording of some audio after the fact (as well as removing the markers) is challenging, mostly because you’ve got to ensure you pick up on the harmonics of the frequencies, but it seems to me that faking it at time-of-recording ought to be reasonably easy: at least, so long as you’re already equipped with a mechanism to protect against recording legitimate electrical hum (isolated quiet-room, etc.):

Taking a known historical hum-pattern, it ought to be reasonably easy to produce a DC-to-AC converter (obviously you want to be running off a DC circuit to begin with, e.g. from batteries, so you don’t pick up legitimate hum) that regulates the hum frequency in a way that matches the historical pattern. Sure, you could simply produce the correct “noise”, but doing it this way helps ensure that the noise behaves appropriately under the widest range of conditions. I almost want to build such a device, perhaps out of an existing portable transformer (they come in big battery packs nowadays, providing a two-for-one!) but of course: who has the time? Plus, if you’d ever seen my soldering skills you’d know why I shouldn’t be allowed to work on anything like this.

×

Wake Me Up When September Begins

As a result of a couple of different health issues and the death of my old and much-loved mobile, August wasn’t shaping up to be a very good month already. But the biscuit was really taken this week during what turned into An Unexpectedly Expensive Night Out.

An Unexpectedly Expensive Night Out

It started okay: Ruth and went out for tapas, then for cocktails, and then to the cinema to watch the (pretty disappointing) Cowboys & Aliens. So a good start, getting worse. The food was cheap (hooray for vouchers!), the cocktails were reasonably priced (although we did have… a few of them), and the cinema was aided by Orange Wednesdays, so all seemed to be going pretty well, so far, until we came to going home.

Because when we got back to the cycle racks, my bike wasn’t there. By the look of things, somebody cut through my bike lock and had away with it, rendering me bikeless. Suddenly, it became a far more-expensive night out than I’d planned for.

Here's the kind of lock I was using. Turns out that it's insufficient to stop a determined attacker.

They say that you haven’t lived in Oxford until you’ve had your bike stolen[citation needed]. Well: now I have, and I’ve learned an important lesson about the ineffectiveness of moderate-security cable locks like the Kryptonite HardWire (the lock I was using) when up against thieves who are willing to put in the effort to, for example, bring bolt cutters on a night out.

I spoke to a police officer yesterday who’s going to see if any of the nearby CCTV cameras are going to be of any use in finding the bugger.  But in the meantime, I’ve had enough of August. It’s had highlights, like Liz & Simon’s wedding, but mostly it’s been less-than-great.

Wake me up when September begins.

×

Dan Arrested; Carrying Offensive Weapon

Dan gets stopped by two police officers while carrying a battle-axe through the streets of Aberystwyth. Original content on AvAngel.com appeared, as follows:

Andy’s account –

I wonder how many police officers, when asked by the guy they’ve just stopped on the street for carrying a battle-axe, will actually go to the URL he tells them. Well; here’s hoping at least one, given that that’s what just happened to me! Take a look at this picture on Dan’s Picture Page for an overview of the events. The picture is taken by Rory, with his brand-spanking new digital camera. Thanks, Rory!

Dan, with an axe, being questioned by the police

Dan’s account –

“Well, what do we do with you now?” asked the police officer, after the search (which had revealed nothing more than lots of keys, a phallic-looking torch, a pack of cards, and a tampon) was complete.

“I expect that’s mainly up to you,” replied Dan, “You being the police officer, and all.”

“Well, we could take you and your axe up the hill and escort you home,” he said.

“Mm-hmm,” Dan said, “Could my friends come along for the ride?” He gestured across the street, where Rory and De were waiting, looking bored. The police officer shook his head disdainfully. “What’re the other options, then?”

“We could take you back to the police station under arrest for carrying an offensive weapon.”

“I don’t like that idea, either. What’s the third option?”

“There isn’t a third option.”

“Guess I’ll be riding with you then.” Dan turned and spoke to Rory and De. “I’ll catch you two back on campus,” he said, “You can pay for your taxi!”

As the police car pulled away, Dan had one more question for the confused officers:

“Have you ever visited AvAngel.com?”

Crosslink: the axe can be seen in photos taken at Christmas.

×