<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>John Roach</title>
	<atom:link href="http://johnroach.info/feed/" rel="self" type="application/rss+xml" />
	<link>http://johnroach.info</link>
	<description>Coding for life</description>
	<lastBuildDate>Sun, 27 Jun 2010 08:05:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Being the master of a IBM x3200</title>
		<link>http://johnroach.info/2010/06/being-the-master-of-a-ibm-x3200/</link>
		<comments>http://johnroach.info/2010/06/being-the-master-of-a-ibm-x3200/#comments</comments>
		<pubDate>Sun, 27 Jun 2010 08:05:11 +0000</pubDate>
		<dc:creator>John Roach</dc:creator>
				<category><![CDATA[just fun]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Web server]]></category>

		<guid isPermaLink="false">http://johnroach.info/?p=304</guid>
		<description><![CDATA[Been a long time since I posted anything. There was a reason for that you see I was looking for a job. And guess what I found one! And guess what more! I am now the sole master of a IBM x3200 server!! This is me and the server. I must admit I have never [...]]]></description>
			<content:encoded><![CDATA[<p>Been a long time since I posted anything. There was a reason for that you see I was looking for a job. And guess what I found one! And guess what more! I am now the sole master of a <a class="zem_slink" title="IBM" rel="wikipedia" href="http://en.wikipedia.org/wiki/IBM">IBM</a> x3200 server!!<a href="http://johnroach.info/wp-content/uploads/2010/06/Image006.jpg"><img class="size-medium wp-image-352 alignleft" title="Me and my IBM x3200 server" src="http://johnroach.info/wp-content/uploads/2010/06/Image006-300x225.jpg" alt="IBM x3200 server" width="300" height="225" /></a> This is me and the server. I must  admit I have never set up a server from nothing before. So far servers  were given to me already set up. All I had to do was to add and  remove software. Now I have to set up the whole network AND write  the software. Not complaining! I am just thrilled! Going to be  attending summer school too. So will be busy busy busy. And you  know what busy busy busy means. ( Hint: Less posts)</p>
<p>Oh yeah talking of posts. According to my site statistics I am getting  around a thousand or so clicks a week. My question is why are spams  the only ones sending me comments? Please leave comments!!</p>
]]></content:encoded>
			<wfw:commentRss>http://johnroach.info/2010/06/being-the-master-of-a-ibm-x3200/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A Vimeo Vlog Example</title>
		<link>http://johnroach.info/2010/06/a-vimeo-vlog-example/</link>
		<comments>http://johnroach.info/2010/06/a-vimeo-vlog-example/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 23:00:13 +0000</pubDate>
		<dc:creator>John Roach</dc:creator>
				<category><![CDATA[just fun]]></category>
		<category><![CDATA[end of year project]]></category>
		<category><![CDATA[panel]]></category>
		<category><![CDATA[Vimeo]]></category>
		<category><![CDATA[vlog]]></category>

		<guid isPermaLink="false">http://johnroach.info/?p=295</guid>
		<description><![CDATA[Hi. As I promised a Vimeo version vlog. I think I will go with Vimeo than with Yahoo!Videos. Easier to use. Enjoy&#8230;]]></description>
			<content:encoded><![CDATA[<p>Hi. As I promised a Vimeo version vlog. I think I will go with Vimeo than with Yahoo!Videos. Easier to use. Enjoy&#8230;<br />
<br/></p>
<p><center><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=12409448&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=00adef&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=12409448&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=00adef&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object></center></p>
]]></content:encoded>
			<wfw:commentRss>http://johnroach.info/2010/06/a-vimeo-vlog-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vlog research</title>
		<link>http://johnroach.info/2010/06/vlog-research/</link>
		<comments>http://johnroach.info/2010/06/vlog-research/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 20:52:02 +0000</pubDate>
		<dc:creator>John Roach</dc:creator>
				<category><![CDATA[just fun]]></category>
		<category><![CDATA[Arts]]></category>
		<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[Online Media]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Video blogging]]></category>
		<category><![CDATA[Vimeo]]></category>
		<category><![CDATA[Yahoo!]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://johnroach.info/?p=287</guid>
		<description><![CDATA[Thinking on how to start a &#8220;Vlog&#8221; type of postings on my site. The problem is choosing a good service provider. Sadly the choice is not so easy for me. I would have chosen YouTube the moment I decided to do a Vlog&#8230; But the idiotic thing is that YouTube is banned for life for [...]]]></description>
			<content:encoded><![CDATA[<p>Thinking on how to start a &#8220;<a class="zem_slink" title="Video blogging" rel="wikipedia" href="http://en.wikipedia.org/wiki/Video_blogging">Vlog</a>&#8221; type of postings on my site. The problem is choosing a good service provider. Sadly the choice is not so easy for me. I would have chosen <a class="zem_slink" title="YouTube" rel="wikipedia" href="http://en.wikipedia.org/wiki/YouTube">YouTube</a> the moment I decided to do a Vlog&#8230; But the idiotic thing is that YouTube is banned for life for a very idiotic reason. Meh&#8230; Politics&#8230; So I&#8217;m between Vimeo and Yahoo!Video. For now I&#8217;m posting a video using Yahoo! tell me what you think. Tomorrow I&#8217;ll try to post one from Vimeo. If you have any more ideas please do tell. Yahoo video or Vimeo ?</p>
<div style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="512" height="322" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="AllowScriptAccess" value="always" /><param name="bgcolor" value="#000000" /><param name="flashVars" value="id=15407502&amp;vid=5916893&amp;lang=en-us&amp;intl=us&amp;thumbUrl=http%3A//l.yimg.com/a/p/i/bcst/videosearch/10967/92592141.jpeg&amp;embed=1" /><param name="src" value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.46" /><param name="flashvars" value="id=15407502&amp;vid=5916893&amp;lang=en-us&amp;intl=us&amp;thumbUrl=http%3A//l.yimg.com/a/p/i/bcst/videosearch/10967/92592141.jpeg&amp;embed=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="512" height="322" src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.46" flashvars="id=15407502&amp;vid=5916893&amp;lang=en-us&amp;intl=us&amp;thumbUrl=http%3A//l.yimg.com/a/p/i/bcst/videosearch/10967/92592141.jpeg&amp;embed=1" bgcolor="#000000" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<a href="http://video.yahoo.com/watch/5916893/15407502">A boat tour</a> @ <a href="http://video.yahoo.com">Yahoo! Video</a></div>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/ce3a80b5-ab11-431c-bf67-7932310dc78f/"><img class="zemanta-pixie-img" style="border: none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=ce3a80b5-ab11-431c-bf67-7932310dc78f" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://johnroach.info/2010/06/vlog-research/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Summer Project &#8220;OpenIntelligentRobot&#8221;  and Help Needed!</title>
		<link>http://johnroach.info/2010/05/summer-project-openintelligentrobot-help-needed/</link>
		<comments>http://johnroach.info/2010/05/summer-project-openintelligentrobot-help-needed/#comments</comments>
		<pubDate>Tue, 25 May 2010 14:33:19 +0000</pubDate>
		<dc:creator>John Roach</dc:creator>
				<category><![CDATA[summer project 2010]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[beagleboard]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[robot]]></category>

		<guid isPermaLink="false">http://johnroach.info/?p=280</guid>
		<description><![CDATA[I&#8217;ve been mulling over an idea all winter. Trying to come up with different projects that could be done using Beagle-board and Arduino. The project is (you hear drum-roll here) &#8220;Building An Intelligent Robot&#8221;. I know it&#8217;s already been done however I have some additional ideas to put in project. All code will be open source. So if you [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been mulling over an idea all winter. Trying to come up with different projects that could be done using Beagle-board and Arduino. The project is (you hear drum-roll here) &#8220;Building An Intelligent Robot&#8221;. I know it&#8217;s already been done however I have some additional ideas to put in project. All code will be open source. So if you want to build your own you could read up in this site.Oh and I really do need help. Especially financially. So if you are interested please drop me a line. My doodling is as below to give you an idea.<br />
<a href="http://johnroach.info/wp-content/uploads/2010/05/summer_plan.jpg"><img src="http://johnroach.info/wp-content/uploads/2010/05/summer_plan-744x1024.jpg" alt="" title="summer_plan" width="744" height="1024" class="aligncenter size-large wp-image-285" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://johnroach.info/2010/05/summer-project-openintelligentrobot-help-needed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A pretty picture</title>
		<link>http://johnroach.info/2010/05/a-pretty-picture/</link>
		<comments>http://johnroach.info/2010/05/a-pretty-picture/#comments</comments>
		<pubDate>Thu, 13 May 2010 19:27:05 +0000</pubDate>
		<dc:creator>John Roach</dc:creator>
				<category><![CDATA[just fun]]></category>
		<category><![CDATA[flower]]></category>
		<category><![CDATA[john roach]]></category>
		<category><![CDATA[picture]]></category>

		<guid isPermaLink="false">http://johnroach.info/?p=275</guid>
		<description><![CDATA[Hi. Got to take a photo that I actually am proud of. I hope you like it. If you are viewing this in a link in a other than my own site you may not able to see the bigger picture. Please view this in my own site. (http://johnroach.info/2010/05/a-pretty-picture/)]]></description>
			<content:encoded><![CDATA[<p>Hi. Got to take a photo that I actually am proud of. I hope you like it.</p>
<p style="text-align: center;"><a rel="lightbox[2010-4-4-22-24-11]" href="http://lh5.ggpht.com/_ays0jYAPwio/S-xQwnd6VXI/AAAAAAAAAy0/scthzM92tF8/IMG_0257.JPG?imgmax=800"><img class="pie-img" style="margin: 10px 10px 10px 10px;" src="http://lh5.ggpht.com/_ays0jYAPwio/S-xQwnd6VXI/AAAAAAAAAy0/scthzM92tF8/IMG_0257.JPG?imgmax=160" alt="IMG_0257.JPG" width="160" height="120" /></a></p>
<p style="text-align: left;"><a rel="lightbox[2010-4-4-22-23-23]" href="http://lh5.ggpht.com/_ays0jYAPwio/S-xQwnd6VXI/AAAAAAAAAy0/scthzM92tF8/IMG_0257.JPG?imgmax=800"><img class="pie-img" style="margin: 10px 10px 10px 10px;" src="http://lh5.ggpht.com/_ays0jYAPwio/S-xQwnd6VXI/AAAAAAAAAy0/scthzM92tF8/IMG_0257.JPG?imgmax=null" alt="IMG_0257.JPG" width="0" height="0" /></a>If you are viewing this in a link in a other than my own site you may not able to see the bigger picture. Please view this in my own site. (<a href="http://johnroach.info/2010/05/a-pretty-picture/">http://johnroach.info/2010/05/a-pretty-picture/</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://johnroach.info/2010/05/a-pretty-picture/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>So long Ele203-204 and thanks for all the fish</title>
		<link>http://johnroach.info/2010/04/so-long-ele203-204-and-thanks-for-all-the-fish/</link>
		<comments>http://johnroach.info/2010/04/so-long-ele203-204-and-thanks-for-all-the-fish/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 18:03:25 +0000</pubDate>
		<dc:creator>John Roach</dc:creator>
				<category><![CDATA[just fun]]></category>
		<category><![CDATA[203]]></category>
		<category><![CDATA[circuit]]></category>
		<category><![CDATA[ele 203]]></category>
		<category><![CDATA[ele-204]]></category>
		<category><![CDATA[school]]></category>

		<guid isPermaLink="false">http://johnroach.info/?p=270</guid>
		<description><![CDATA[I saw this comic at http://xkcd.com. If you don&#8217;t know about it you should check it out!]]></description>
			<content:encoded><![CDATA[<p>I saw this comic at http://xkcd.com. If you don&#8217;t know about it you should check it out!<br />
<center>
<p style="text-align: center;"><a rel="lightbox[2010-3-3-21-3-19]" href="http://lh6.ggpht.com/_ays0jYAPwio/S888qglMHNI/AAAAAAAAAwI/jQTvascj48M/circuit_diagram.jpg?imgmax=800"><img class="pie-img aligncenter" style="margin: 10px 10px 10px 10px;" src="http://lh6.ggpht.com/_ays0jYAPwio/S888qglMHNI/AAAAAAAAAwI/jQTvascj48M/circuit_diagram.jpg?imgmax=320" alt="circuit_diagram.jpg" width="248" height="320" /></a></p>
<p></center></p>
]]></content:encoded>
			<wfw:commentRss>http://johnroach.info/2010/04/so-long-ele203-204-and-thanks-for-all-the-fish/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing size of array in C programming language</title>
		<link>http://johnroach.info/2010/04/changing-size-of-array-in-c-programming-language/</link>
		<comments>http://johnroach.info/2010/04/changing-size-of-array-in-c-programming-language/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 09:59:44 +0000</pubDate>
		<dc:creator>John Roach</dc:creator>
				<category><![CDATA[Coding for fun]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://johnroach.info/?p=266</guid>
		<description><![CDATA[It&#8217;s been a long time since I coded in C. I needed to change the size of an array within the program. At first I just simply tried; int ab=10; int array[ab]; And surprisingly it didn&#8217;t work. (I mean it works in C++ and C#) Anyway I was thinking of ways on how to do [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a long time since I coded in C. I needed to change the size of an array within the program. At first I just simply tried;</p>
<pre name="code" class="c">
int ab=10;
int array[ab];
</pre>
<p>And surprisingly it didn&#8217;t work. (I mean it works in C++ and C#)<br />
Anyway I was thinking of ways on how to do this thought of using malloc() however I really didn&#8217;t know how hence I did some Google&#8217;ing around. And found this neat piece of code.</p>
<pre name="code" class="c">
int *resize_array(int *a, size_t new_size)
{
  int *save;

  save = realloc(a, new_size);
  if (save == NULL) {
    fprintf(stderr, "Memory exhausted\n");
    exit(EXIT_FAILURE);
  }
  return save;
}

int *user_old_array; // the array
int new_array_size=10;
user_old_array = malloc(initial_array_size * sizeof *user_old_array); //resized array
</pre>
<p>Quite neat isn&#8217;t it. I thought I should probably write this somewhere so I won&#8217;t forget. Hence the post.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://johnroach.info/2010/04/changing-size-of-array-in-c-programming-language/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Willard Wigan: Hold your breath for micro-sculpture</title>
		<link>http://johnroach.info/2010/04/willard-wigan-hold-your-breath-for-micro-sculpture/</link>
		<comments>http://johnroach.info/2010/04/willard-wigan-hold-your-breath-for-micro-sculpture/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 19:21:24 +0000</pubDate>
		<dc:creator>John Roach</dc:creator>
				<category><![CDATA[just fun]]></category>
		<category><![CDATA[Willard Wigan]]></category>

		<guid isPermaLink="false">http://johnroach.info/?p=260</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><center><!--copy and paste--><object width="446" height="326"><param name="movie" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf"></param><param name="allowFullScreen" value="true" /><param name="wmode" value="transparent"></param><param name="bgColor" value="#ffffff"></param><param name="flashvars" value="vu=http://video.ted.com/talks/dynamic/WillardWigan_2009G-medium.flv&#038;su=http://images.ted.com/images/ted/tedindex/embed-posters/WillardWigan-2009G.embed_thumbnail.jpg&#038;vw=432&#038;vh=240&#038;ap=0&#038;ti=610&#038;introDuration=16500&#038;adDuration=4000&#038;postAdDuration=2000&#038;adKeys=talk=willard_wigan_hold_your_breath_for_micro_sculpture;year=2009;theme=speaking_at_tedglobal2009;theme=art_unusual;theme=the_creative_spark;event=TEDGlobal+2009;&#038;preAdTag=tconf.ted/embed;tile=1;sz=512x288;" /><embed src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" pluginspace="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" bgColor="#ffffff" width="446" height="326" allowFullScreen="true" flashvars="vu=http://video.ted.com/talks/dynamic/WillardWigan_2009G-medium.flv&#038;su=http://images.ted.com/images/ted/tedindex/embed-posters/WillardWigan-2009G.embed_thumbnail.jpg&#038;vw=432&#038;vh=240&#038;ap=0&#038;ti=610&#038;introDuration=16500&#038;adDuration=4000&#038;postAdDuration=2000&#038;adKeys=talk=willard_wigan_hold_your_breath_for_micro_sculpture;year=2009;theme=speaking_at_tedglobal2009;theme=art_unusual;theme=the_creative_spark;event=TEDGlobal+2009;"></embed></object></center></p>
]]></content:encoded>
			<wfw:commentRss>http://johnroach.info/2010/04/willard-wigan-hold-your-breath-for-micro-sculpture/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Cyborg Composer</title>
		<link>http://johnroach.info/2010/02/a-cyborg-composer/</link>
		<comments>http://johnroach.info/2010/02/a-cyborg-composer/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 06:05:40 +0000</pubDate>
		<dc:creator>John Roach</dc:creator>
				<category><![CDATA[tech news]]></category>
		<category><![CDATA[Artificial intelligence]]></category>
		<category><![CDATA[David Cope]]></category>
		<category><![CDATA[University of California]]></category>
		<category><![CDATA[University of California Santa Cruz]]></category>

		<guid isPermaLink="false">http://johnroach.info/?p=247</guid>
		<description><![CDATA[Hi. There. Before you read this post please listen to these music pieces. Listen here for the first peace here :  Or download from here : Emily Howell 1 Listen to the second peace from here: Or download from here : Emily Howell 2 Enjoyed it? Which one felt odd? The first one? The second one? [...]]]></description>
			<content:encoded><![CDATA[<p>Hi. There. Before you read this post please listen to these music pieces.</p>
<p>Listen here for the first peace here : <script type='text/javascript'>wpa_urls.push('\u0068\u0074\u0074\u0070\u003a\u002f\u002f\u006a\u006f\u0068\u006e\u0072\u006f\u0061\u0063\u0068\u002e\u0069\u006e\u0066\u006f\u002f\u0077\u0070\u002d\u0063\u006f\u006e\u0074\u0065\u006e\u0074\u002f\u0075\u0070\u006c\u006f\u0061\u0064\u0073\u002f\u0032\u0030\u0031\u0030\u002f\u0030\u0032\u002f\u0065\u006d\u0069\u006c\u0079\u005f\u0068\u006f\u0077\u0065\u006c\u006c\u005f\u0031\u002e\u006d\u0070\u0033');</script><a class='wpaudio wpaudio_url_0' href='1'>Emily Howell 1</a></p>
<p>Or download from here : <a href="http://johnroach.info/wp-content/uploads/2010/02/emily_howell_1.mp3">Emily Howell 1</a></p>
<p>Listen to the second peace from here: <script type='text/javascript'>wpa_urls.push('\u0068\u0074\u0074\u0070\u003a\u002f\u002f\u006a\u006f\u0068\u006e\u0072\u006f\u0061\u0063\u0068\u002e\u0069\u006e\u0066\u006f\u002f\u0077\u0070\u002d\u0063\u006f\u006e\u0074\u0065\u006e\u0074\u002f\u0075\u0070\u006c\u006f\u0061\u0064\u0073\u002f\u0032\u0030\u0031\u0030\u002f\u0030\u0032\u002f\u0045\u006d\u0069\u006c\u0079\u005f\u0048\u006f\u0077\u0065\u006c\u006c\u005f\u0054\u0072\u0061\u0063\u006b\u0032\u002e\u006d\u0070\u0033');</script><a class='wpaudio wpaudio_url_1' href='1'>Emily Howell 2</a></p>
<p>Or download from here : <a href="http://johnroach.info/wp-content/uploads/2010/02/Emily_Howell_Track2.mp3">Emily Howell 2 </a></p>
<p>Enjoyed it? Which one felt odd? The first one? The second one?</p>
<p>Now the crux of the matter. <strong>Which do you think was written by an AI (</strong><a class="zem_slink" title="Artificial Intelligence (series)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Artificial_Intelligence"><strong>Artificial Intelligence</strong></a><strong>) ?</strong></p>
<p><span id="more-247"></span>Both pieces above were written by a computer software. Designed by <a class="zem_slink" title="David Cope" rel="wikipedia" href="http://en.wikipedia.org/wiki/David_Cope">David Cope</a>.</p>
<p>A short wiki search on David Cope :</p>
<blockquote><p><img src="http://www.miller-mccune.com/wp-content/uploads/image-resize-cache/resized432x299mmw_composer_main_0310.jpg" alt="feature photo" width="432" height="299" /></p>
<h6>UC Santa Cruz emeritus professor David Cope is ready to introduce computer software that creates original, modern music. (Catherine Karnow)</h6>
<p><strong>David Cope</strong> (b. <a title="San Francisco, California" href="http://en.wikipedia.org/wiki/San_Francisco,_California">San Francisco</a>, <a title="California" href="http://en.wikipedia.org/wiki/California">California</a>, <a title="United States" href="http://en.wikipedia.org/wiki/United_States">United States</a>, May 17, 1941) is an <a title="United States" href="http://en.wikipedia.org/wiki/United_States">American</a> <a title="Author" href="http://en.wikipedia.org/wiki/Author">author</a>, <a title="Composer" href="http://en.wikipedia.org/wiki/Composer">composer</a>, scientist, and professor emeritus of music at the <a title="University of California, Santa Cruz" href="http://en.wikipedia.org/wiki/University_of_California,_Santa_Cruz">University of California, Santa Cruz</a>. His primary area of research involves <a title="Artificial intelligence" href="http://en.wikipedia.org/wiki/Artificial_intelligence">artificial intelligence</a> and <a title="Music" href="http://en.wikipedia.org/wiki/Music">music</a>; he writes programs and algorithms that can analyze existing music and create new compositions in the style of the original input music. In addition to regular music classes, he teaches a summer <a rel="nofollow" href="http://arts.ucsc.edu/wacm/">Workshop in Algorithmic Computer Music</a> that is open to the public as well as a general education course entitled <em>Artificial Intelligence and Music</em> for enrolled UCSC students.</p></blockquote>
<p>His software has started angering people who believe music can only written with soul. And the above is nothing more than random notes. However what they don&#8217;t realize is that maybe your computer gains its soul with this neat little software.</p>
<p>I do believe that one day computers will gain their full sentience. They will be aware and start asking the serious questions. And I do believe that creating music by using AI software is just brilliant.</p>
<p>Tell me what you think! Is this music real enough for you?</p>
<p>Peace!</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><img class="zemanta-pixie-img" style="border: none; float: right;" src="http://img.zemanta.com/pixy.gif?x-id=55005f76-cd85-499d-aedf-2eee7b6cea0d" alt="" /><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://johnroach.info/2010/02/a-cyborg-composer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://johnroach.info/wp-content/uploads/2010/02/emily_howell_1.mp3" length="1988985" type="audio/mpeg" />
<enclosure url="http://johnroach.info/wp-content/uploads/2010/02/Emily_Howell_Track2.mp3" length="3025106" type="audio/mpeg" />
		</item>
		<item>
		<title>Amplitude Modulation of a cosine message</title>
		<link>http://johnroach.info/2010/02/amplitude-modulation-of-a-cosine-message/</link>
		<comments>http://johnroach.info/2010/02/amplitude-modulation-of-a-cosine-message/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 10:30:41 +0000</pubDate>
		<dc:creator>John Roach</dc:creator>
				<category><![CDATA[Coding for fun]]></category>
		<category><![CDATA[just fun]]></category>
		<category><![CDATA[Amplitude]]></category>
		<category><![CDATA[Carrier wave]]></category>
		<category><![CDATA[Frequency]]></category>
		<category><![CDATA[matlab]]></category>

		<guid isPermaLink="false">http://johnroach.info/?p=223</guid>
		<description><![CDATA[Hi there! Have some new code based on Matlab. It was actually a Computer Exercise for my Telecom course. It is an example of Amplitude Modulation of a Cos based message. The code is easy enough. If you have any questions please ask. Hope you enjoy it. 1 2 3 4 5 6 7 8 [...]]]></description>
			<content:encoded><![CDATA[<p>Hi there! Have some new code based on <a class="zem_slink" href="http://www.mathworks.com/products/matlab/" title="MATLAB" rel="homepage">Matlab</a>. It was actually a Computer Exercise for my Telecom course. It is an example of Amplitude Modulation of a Cos based message. The code is easy enough. If you have any questions please ask. Hope you enjoy it.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
</pre></td><td class="code"><pre class="matlab" style="font-family:monospace;"><span style="color: #0000FF;">function</span> am_modulation
&nbsp;
N=<span style="color: #33f;">2000</span>;
F=<span style="color: #080;">&#40;</span>-N/<span style="color: #33f;">2</span>:N/<span style="color: #33f;">2</span>-<span style="color: #33f;">1</span><span style="color: #080;">&#41;</span>/N;
&nbsp;
user_entry1 = <span style="color: #0000FF;">input</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'Please enter carrier freq [Press enter for default fc=0.25] :'</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">if</span> isempty<span style="color: #080;">&#40;</span>user_entry1<span style="color: #080;">&#41;</span>
    fc=<span style="color: #33f;">0.25</span>;
<span style="color: #0000FF;">else</span>
    fc=user_entry1;
<span style="color: #0000FF;">end</span>
&nbsp;
user_entry4 = <span style="color: #0000FF;">input</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'Please enter amplitude of carrier wave [Press enter for default Ac=1] :'</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">if</span> isempty<span style="color: #080;">&#40;</span>user_entry4<span style="color: #080;">&#41;</span>
    Ac=<span style="color: #33f;">1</span>;
<span style="color: #0000FF;">else</span>
    Ac=user_entry4;
<span style="color: #0000FF;">end</span>
&nbsp;
n=<span style="color: #33f;">0</span>:<span style="color: #33f;">1</span>:<span style="color: #33f;">256</span>;
&nbsp;
c=Ac*<span style="color: #0000FF;">cos</span><span style="color: #080;">&#40;</span><span style="color: #33f;">2</span>*<span style="color: #0000FF;">pi</span>*n*fc<span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">subplot</span><span style="color: #080;">&#40;</span><span style="color: #33f;">2</span>,<span style="color: #33f;">2</span>,<span style="color: #33f;">1</span><span style="color: #080;">&#41;</span>
<span style="color: #0000FF;">plot</span><span style="color: #080;">&#40;</span>F, <span style="color: #0000FF;">fftshift</span><span style="color: #080;">&#40;</span><span style="color: #0000FF;">abs</span><span style="color: #080;">&#40;</span><span style="color: #0000FF;">fft</span><span style="color: #080;">&#40;</span>c,N<span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">title</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'Carrier Wave at frequency-domain'</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">xlabel</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'frequency'</span><span style="color: #080;">&#41;</span>, <span style="color: #0000FF;">ylabel</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'amplitude'</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">grid</span> on;
&nbsp;
&nbsp;
&nbsp;
user_entry2 = <span style="color: #0000FF;">input</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'Please enter message freq [Press enter for default fm=0.01] :'</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">if</span> isempty<span style="color: #080;">&#40;</span>user_entry2<span style="color: #080;">&#41;</span>
    fm=<span style="color: #33f;">0.01</span>;
<span style="color: #0000FF;">else</span>
    fm=user_entry2;
<span style="color: #0000FF;">end</span>
&nbsp;
user_entry5 = <span style="color: #0000FF;">input</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'Please enter message amplitude [Press enter for default Am=1] :'</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">if</span> isempty<span style="color: #080;">&#40;</span>user_entry5<span style="color: #080;">&#41;</span>
    Am=<span style="color: #33f;">1</span>;
<span style="color: #0000FF;">else</span>
    Am=user_entry5;
<span style="color: #0000FF;">end</span>
&nbsp;
m=Am*<span style="color: #0000FF;">cos</span><span style="color: #080;">&#40;</span><span style="color: #33f;">2</span>*<span style="color: #0000FF;">pi</span>*fm*n<span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">subplot</span><span style="color: #080;">&#40;</span><span style="color: #33f;">2</span>,<span style="color: #33f;">2</span>,<span style="color: #33f;">2</span><span style="color: #080;">&#41;</span>
<span style="color: #0000FF;">plot</span><span style="color: #080;">&#40;</span>F, <span style="color: #0000FF;">fftshift</span><span style="color: #080;">&#40;</span><span style="color: #0000FF;">abs</span><span style="color: #080;">&#40;</span><span style="color: #0000FF;">fft</span><span style="color: #080;">&#40;</span>m,N<span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">title</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'Message at frequency-domain'</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">xlabel</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'frequency'</span><span style="color: #080;">&#41;</span>, <span style="color: #0000FF;">ylabel</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'amplitude'</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">grid</span> on;
&nbsp;
&nbsp;
user_entry3 = <span style="color: #0000FF;">input</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'Please enter amplitude sensitivity cnst. [Press enter for default ka=0.5] :'</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">if</span> isempty<span style="color: #080;">&#40;</span>user_entry3<span style="color: #080;">&#41;</span>
    ka=<span style="color: #33f;">0.5</span>;
<span style="color: #0000FF;">else</span>
    ka=user_entry3;
<span style="color: #0000FF;">end</span>
&nbsp;
s=<span style="color: #080;">&#40;</span><span style="color: #33f;">1</span>+m.*ka<span style="color: #080;">&#41;</span>.*c;
&nbsp;
<span style="color: #0000FF;">subplot</span><span style="color: #080;">&#40;</span><span style="color: #33f;">2</span>,<span style="color: #33f;">2</span>,<span style="color: #080;">&#91;</span><span style="color: #33f;">3</span> <span style="color: #33f;">4</span><span style="color: #080;">&#93;</span><span style="color: #080;">&#41;</span>
<span style="color: #0000FF;">plot</span><span style="color: #080;">&#40;</span>F,<span style="color: #0000FF;">fftshift</span><span style="color: #080;">&#40;</span><span style="color: #0000FF;">abs</span><span style="color: #080;">&#40;</span><span style="color: #0000FF;">fft</span><span style="color: #080;">&#40;</span>s,N<span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">title</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'AM waveform at frequency-domain'</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">xlabel</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'frequency'</span><span style="color: #080;">&#41;</span>, <span style="color: #0000FF;">ylabel</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'amplitude'</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">grid</span> on;</pre></td></tr></table></div>

<p>Here is an example result of the code ;</p>
<p><center><img src="http://lh5.ggpht.com/_ays0jYAPwio/S4EJVluhDMI/AAAAAAAAAlM/ZGpIDgPyvKw/example_run.jpg?imgmax=512" alt="example_run.jpg" width="512" height="421" class="pie-img"><img style="margin:10px 10px 10px 10px;"/></img></center></p>
<p>Enjoy &#038; peace!</p>
<div class="zemanta-pixie" style="margin-top:10px;height:15px"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=d209ba35-4b73-4a27-b7a1-50de76a2513c" style="border:none;float:right"><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://johnroach.info/2010/02/amplitude-modulation-of-a-cosine-message/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
