Copied in an app from a project I started a while back but never
finished: https://www.zulukilo.com/svn/pub/mcer/
The added code is under the GPLv2.