<?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: Generate Real-time Audio on the Arduino using Pulse Code Modulation</title>
	<atom:link href="http://blog.wingedvictorydesign.com/2009/05/29/generate-real-time-audio-on-the-arduino-using-pulse-code-modulation/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.wingedvictorydesign.com/2009/05/29/generate-real-time-audio-on-the-arduino-using-pulse-code-modulation/</link>
	<description>Hold my beer while I try something.</description>
	<lastBuildDate>Mon, 06 Sep 2010 15:13:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Max</title>
		<link>http://blog.wingedvictorydesign.com/2009/05/29/generate-real-time-audio-on-the-arduino-using-pulse-code-modulation/comment-page-1/#comment-705</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Wed, 19 May 2010 20:23:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.wingedvictorydesign.com/?p=666#comment-705</guid>
		<description>Hey Bruce, there&#039;s a link in the post to download the source code.  I would use that, since Wordpress&#039;s ability to post code correctly is notoriously troublesome.</description>
		<content:encoded><![CDATA[<p>Hey Bruce, there&#8217;s a link in the post to download the source code.  I would use that, since WordPress&#8217;s ability to post code correctly is notoriously troublesome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruce</title>
		<link>http://blog.wingedvictorydesign.com/2009/05/29/generate-real-time-audio-on-the-arduino-using-pulse-code-modulation/comment-page-1/#comment-704</link>
		<dc:creator>Bruce</dc:creator>
		<pubDate>Wed, 19 May 2010 15:36:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.wingedvictorydesign.com/?p=666#comment-704</guid>
		<description>Nevermind, I guess the greater than symbol got formatted strangely in your example. Works like a charm! Cheers!</description>
		<content:encoded><![CDATA[<p>Nevermind, I guess the greater than symbol got formatted strangely in your example. Works like a charm! Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://blog.wingedvictorydesign.com/2009/05/29/generate-real-time-audio-on-the-arduino-using-pulse-code-modulation/comment-page-1/#comment-96</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Fri, 17 Jul 2009 01:48:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.wingedvictorydesign.com/?p=666#comment-96</guid>
		<description>Hi Richard,
    I hadn&#039;t thought of it before, but DTMF is a pretty ideal application for this code.  You could create a sample of the combined frequencies the length of which will be the Least Common Multiple of the two frequencies, I think.  The method I used to generate the sample is covered here:
http://blog.wingedvictorydesign.com/2009/05/26/arduino-thereminsynthesizer-update/

But, for your application, you might be able to just generate the sine wave values inside the ISR in real time using the built-in Arduino trig functions.</description>
		<content:encoded><![CDATA[<p>Hi Richard,<br />
    I hadn&#8217;t thought of it before, but DTMF is a pretty ideal application for this code.  You could create a sample of the combined frequencies the length of which will be the Least Common Multiple of the two frequencies, I think.  The method I used to generate the sample is covered here:<br />
<a href="http://blog.wingedvictorydesign.com/2009/05/26/arduino-thereminsynthesizer-update/" rel="nofollow">http://blog.wingedvictorydesign.com/2009/05/26/arduino-thereminsynthesizer-update/</a></p>
<p>But, for your application, you might be able to just generate the sine wave values inside the ISR in real time using the built-in Arduino trig functions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Morgan</title>
		<link>http://blog.wingedvictorydesign.com/2009/05/29/generate-real-time-audio-on-the-arduino-using-pulse-code-modulation/comment-page-1/#comment-94</link>
		<dc:creator>Richard Morgan</dc:creator>
		<pubDate>Thu, 16 Jul 2009 11:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.wingedvictorydesign.com/?p=666#comment-94</guid>
		<description>Hello Glen. I love your website.

I&#039;m building a project right now or at least learning how to program the arduino. Anyways, I was wondering if you could suggest a piece of simplified code for me to produce a dual tone of 350hz and 440hz using your sampled sine method.

Any help will be greatly appreciated.

Thanks very much for reading.</description>
		<content:encoded><![CDATA[<p>Hello Glen. I love your website.</p>
<p>I&#8217;m building a project right now or at least learning how to program the arduino. Anyways, I was wondering if you could suggest a piece of simplified code for me to produce a dual tone of 350hz and 440hz using your sampled sine method.</p>
<p>Any help will be greatly appreciated.</p>
<p>Thanks very much for reading.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://blog.wingedvictorydesign.com/2009/05/29/generate-real-time-audio-on-the-arduino-using-pulse-code-modulation/comment-page-1/#comment-86</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Fri, 03 Jul 2009 15:25:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.wingedvictorydesign.com/?p=666#comment-86</guid>
		<description>The &#039;;gt&#039; is a Wordpress bug, it&#039;s supposed to be &#039;&lt;&#039;.  Wordpress doesn&#039;t handle code posts very well.

The 47 is just the size of the sample array (48, because we&#039;re counting from zero) in this iteration of the code.  In the final version of the code, posted here:
http://blog.wingedvictorydesign.com/2009/06/20/arduino-thereminsynth-final-walkthrough/3/

I&#039;m using a 36-sample array, and I&#039;ve also coded that up properly with a #define value, rather than a hardcoded number.

</description>
		<content:encoded><![CDATA[<p>The &#8216;;gt&#8217; is a WordPress bug, it&#8217;s supposed to be &#8216;< '.  WordPress doesn't handle code posts very well.</p>
<p>The 47 is just the size of the sample array (48, because we're counting from zero) in this iteration of the code.  In the final version of the code, posted here:<br />
<a href="http://blog.wingedvictorydesign.com/2009/06/20/arduino-thereminsynth-final-walkthrough/3/" rel="nofollow">http://blog.wingedvictorydesign.com/2009/06/20/arduino-thereminsynth-final-walkthrough/3/</p>
<p>I&#8217;m using a 36-sample array, and I&#8217;ve also coded that up properly with a #define value, rather than a hardcoded number.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glenn Duffy</title>
		<link>http://blog.wingedvictorydesign.com/2009/05/29/generate-real-time-audio-on-the-arduino-using-pulse-code-modulation/comment-page-1/#comment-83</link>
		<dc:creator>Glenn Duffy</dc:creator>
		<pubDate>Fri, 03 Jul 2009 03:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.wingedvictorydesign.com/?p=666#comment-83</guid>
		<description>Nevermind, I guess the greater than symbol got formatted strangely in your example. Works like a charm! Cheers!</description>
		<content:encoded><![CDATA[<p>Nevermind, I guess the greater than symbol got formatted strangely in your example. Works like a charm! Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glenn Duffy</title>
		<link>http://blog.wingedvictorydesign.com/2009/05/29/generate-real-time-audio-on-the-arduino-using-pulse-code-modulation/comment-page-1/#comment-82</link>
		<dc:creator>Glenn Duffy</dc:creator>
		<pubDate>Fri, 03 Jul 2009 03:28:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.wingedvictorydesign.com/?p=666#comment-82</guid>
		<description>Hey Max,

I like the stuff you&#039;re doing with the Arduino (I got linked to this page from the Arduino forums)

I&#039;m trying to get your PWM example to work. When I compile the code I get an error regarding this line: &quot;if (waveindex &gt; 47)&quot;
It doesn&#039;t recognize the parameter &quot;gt&quot;
What is this parameter? What does the semi-colon do in an if statement (I&#039;ve never seen it before like this) and of what significance is 47?</description>
		<content:encoded><![CDATA[<p>Hey Max,</p>
<p>I like the stuff you&#8217;re doing with the Arduino (I got linked to this page from the Arduino forums)</p>
<p>I&#8217;m trying to get your PWM example to work. When I compile the code I get an error regarding this line: &#8220;if (waveindex &gt; 47)&#8221;<br />
It doesn&#8217;t recognize the parameter &#8220;gt&#8221;<br />
What is this parameter? What does the semi-colon do in an if statement (I&#8217;ve never seen it before like this) and of what significance is 47?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
