<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Fancy new program: gst-music-hash</title>
	<atom:link href="http://blog.paulbetts.org/index.php/2006/10/16/fancy-new-program-gst-music-hash/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.paulbetts.org/index.php/2006/10/16/fancy-new-program-gst-music-hash/</link>
	<description>Paul Betts's personal website / blog / what-have-you</description>
	<lastBuildDate>Wed, 26 May 2010 09:57:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: Toby Smithe</title>
		<link>http://blog.paulbetts.org/index.php/2006/10/16/fancy-new-program-gst-music-hash/comment-page-1/#comment-6538</link>
		<dc:creator>Toby Smithe</dc:creator>
		<pubDate>Mon, 14 Jan 2008 18:07:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.paulbetts.org/index.php/2006/10/16/fancy-new-program-gst-music-hash/#comment-6538</guid>
		<description>Hi, I&#039;ve fixed the above bug in my branch of libfooid at https://code.edge.launchpad.net/~tsmithe/what-tune/libfooid

That branch also has a happy build system, but it is not api compatible, as I&#039;ve done a bit of restructuring so that it makes more sense.</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;ve fixed the above bug in my branch of libfooid at <a href="https://code.edge.launchpad.net/~tsmithe/what-tune/libfooid">https://code.edge.launchpad.net/~tsmithe/what-tune/libfooid</a></p>
<p>That branch also has a happy build system, but it is not api compatible, as I&#8217;ve done a bit of restructuring so that it makes more sense.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: m35</title>
		<link>http://blog.paulbetts.org/index.php/2006/10/16/fancy-new-program-gst-music-hash/comment-page-1/#comment-889</link>
		<dc:creator>m35</dc:creator>
		<pubDate>Sat, 17 Mar 2007 18:19:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.paulbetts.org/index.php/2006/10/16/fancy-new-program-gst-music-hash/#comment-889</guid>
		<description>You may be interested in a few lines from regress.c (taken from the original libfooid-1.0.zip)

===============================
if&#8203; (ssyy &lt;= 0.0f + EPSILON) {
	*r = 1.0f;        
} 

/*
	b = ssxy / ssxx;        
	a = avy - b * avx;            
*/
rsq = (ssxy * ssxy) / (ssxx * ssyy);
	

/*
	It seems that rsq ^ 0.25 follows roughly
	a normal distribution, so thats our preferred
	way of looking at things
*/

*r = (float)sqrt(sqrt(rsq));   
===============================

In the case where ssyy == 0, it sets *r. However, it then continues and uses ssyy as a divisor(!), and also sets *r to another value. Bug? Feature? You decide.

I have some audio streams that hit this snag. It&#039;s not too uncommon.


&quot;AutoTag&quot; found with the original libfooid, installs a tool called FooID.exe which is a simple command-line program to get the fingerprint of wav files. It makes me wonder if it suffers any issues because of this, or if it&#039;s using some unreleased code.</description>
		<content:encoded><![CDATA[<p>You may be interested in a few lines from regress.c (taken from the original libfooid-1.0.zip)</p>
<p>===============================<br />
if&#8203; (ssyy &lt;= 0.0f + EPSILON) {<br />
	*r = 1.0f;<br />
} </p>
<p>/*<br />
	b = ssxy / ssxx;<br />
	a = avy &#8211; b * avx;<br />
*/<br />
rsq = (ssxy * ssxy) / (ssxx * ssyy);</p>
<p>/*<br />
	It seems that rsq ^ 0.25 follows roughly<br />
	a normal distribution, so thats our preferred<br />
	way of looking at things<br />
*/</p>
<p>*r = (float)sqrt(sqrt(rsq));<br />
===============================</p>
<p>In the case where ssyy == 0, it sets *r. However, it then continues and uses ssyy as a divisor(!), and also sets *r to another value. Bug? Feature? You decide.</p>
<p>I have some audio streams that hit this snag. It&#8217;s not too uncommon.</p>
<p>&quot;AutoTag&quot; found with the original libfooid, installs a tool called FooID.exe which is a simple command-line program to get the fingerprint of wav files. It makes me wonder if it suffers any issues because of this, or if it&#8217;s using some unreleased code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giuseppe Mastrangelo</title>
		<link>http://blog.paulbetts.org/index.php/2006/10/16/fancy-new-program-gst-music-hash/comment-page-1/#comment-241</link>
		<dc:creator>Giuseppe Mastrangelo</dc:creator>
		<pubDate>Mon, 13 Nov 2006 09:59:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.paulbetts.org/index.php/2006/10/16/fancy-new-program-gst-music-hash/#comment-241</guid>
		<description>In Source package there are the .C files *BUT* I can&#039;t find the headers.</description>
		<content:encoded><![CDATA[<p>In Source package there are the .C files *BUT* I can&#8217;t find the headers.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

