From owner-freebsd-questions@FreeBSD.ORG Tue Jun 13 14:24:58 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD2B716A41A for ; Tue, 13 Jun 2006 14:24:58 +0000 (UTC) (envelope-from howie@thingy.com) Received: from post1.inband.network-i.net (post1.inband.network-i.net [212.21.96.19]) by mx1.FreeBSD.org (Postfix) with SMTP id EFD0743D73 for ; Tue, 13 Jun 2006 14:24:48 +0000 (GMT) (envelope-from howie@thingy.com) Received: (qmail 19439 invoked from network); 13 Jun 2006 14:24:47 -0000 Received: from unknown (HELO localhost) (212.21.96.22) by post1.inband.network-i.net with SMTP; 13 Jun 2006 14:24:47 -0000 Received: from nat1.network-i.net (212.21.99.52) by adslrelay.network-i.net Message-ID: <448ECAB3.5090900@thingy.com> Date: Tue, 13 Jun 2006 15:24:51 +0100 From: Howard Jones User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Chuck Swiger , freebsd-questions@freebsd.org References: <7.0.1.0.2.20060613145307.023662b0@broadpark.no> <448EC879.1010603@mac.com> In-Reply-To: <448EC879.1010603@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: [freebsd-questions] Scanning MP3 files for skips X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2006 14:24:58 -0000 Chuck Swiger wrote: > Kyrre Nygard wrote: >> I'm curious whether there's a tool out there that will scan through >> audio files looking for patterns that resemble skips and other nonos >> in the world of music. >> >> I have MD5 checksums for all my MP3 files, but that doesn't >> guarantee that they were fine before the checksums were generated. > > Sort of...GraceNote and a few other companies ("Shazam", seems to be > from India?) sell a service where music files can be fingerprinted and > identified. Good audio files ought to ID as what they are; bad music > files with skips or garbage will fail to ID. > Shazam (at least) works on a fragment the song. In the UK they provide a phone-based service, which only needs 20-30 seconds of clear music to identify a song. MusicBrainz is a similar type of thing that is available as a plugin for a number of media players, which I think works on a whole song, but I don't know that it's precise enough to detect the odd tick and burp. I'm also looking for a blip-detecting MP3 tool. I haven't had time to look at it yet, but I was going to try something like libmad on the assumption that somewhere internally it knows when it's only had half an frame of data, even if there is no CRC. That way, it'll work on any obscure music I have, without relying on some external giant database of correctness.