<?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: Creating Shazam in Java</title>
	<atom:link href="http://www.redcode.nl/blog/2010/06/creating-shazam-in-java/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.redcode.nl/blog/2010/06/creating-shazam-in-java/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=creating-shazam-in-java</link>
	<description>Java, algorithms, math and more</description>
	<lastBuildDate>Fri, 03 Feb 2012 15:06:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: warlock970</title>
		<link>http://www.redcode.nl/blog/2010/06/creating-shazam-in-java/comment-page-12/#comment-4148</link>
		<dc:creator>warlock970</dc:creator>
		<pubDate>Fri, 03 Feb 2012 15:06:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.redcode.nl/?p=391#comment-4148</guid>
		<description>royvanrijn awesome work man!
love the way you have coded it and explained it.
m gonna use this algorithm in my upcomming project instead of that stupid Sphinx based speech recognition.
i was wondering to use it to match voice commands. 
and the greatest part would be that the commands can now be in any language. :) 
thanks man...!! 

btw m indian and its hard to find guys like you here. \m/</description>
		<content:encoded><![CDATA[<p>royvanrijn awesome work man!<br />
love the way you have coded it and explained it.<br />
m gonna use this algorithm in my upcomming project instead of that stupid Sphinx based speech recognition.<br />
i was wondering to use it to match voice commands.<br />
and the greatest part would be that the commands can now be in any language. :)<br />
thanks man&#8230;!! </p>
<p>btw m indian and its hard to find guys like you here. \m/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Courtenay</title>
		<link>http://www.redcode.nl/blog/2010/06/creating-shazam-in-java/comment-page-12/#comment-4143</link>
		<dc:creator>Courtenay</dc:creator>
		<pubDate>Sun, 22 Jan 2012 01:40:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.redcode.nl/?p=391#comment-4143</guid>
		<description>Hi Roy,

Thanks for your code, i got it working great! i just have a question regarding non-mp3&#039;s

Im now recording radio samples using a USB radio receiver. I get the sound data in a byte[] array and then do exactly the same thing where i store the hashcodes and then try to match it to a recording ive done using my iphone. This time it doesnt work.

My feeling is that the mp3 has been normalized (had compression applied to it) and this might be the difference. I couldnt think of any other differences as they are both (the mp3 and radio sample) converted to wav format (16bit)

If i compress the radio sample do you think that itll work? or what do you think the difference is between a mp3 converted to 8-bit byte array and the radio data coming in in this format too?</description>
		<content:encoded><![CDATA[<p>Hi Roy,</p>
<p>Thanks for your code, i got it working great! i just have a question regarding non-mp3&#8242;s</p>
<p>Im now recording radio samples using a USB radio receiver. I get the sound data in a byte[] array and then do exactly the same thing where i store the hashcodes and then try to match it to a recording ive done using my iphone. This time it doesnt work.</p>
<p>My feeling is that the mp3 has been normalized (had compression applied to it) and this might be the difference. I couldnt think of any other differences as they are both (the mp3 and radio sample) converted to wav format (16bit)</p>
<p>If i compress the radio sample do you think that itll work? or what do you think the difference is between a mp3 converted to 8-bit byte array and the radio data coming in in this format too?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raf</title>
		<link>http://www.redcode.nl/blog/2010/06/creating-shazam-in-java/comment-page-12/#comment-4142</link>
		<dc:creator>Raf</dc:creator>
		<pubDate>Fri, 20 Jan 2012 22:37:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.redcode.nl/?p=391#comment-4142</guid>
		<description>Dag Roy,

is het mogelijk om je java code of een deel door te mailen ofzo want het lukt me maar niet om met de huidige code het aan de praat te krijgen :s.
De bedoeling zou zyn dat men de titel terug krijgt en via de api van youtube automatisch het clipke van youtube van dat liedje krijgt te zien.</description>
		<content:encoded><![CDATA[<p>Dag Roy,</p>
<p>is het mogelijk om je java code of een deel door te mailen ofzo want het lukt me maar niet om met de huidige code het aan de praat te krijgen :s.<br />
De bedoeling zou zyn dat men de titel terug krijgt en via de api van youtube automatisch het clipke van youtube van dat liedje krijgt te zien.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Semaj</title>
		<link>http://www.redcode.nl/blog/2010/06/creating-shazam-in-java/comment-page-12/#comment-4140</link>
		<dc:creator>Semaj</dc:creator>
		<pubDate>Thu, 19 Jan 2012 04:45:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.redcode.nl/?p=391#comment-4140</guid>
		<description>Hi,
Do you have a sample code (package) to see how the whole thing works

Thanks
Semaj</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Do you have a sample code (package) to see how the whole thing works</p>
<p>Thanks<br />
Semaj</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The King</title>
		<link>http://www.redcode.nl/blog/2010/06/creating-shazam-in-java/comment-page-12/#comment-4136</link>
		<dc:creator>The King</dc:creator>
		<pubDate>Tue, 17 Jan 2012 05:41:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.redcode.nl/?p=391#comment-4136</guid>
		<description>I was able to optimize my code and get each song at .5 ms! Do you mind posting your system specs?</description>
		<content:encoded><![CDATA[<p>I was able to optimize my code and get each song at .5 ms! Do you mind posting your system specs?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Greatest God</title>
		<link>http://www.redcode.nl/blog/2010/06/creating-shazam-in-java/comment-page-12/#comment-4134</link>
		<dc:creator>The Greatest God</dc:creator>
		<pubDate>Mon, 16 Jan 2012 23:32:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.redcode.nl/?p=391#comment-4134</guid>
		<description>Hi,

I too have finished the code. Now, I am in the stage of making it better (better algorithms etc.)

Thanks for your help Mr. Rijn!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I too have finished the code. Now, I am in the stage of making it better (better algorithms etc.)</p>
<p>Thanks for your help Mr. Rijn!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: darkblades</title>
		<link>http://www.redcode.nl/blog/2010/06/creating-shazam-in-java/comment-page-12/#comment-4133</link>
		<dc:creator>darkblades</dc:creator>
		<pubDate>Mon, 16 Jan 2012 04:22:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.redcode.nl/?p=391#comment-4133</guid>
		<description>Hi,

I finished my code! But, now I need to split my wav files without re-encoding them. Is there any utility which I can use?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I finished my code! But, now I need to split my wav files without re-encoding them. Is there any utility which I can use?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexandre Martins</title>
		<link>http://www.redcode.nl/blog/2010/06/creating-shazam-in-java/comment-page-12/#comment-4126</link>
		<dc:creator>Alexandre Martins</dc:creator>
		<pubDate>Tue, 10 Jan 2012 15:00:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.redcode.nl/?p=391#comment-4126</guid>
		<description>Hello.
I read your story about audio files comparing, of course it is quite concerning to programmers. Indeed it is shocking. But I found out a library that may use a similar algorithm, will the Shazam patent holders bother this one too? 

Here is the link:

&lt;a href=&quot;https://sites.google.com/site/musicgapi/musicg-sound-api-user-guide&quot; rel=&quot;nofollow&quot;&gt;musicg-api&lt;/a&gt;

Hope this help someone...</description>
		<content:encoded><![CDATA[<p>Hello.<br />
I read your story about audio files comparing, of course it is quite concerning to programmers. Indeed it is shocking. But I found out a library that may use a similar algorithm, will the Shazam patent holders bother this one too? </p>
<p>Here is the link:</p>
<p><a href="https://sites.google.com/site/musicgapi/musicg-sound-api-user-guide" rel="nofollow">musicg-api</a></p>
<p>Hope this help someone&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Insane Devil</title>
		<link>http://www.redcode.nl/blog/2010/06/creating-shazam-in-java/comment-page-11/#comment-4124</link>
		<dc:creator>Insane Devil</dc:creator>
		<pubDate>Sun, 08 Jan 2012 23:02:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.redcode.nl/?p=391#comment-4124</guid>
		<description>Hi,

I am having trouble understanding the loop of the Determining Key Points Section.

&lt;code&gt;for (int freq = LOWER_LIMIT; freq &lt; UPPER_LIMIT-1; freq++)&lt;/code&gt;

Any help would be appreciated!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am having trouble understanding the loop of the Determining Key Points Section.</p>
<p><code>for (int freq = LOWER_LIMIT; freq < UPPER_LIMIT-1; freq++)</code></p>
<p>Any help would be appreciated!</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Tropolio</title>
		<link>http://www.redcode.nl/blog/2010/06/creating-shazam-in-java/comment-page-11/#comment-4122</link>
		<dc:creator>Bob Tropolio</dc:creator>
		<pubDate>Thu, 05 Jan 2012 04:42:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.redcode.nl/?p=391#comment-4122</guid>
		<description>Hi Mr. Rijn,

I am currently a student studying Java, and thought that this would be a fun project for me to attempt to do. Currently, I&#039;m nearing the end of the project, but was confused on whether or not my data for the time domain from an mp3 file made sense. The code I used is as follows.

&lt;code&gt;
InputStream inputStream = AudioSystem.getAudioInputStream(file);
AudioFormat format = new AudioFormat(44100, 8, 1, true, true); // Uses getFormat in code
AudioInputStream audioInputStream = new AudioInputStream(inputStream, format, inputStream.available());
int[] arr = new int[inputStream.available()];
PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(&quot;Output.txt&quot;)));
for (int i = 0; i &lt; inputStream.available(); i++) {
    int current = audioInputStream.read();
    arr[i] = current;
    out.println(current);
}
out.close();
&lt;/code&gt;

Any help would be appreciated!</description>
		<content:encoded><![CDATA[<p>Hi Mr. Rijn,</p>
<p>I am currently a student studying Java, and thought that this would be a fun project for me to attempt to do. Currently, I&#8217;m nearing the end of the project, but was confused on whether or not my data for the time domain from an mp3 file made sense. The code I used is as follows.</p>
<p><code><br />
InputStream inputStream = AudioSystem.getAudioInputStream(file);<br />
AudioFormat format = new AudioFormat(44100, 8, 1, true, true); // Uses getFormat in code<br />
AudioInputStream audioInputStream = new AudioInputStream(inputStream, format, inputStream.available());<br />
int[] arr = new int[inputStream.available()];<br />
PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter("Output.txt")));<br />
for (int i = 0; i &lt; inputStream.available(); i++) {<br />
    int current = audioInputStream.read();<br />
    arr[i] = current;<br />
    out.println(current);<br />
}<br />
out.close();<br />
</code></p>
<p>Any help would be appreciated!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

