<?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 for Invalid Function</title>
	<atom:link href="http://invalidfunction.com/index.php/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://invalidfunction.com</link>
	<description>Overengineering the Complicated</description>
	<lastBuildDate>Mon, 13 Jun 2011 01:56:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on Long Time No Talk by Justin Derby</title>
		<link>http://invalidfunction.com/index.php/2011/01/long-time-no-talk/comment-page-1/#comment-936</link>
		<dc:creator>Justin Derby</dc:creator>
		<pubDate>Mon, 13 Jun 2011 01:56:07 +0000</pubDate>
		<guid isPermaLink="false">http://invalidfunction.com/?p=132#comment-936</guid>
		<description>Any chance of writing a good tutorial of the process you did to make this? It&#039;s very cool and I&#039;m thinking of using this to make something of my own.</description>
		<content:encoded><![CDATA[<p>Any chance of writing a good tutorial of the process you did to make this? It&#8217;s very cool and I&#8217;m thinking of using this to make something of my own.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Arduino Controlled Music Lights! by Andrew</title>
		<link>http://invalidfunction.com/index.php/2009/03/arduino-controlled-music-lights/comment-page-1/#comment-934</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Thu, 17 Feb 2011 20:34:52 +0000</pubDate>
		<guid isPermaLink="false">http://invalidfunction.com/?p=45#comment-934</guid>
		<description>Copy-and-pasted from an email I sent back to Matt:

It&#039;s awesome that you are working with the Arduino - thats how I started and I think it was probably the best approach to learning about electronics. I&#039;ve been studying for my undergraduate degree in college so I have very limited amount of time to browse the Internet which is why its been hard to get around to your question.

This project you referred to was lost in a computer crash - so I have no code to give you. But let me give you a few hints.

I used the &quot;Minim&quot; library for java that you can find here: http://code.compartmental.net/tools/minim/. I believe this library is now included with Processing now (the platform I used to communicate over serial to the arduino).

Minim requires an audio input, so you can either run a splitter from an ipod to your microphone port on your computer, or use some sort of software to route the sound output from your computer back as an input. I ran my software on a Mac so I used a piece of software called SoundFlowerBed.

Anyways, Minim has a BeatDetect class (seen here: http://code.compartmental.net/tools/minim/manual-beatdetect/) It was useful in the video I had but it can be pretty jumpy sometimes.

You can also use what is called a Fast Fourier Transform (FFT For short) (Minim does this too, check out their documentation.) An FFT basically takes your audio input and seperates it into frequency ranges. So basically you can tell how loud the audio is from say 0-60 Hz and compare that with the entire audio signal. From there I was able to basically look at the &quot;jumps&quot; produced by the bass of the music and determine if that is a beat compared to how the jumps occurred in the last say 10 seconds.

Beat detection is a fairly complex thing to do - and I never got it to really &quot;work&quot; half of the time. For example, a snare hit spreads across the whole frequency spectrum of hearing (20-20000Hz) so when I compared the lower frequencies to everything else, it just seems that it fit in.

I went a long way since then, and found the best effect is when you just change the intensity of the light with respect to how loud those lower frequencies are. You can see this in my video I attached of my last lighting project.

I hope this gives you some ideas, good luck with your project.</description>
		<content:encoded><![CDATA[<p>Copy-and-pasted from an email I sent back to Matt:</p>
<p>It&#8217;s awesome that you are working with the Arduino &#8211; thats how I started and I think it was probably the best approach to learning about electronics. I&#8217;ve been studying for my undergraduate degree in college so I have very limited amount of time to browse the Internet which is why its been hard to get around to your question.</p>
<p>This project you referred to was lost in a computer crash &#8211; so I have no code to give you. But let me give you a few hints.</p>
<p>I used the &#8220;Minim&#8221; library for java that you can find here: <a href="http://code.compartmental.net/tools/minim/" rel="nofollow">http://code.compartmental.net/tools/minim/</a>. I believe this library is now included with Processing now (the platform I used to communicate over serial to the arduino).</p>
<p>Minim requires an audio input, so you can either run a splitter from an ipod to your microphone port on your computer, or use some sort of software to route the sound output from your computer back as an input. I ran my software on a Mac so I used a piece of software called SoundFlowerBed.</p>
<p>Anyways, Minim has a BeatDetect class (seen here: <a href="http://code.compartmental.net/tools/minim/manual-beatdetect/" rel="nofollow">http://code.compartmental.net/tools/minim/manual-beatdetect/</a>) It was useful in the video I had but it can be pretty jumpy sometimes.</p>
<p>You can also use what is called a Fast Fourier Transform (FFT For short) (Minim does this too, check out their documentation.) An FFT basically takes your audio input and seperates it into frequency ranges. So basically you can tell how loud the audio is from say 0-60 Hz and compare that with the entire audio signal. From there I was able to basically look at the &#8220;jumps&#8221; produced by the bass of the music and determine if that is a beat compared to how the jumps occurred in the last say 10 seconds.</p>
<p>Beat detection is a fairly complex thing to do &#8211; and I never got it to really &#8220;work&#8221; half of the time. For example, a snare hit spreads across the whole frequency spectrum of hearing (20-20000Hz) so when I compared the lower frequencies to everything else, it just seems that it fit in.</p>
<p>I went a long way since then, and found the best effect is when you just change the intensity of the light with respect to how loud those lower frequencies are. You can see this in my video I attached of my last lighting project.</p>
<p>I hope this gives you some ideas, good luck with your project.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Arduino Controlled Music Lights! by Matt</title>
		<link>http://invalidfunction.com/index.php/2009/03/arduino-controlled-music-lights/comment-page-1/#comment-929</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Thu, 27 Jan 2011 22:48:15 +0000</pubDate>
		<guid isPermaLink="false">http://invalidfunction.com/?p=45#comment-929</guid>
		<description>Hi, i am in an arduino class, and we are currently doing self projects. I would like to make a light that responds to the beat, similar to your arduino controlled music lights. I am a beginner and having trouble with the coding, is there any chance you could send me the coding you use to make it work properly? Thanks - Matt</description>
		<content:encoded><![CDATA[<p>Hi, i am in an arduino class, and we are currently doing self projects. I would like to make a light that responds to the beat, similar to your arduino controlled music lights. I am a beginner and having trouble with the coding, is there any chance you could send me the coding you use to make it work properly? Thanks &#8211; Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Xbee/Zigbee notes by Justin</title>
		<link>http://invalidfunction.com/index.php/2009/12/xbeezigbee-notes/comment-page-1/#comment-477</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Tue, 26 Jan 2010 21:28:07 +0000</pubDate>
		<guid isPermaLink="false">http://invalidfunction.com/?p=124#comment-477</guid>
		<description>Hello,

Can you tell me more about what you mean by &quot; I was using C# and kept writing directly to the stream when I noticed a significant lag in sending and receiving data. I thought it was the Xbee until I wrote to the stream’s buffer instead of directly to the stream output.&quot; 

I too am communicating with one side of my Xbee&#039;s using C# code. What is the difference and how do you write to the buffer instead of the output?

Thanks!

Justin</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Can you tell me more about what you mean by &#8221; I was using C# and kept writing directly to the stream when I noticed a significant lag in sending and receiving data. I thought it was the Xbee until I wrote to the stream’s buffer instead of directly to the stream output.&#8221; </p>
<p>I too am communicating with one side of my Xbee&#8217;s using C# code. What is the difference and how do you write to the buffer instead of the output?</p>
<p>Thanks!</p>
<p>Justin</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Xbee/Zigbee notes by Andrew</title>
		<link>http://invalidfunction.com/index.php/2009/12/xbeezigbee-notes/comment-page-1/#comment-473</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 06 Jan 2010 04:35:43 +0000</pubDate>
		<guid isPermaLink="false">http://invalidfunction.com/?p=124#comment-473</guid>
		<description>Thanks. 

I have a fascination with LED lighting and I made a wireless &quot;wall washer&quot; using Xbee to individually control 8 high power LEDs. I&#039;ll be putting up documentation on the project sometime soon with the details on that. 

I am definitely continuing work with the Xbee modules, especially in home automation. I am working on possibly starting up a company to do Xbee related kits. Stay tuned. :)

Andrew</description>
		<content:encoded><![CDATA[<p>Thanks. </p>
<p>I have a fascination with LED lighting and I made a wireless &#8220;wall washer&#8221; using Xbee to individually control 8 high power LEDs. I&#8217;ll be putting up documentation on the project sometime soon with the details on that. </p>
<p>I am definitely continuing work with the Xbee modules, especially in home automation. I am working on possibly starting up a company to do Xbee related kits. Stay tuned. <img src='http://invalidfunction.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Andrew</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Xbee/Zigbee notes by Dale</title>
		<link>http://invalidfunction.com/index.php/2009/12/xbeezigbee-notes/comment-page-1/#comment-466</link>
		<dc:creator>Dale</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:23:38 +0000</pubDate>
		<guid isPermaLink="false">http://invalidfunction.com/?p=124#comment-466</guid>
		<description>Nice wrap up.

I have been &#039;playing&#039; with these on and off over last year and a bit and they are really easy to get up and running.

Your tips above are a good pointer to those just starting out.
Cheers,
Dale</description>
		<content:encoded><![CDATA[<p>Nice wrap up.</p>
<p>I have been &#8216;playing&#8217; with these on and off over last year and a bit and they are really easy to get up and running.</p>
<p>Your tips above are a good pointer to those just starting out.<br />
Cheers,<br />
Dale</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Xbee/Zigbee notes by Zigbee home automation</title>
		<link>http://invalidfunction.com/index.php/2009/12/xbeezigbee-notes/comment-page-1/#comment-465</link>
		<dc:creator>Zigbee home automation</dc:creator>
		<pubDate>Tue, 29 Dec 2009 08:17:52 +0000</pubDate>
		<guid isPermaLink="false">http://invalidfunction.com/?p=124#comment-465</guid>
		<description>Nice writeup on the intricacies of Zigbee - I&#039;ve been interested in it from a home automation perspective for a while now since there&#039;s a Zigbee profile dedicated for this, but haven&#039;t seen much progress on this front.  

I&#039;m curious, what are you using the Xbee for?</description>
		<content:encoded><![CDATA[<p>Nice writeup on the intricacies of Zigbee &#8211; I&#8217;ve been interested in it from a home automation perspective for a while now since there&#8217;s a Zigbee profile dedicated for this, but haven&#8217;t seen much progress on this front.  </p>
<p>I&#8217;m curious, what are you using the Xbee for?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Arduino Controlled Music Lights! by SpelunkingHenry</title>
		<link>http://invalidfunction.com/index.php/2009/03/arduino-controlled-music-lights/comment-page-1/#comment-328</link>
		<dc:creator>SpelunkingHenry</dc:creator>
		<pubDate>Mon, 30 Nov 2009 23:49:09 +0000</pubDate>
		<guid isPermaLink="false">http://invalidfunction.com/?p=45#comment-328</guid>
		<description>Have you tried to use analog pins to define a better signal variation or does MINIM not do analog?  Also,rather than just on and off - have you tried to connect multiple lights to include fade-in&#039;s/out&#039;s to denote beats other than a solid beat and silence?</description>
		<content:encoded><![CDATA[<p>Have you tried to use analog pins to define a better signal variation or does MINIM not do analog?  Also,rather than just on and off &#8211; have you tried to connect multiple lights to include fade-in&#8217;s/out&#8217;s to denote beats other than a solid beat and silence?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Arduino Controlled Music Lights! by marcus</title>
		<link>http://invalidfunction.com/index.php/2009/03/arduino-controlled-music-lights/comment-page-1/#comment-298</link>
		<dc:creator>marcus</dc:creator>
		<pubDate>Fri, 27 Nov 2009 00:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://invalidfunction.com/?p=45#comment-298</guid>
		<description>please can you share the code,</description>
		<content:encoded><![CDATA[<p>please can you share the code,</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Arduino Controlled Music Lights! by Grim</title>
		<link>http://invalidfunction.com/index.php/2009/03/arduino-controlled-music-lights/comment-page-1/#comment-187</link>
		<dc:creator>Grim</dc:creator>
		<pubDate>Sun, 27 Sep 2009 22:25:51 +0000</pubDate>
		<guid isPermaLink="false">http://invalidfunction.com/?p=45#comment-187</guid>
		<description>Very nice! I&#039;m working on a similar project. Any chance you could share your code?</description>
		<content:encoded><![CDATA[<p>Very nice! I&#8217;m working on a similar project. Any chance you could share your code?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

