<?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: Teaching kids how to create a drum machine with Python</title>
	<atom:link href="http://zovirl.com/2009/07/23/teaching-kids-how-to-create-a-drum-machine-with-python/feed/" rel="self" type="application/rss+xml" />
	<link>http://zovirl.com/2009/07/23/teaching-kids-how-to-create-a-drum-machine-with-python/</link>
	<description>Mark Ivey&#039;s Blog</description>
	<lastBuildDate>Fri,  9 Jul 2010 14:24:47 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Boss TU</title>
		<link>http://zovirl.com/2009/07/23/teaching-kids-how-to-create-a-drum-machine-with-python/comment-page-1/#comment-31562</link>
		<dc:creator>Boss TU</dc:creator>
		<pubDate>Tue, 23 Mar 2010 15:59:12 +0000</pubDate>
		<guid isPermaLink="false">http://zovirl.com/?p=388#comment-31562</guid>
		<description>Hey Mark - pretty inspirational stuff you have documented here. You mention you would do it again...I note the lessons collectively were 10 hours across the term and it does sound as though there was some serious preparation taking place getting yourself ship shape for the classes, thats alot of resource your giving over. I guess I can draw from your article that the rewards far outweigh the time sacrifice, we have such teaching programs in the UK which are currently being run and heavily advertised locally and regionally including TV which is starting to have an effect on me. I think I will follow your lead...thanks for the push!</description>
		<content:encoded><![CDATA[<p>Hey Mark &#8211; pretty inspirational stuff you have documented here. You mention you would do it again&#8230;I note the lessons collectively were 10 hours across the term and it does sound as though there was some serious preparation taking place getting yourself ship shape for the classes, thats alot of resource your giving over. I guess I can draw from your article that the rewards far outweigh the time sacrifice, we have such teaching programs in the UK which are currently being run and heavily advertised locally and regionally including TV which is starting to have an effect on me. I think I will follow your lead&#8230;thanks for the push!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://zovirl.com/2009/07/23/teaching-kids-how-to-create-a-drum-machine-with-python/comment-page-1/#comment-22494</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 14 Aug 2009 04:42:48 +0000</pubDate>
		<guid isPermaLink="false">http://zovirl.com/?p=388#comment-22494</guid>
		<description>Right, I probably should have linked to the code.  It is hosted on Google Code: http://code.google.com/p/sillydrum/.  The code is pretty raw right now.  I might write a more in-depth post about the code itself, but for now the svn repository is all there is.

There are also copies of the lesson plans in the source tree.  Splitting up the lessons was pretty easy: at the start of the semester I made a quick roadmap of how far we would have to get each week to finish 1 week early.  Then I just tried to stick to that when preparing each week&#039;s lesson.  I could adjust how much code the kids had to write by given more or less powerful libraries functions for them to use.

I used pyglet instead of pygame.  One of the pyglet example programs is actually what gave me the idea of making a drum machine: there&#039;s a sample that shows how to make a sound play when the user presses a key on the keyboard.  After playing rock band one night, it occured to me that it wouldn&#039;t be that hard to code something similar using pygame.

These kids were mostly 8th graders (13-14 years old?) and they weren&#039;t really interested in math.  My guess is that they were struggling with the simpler programming concepts (conditionals, event-driven programming, etc.) so they weren&#039;t quite ready to worry about the math.  Fortunately, there isn&#039;t much math involved in a drum machine.  I wish I had some experience with other age groups to know how it compares.</description>
		<content:encoded><![CDATA[<p>Right, I probably should have linked to the code.  It is hosted on Google Code: <a href="http://code.google.com/p/sillydrum/" rel="nofollow">http://code.google.com/p/sillydrum/</a>.  The code is pretty raw right now.  I might write a more in-depth post about the code itself, but for now the svn repository is all there is.</p>
<p>There are also copies of the lesson plans in the source tree.  Splitting up the lessons was pretty easy: at the start of the semester I made a quick roadmap of how far we would have to get each week to finish 1 week early.  Then I just tried to stick to that when preparing each week&#8217;s lesson.  I could adjust how much code the kids had to write by given more or less powerful libraries functions for them to use.</p>
<p>I used pyglet instead of pygame.  One of the pyglet example programs is actually what gave me the idea of making a drum machine: there&#8217;s a sample that shows how to make a sound play when the user presses a key on the keyboard.  After playing rock band one night, it occured to me that it wouldn&#8217;t be that hard to code something similar using pygame.</p>
<p>These kids were mostly 8th graders (13-14 years old?) and they weren&#8217;t really interested in math.  My guess is that they were struggling with the simpler programming concepts (conditionals, event-driven programming, etc.) so they weren&#8217;t quite ready to worry about the math.  Fortunately, there isn&#8217;t much math involved in a drum machine.  I wish I had some experience with other age groups to know how it compares.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://zovirl.com/2009/07/23/teaching-kids-how-to-create-a-drum-machine-with-python/comment-page-1/#comment-21986</link>
		<dc:creator>James</dc:creator>
		<pubDate>Mon, 03 Aug 2009 00:52:12 +0000</pubDate>
		<guid isPermaLink="false">http://zovirl.com/?p=388#comment-21986</guid>
		<description>Would love to see the source code published for this.</description>
		<content:encoded><![CDATA[<p>Would love to see the source code published for this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Harris</title>
		<link>http://zovirl.com/2009/07/23/teaching-kids-how-to-create-a-drum-machine-with-python/comment-page-1/#comment-21947</link>
		<dc:creator>Andy Harris</dc:creator>
		<pubDate>Sun, 02 Aug 2009 02:53:02 +0000</pubDate>
		<guid isPermaLink="false">http://zovirl.com/?p=388#comment-21947</guid>
		<description>Great article.  I had a similar experience. I taught a game programming class to a high school group for one hour a week for a semester. I used Python and pygame.  

There was not a book I liked on the topic, so I wrote &quot;Game Programming - the L Line&quot; - published by Wiley Press.  Let me know if you&#039;re interested in using it. You can see the course (and my online videos for it) on my main web site:  http://www.aharrisbooks.net

I&#039;m sure you discovered (as I did) that kids who wouldn&#039;t be caught dead learning math were asking for math and physics formulas...

-Andy</description>
		<content:encoded><![CDATA[<p>Great article.  I had a similar experience. I taught a game programming class to a high school group for one hour a week for a semester. I used Python and pygame.  </p>
<p>There was not a book I liked on the topic, so I wrote &#8220;Game Programming &#8211; the L Line&#8221; &#8211; published by Wiley Press.  Let me know if you&#8217;re interested in using it. You can see the course (and my online videos for it) on my main web site:  <a href="http://www.aharrisbooks.net" rel="nofollow">http://www.aharrisbooks.net</a></p>
<p>I&#8217;m sure you discovered (as I did) that kids who wouldn&#8217;t be caught dead learning math were asking for math and physics formulas&#8230;</p>
<p>-Andy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://zovirl.com/2009/07/23/teaching-kids-how-to-create-a-drum-machine-with-python/comment-page-1/#comment-21942</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Sat, 01 Aug 2009 20:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://zovirl.com/?p=388#comment-21942</guid>
		<description>Not that i wish to diminish what this post talks about in anyway what you have done is great and i only wish i had engaging lessons like that at school, but would you not agree that using coding skills in open source projects is also another way that our skills can be used to teach and help younger programmers.</description>
		<content:encoded><![CDATA[<p>Not that i wish to diminish what this post talks about in anyway what you have done is great and i only wish i had engaging lessons like that at school, but would you not agree that using coding skills in open source projects is also another way that our skills can be used to teach and help younger programmers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay S</title>
		<link>http://zovirl.com/2009/07/23/teaching-kids-how-to-create-a-drum-machine-with-python/comment-page-1/#comment-21940</link>
		<dc:creator>Jay S</dc:creator>
		<pubDate>Sat, 01 Aug 2009 18:25:21 +0000</pubDate>
		<guid isPermaLink="false">http://zovirl.com/?p=388#comment-21940</guid>
		<description>Also, I guess you used pygame?</description>
		<content:encoded><![CDATA[<p>Also, I guess you used pygame?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay S</title>
		<link>http://zovirl.com/2009/07/23/teaching-kids-how-to-create-a-drum-machine-with-python/comment-page-1/#comment-21939</link>
		<dc:creator>Jay S</dc:creator>
		<pubDate>Sat, 01 Aug 2009 18:19:11 +0000</pubDate>
		<guid isPermaLink="false">http://zovirl.com/?p=388#comment-21939</guid>
		<description>Neat. Can you share the code for the final program, and possibly discuss how you broke it out into separate sessions over the weeks? Thanks!</description>
		<content:encoded><![CDATA[<p>Neat. Can you share the code for the final program, and possibly discuss how you broke it out into separate sessions over the weeks? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arun kamath</title>
		<link>http://zovirl.com/2009/07/23/teaching-kids-how-to-create-a-drum-machine-with-python/comment-page-1/#comment-21934</link>
		<dc:creator>arun kamath</dc:creator>
		<pubDate>Sat, 01 Aug 2009 15:08:48 +0000</pubDate>
		<guid isPermaLink="false">http://zovirl.com/?p=388#comment-21934</guid>
		<description>Care to share the code?</description>
		<content:encoded><![CDATA[<p>Care to share the code?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
