<?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>Robert Muller Design &#187; Audio</title>
	<atom:link href="http://rmd.com.au/archives/category/audio/feed" rel="self" type="application/rss+xml" />
	<link>http://rmd.com.au</link>
	<description></description>
	<lastBuildDate>Fri, 08 Jan 2010 01:22:22 +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>#tweetcoding Part 3 &#8211; Starfield, Sinescroller, TweetSynth &amp; VintageFlash</title>
		<link>http://rmd.com.au/archives/tweetcoding-part-3-starfield-sinescroller-tweetsynth-vintageflash</link>
		<comments>http://rmd.com.au/archives/tweetcoding-part-3-starfield-sinescroller-tweetsynth-vintageflash#comments</comments>
		<pubDate>Sun, 22 Feb 2009 00:35:56 +0000</pubDate>
		<dc:creator>Rob Muller</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Audio]]></category>
		<category><![CDATA[Demoscene]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[starfield]]></category>
		<category><![CDATA[synthesis]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://rmd.com.au/?p=201</guid>
		<description><![CDATA[My fourth entry is Starfield &#8211; another classic demoscene effect. Nothing special about this one &#8211; it simply uses FP10&#8242;s new 3D abilities to move some 2&#215;2 pixel bitmaps. Would have been nice to get some rotation in there, but unfortunately most of the 140 characters are use up with creating the stars. for&#40;i=j=550;i--;&#41;&#123;if&#40;!o&#91;i&#93;&#41;&#123;o&#91;i&#93;=addChild&#40;new Bitmap&#40;new [...]]]></description>
			<content:encoded><![CDATA[<p>My fourth entry is <a href="/labs/tweetcoding/starfield.html">Starfield</a> &#8211; another classic demoscene effect. Nothing special about this one &#8211; it simply uses FP10&#8242;s new 3D abilities to move some 2&#215;2 pixel bitmaps. Would have been nice to get some rotation in there, but unfortunately most of the 140 characters are use up with creating the stars.</p>
<p><a href="/labs/tweetcoding/starfield.html"><img src="/wp-content/uploads/2009/02/starfield.jpg" alt="Starfield" title="Starfield" width="420" height="305" class="alignnone size-full wp-image-161" /></a></p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0033ff; font-weight: bold;">for</span><span style="color: #000000;">&#40;</span>i=j=<span style="color: #000000; font-weight:bold;">550</span><span style="color: #000066; font-weight: bold;">;</span>i<span style="color: #000066; font-weight: bold;">--;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span><span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span><span style="color: #000066; font-weight: bold;">!</span>o<span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>o<span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span>=<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=bitmap%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:bitmap.html"><span style="color: #004993;">Bitmap</span></a><span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=bitmapdata%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:bitmapdata.html"><span style="color: #004993;">BitmapData</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">2</span><span style="color: #000066; font-weight: bold;">,</span><span style="color: #000000; font-weight:bold;">2</span><span style="color: #000066; font-weight: bold;">,</span><span style="color: #000000; font-weight:bold;">0</span><span style="color: #000066; font-weight: bold;">,</span><span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>p=o<span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span><span style="color: #000066; font-weight: bold;">;</span>p<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">x</span>=r<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">*</span>j<span style="color: #000066; font-weight: bold;">;</span>p<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">y</span>=r<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">*</span>j<span style="color: #000066; font-weight: bold;">*.</span>72<span style="color: #000066; font-weight: bold;">;</span>p<span style="color: #000066; font-weight: bold;">.</span>z=r<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">*</span>j<span style="color: #000000;">&#125;</span>o<span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span><span style="color: #000066; font-weight: bold;">.</span>z<span style="color: #000066; font-weight: bold;">-</span>=<span style="color: #000000; font-weight:bold;">9</span><span style="color: #000066; font-weight: bold;">;</span>o<span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span><span style="color: #000066; font-weight: bold;">.</span>z<span style="color: #000066; font-weight: bold;">%</span>=j<span style="color: #000000;">&#125;</span></div></div>
<p>Fifth is <a href="/labs/tweetcoding/sinescroller.html">Sinescroller</a>. Perhaps the most common demoscene effect &#8211; scrollers go all the way back to the early crackintros in which coders would inject personal messages, greetings  or credits. Unfortunately this is a fairly unimpressive sinescroller &#8211; only 3 characters, and pretty poor kerning.</p>
<p><a href="/labs/tweetcoding/sinescroller.html"><img src="/wp-content/uploads/2009/02/sinescroller.jpg" alt="Sinescroller" title="Sinescroller" width="420" height="38" class="alignnone size-full wp-image-160" /></a></p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #004993;">x</span>=<span style="color: #000000; font-weight:bold;">550</span><span style="color: #000066; font-weight: bold;">;</span>t=<span style="color: #000000;">&#91;</span><span style="color: #990000;">&quot;R&quot;</span><span style="color: #000066; font-weight: bold;">,</span><span style="color: #990000;">&quot;M&quot;</span><span style="color: #000066; font-weight: bold;">,</span><span style="color: #990000;">&quot;D&quot;</span><span style="color: #000000;">&#93;</span><span style="color: #000066; font-weight: bold;">;</span>for<span style="color: #000000;">&#40;</span>j=<span style="color: #000000; font-weight:bold;">50</span><span style="color: #000066; font-weight: bold;">;</span>j<span style="color: #000066; font-weight: bold;">--;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span><span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span><span style="color: #000066; font-weight: bold;">!</span>o<span style="color: #000000;">&#91;</span>j<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#40;</span>o<span style="color: #000000;">&#91;</span>j<span style="color: #000000;">&#93;</span>=<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=textfield%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:textfield.html"><span style="color: #004993;">TextField</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span>=t<span style="color: #000000;">&#91;</span>j<span style="color: #000066; font-weight: bold;">%</span>4<span style="color: #000000;">&#93;</span><span style="color: #000066; font-weight: bold;">,</span>o<span style="color: #000000;">&#91;</span>j<span style="color: #000000;">&#93;</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">x</span>=j<span style="color: #000066; font-weight: bold;">*</span><span style="color: #000000; font-weight:bold;">9</span><span style="color: #000066; font-weight: bold;">;</span>p=o<span style="color: #000000;">&#91;</span>j<span style="color: #000000;">&#93;</span><span style="color: #000066; font-weight: bold;">;</span>p<span style="color: #000066; font-weight: bold;">.</span>x<span style="color: #000066; font-weight: bold;">-</span>=<span style="color: #000000; font-weight:bold;">1</span><span style="color: #000066; font-weight: bold;">;</span>p<span style="color: #000066; font-weight: bold;">.</span>x<span style="color: #000066; font-weight: bold;">%</span>=<span style="color: #004993;">x</span><span style="color: #000066; font-weight: bold;">;</span>p<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">y</span>=s<span style="color: #000000;">&#40;</span>i<span style="color: #000066; font-weight: bold;">+</span>=<span style="color: #000066; font-weight: bold;">.</span>5<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">*</span><span style="color: #000000; font-weight:bold;">9</span><span style="color: #000066; font-weight: bold;">+</span><span style="color: #000000; font-weight:bold;">9</span><span style="color: #000000;">&#125;</span></div></div>
<p><a href="/labs/tweetcoding/tweetsynth.html">TweetSynth</a> is my sixth entry, and the first entry to use audio <a href="http://twitter.com/zachberry/status/1229331282">by seven minutes</a>. Nothing to see here, but make sure your volume is down low first. I didn&#8217;t want to use random data, so I played with the numbers until it sounded interesting. Check out <a href="http://twitter.com/zachberry/status/1229276672">Zachberry&#8217;s entry</a> too &#8211; he managed to get a much more interesting sound going.</p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span><span style="color: #000066; font-weight: bold;">!</span>i<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span><span style="color: #000000;">&#40;</span>o=<span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=sound%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:sound.html"><span style="color: #004993;">Sound</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;sampleData&quot;</span><span style="color: #000066; font-weight: bold;">,</span>l<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>o<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">play</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>function l<span style="color: #000000;">&#40;</span>e<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span><span style="color: #0033ff; font-weight: bold;">for</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">c</span>=5e3<span style="color: #000066; font-weight: bold;">;</span>c<span style="color: #000066; font-weight: bold;">--;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>w=e<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">data</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">writeFloat</span><span style="color: #000066; font-weight: bold;">;</span>w<span style="color: #000000;">&#40;</span>s<span style="color: #000000;">&#40;</span>i<span style="color: #000066; font-weight: bold;">+</span><span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>w<span style="color: #000000;">&#40;</span>s<span style="color: #000000;">&#40;</span>i<span style="color: #000066; font-weight: bold;">+</span>=<span style="color: #004993;">c</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#125;</span><span style="color: #000000;">&#125;</span><span style="color: #000000;">&#125;</span></div></div>
</p>
<p>Number seven is <a href="/labs/tweetcoding/vintageflash.html">VintageFlash</a>, an attempt at recreating an &#8220;old film effect&#8221;. Managed to squeeze three separate elements into this one &#8211; the background flicker, random noise to simulate dust, and the vertical lines simulating scratches in the film.</p>
<p><a href="/labs/tweetcoding/vintageflash.html"><img src="/wp-content/uploads/2009/02/vintageflash.jpg" alt="vintageflash" title="vintageflash" width="420" height="305" class="alignnone size-full wp-image-162" /></a></p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">p=<span style="color: #000000; font-weight:bold;">900</span><span style="color: #000066; font-weight: bold;">;</span>n=r<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">*</span><span style="color: #000000; font-weight:bold;">9</span><span style="color: #000066; font-weight: bold;">-</span><span style="color: #000000; font-weight:bold;">4</span><span style="color: #000066; font-weight: bold;">;</span>ls<span style="color: #000000;">&#40;</span>p<span style="color: #000066; font-weight: bold;">,</span><span style="color: #000000; font-weight:bold;">0</span><span style="color: #000066; font-weight: bold;">,.</span>1<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>if<span style="color: #000000;">&#40;</span>i=<span style="color: #000066; font-weight: bold;">!</span>i<span style="color: #000000;">&#41;</span>g<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">clear</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>mt<span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">0</span><span style="color: #000066; font-weight: bold;">,</span>n<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>lt<span style="color: #000000;">&#40;</span>p<span style="color: #000066; font-weight: bold;">,</span>n<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>if<span style="color: #000000;">&#40;</span><span style="color: #000066; font-weight: bold;">!</span>m<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">round</span><span style="color: #000000;">&#40;</span>n<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>o=n<span style="color: #000066; font-weight: bold;">*</span>p<span style="color: #000066; font-weight: bold;">;</span>ls<span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>mt<span style="color: #000000;">&#40;</span>o<span style="color: #000066; font-weight: bold;">,</span><span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>lt<span style="color: #000000;">&#40;</span>o<span style="color: #000066; font-weight: bold;">+</span>=n<span style="color: #000066; font-weight: bold;">,</span>p<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>k=r<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">*</span>p<span style="color: #000066; font-weight: bold;">;</span>l=r<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">*</span>p<span style="color: #000066; font-weight: bold;">;</span>mt<span style="color: #000000;">&#40;</span>k<span style="color: #000066; font-weight: bold;">,</span>l<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>lt<span style="color: #000000;">&#40;</span>k<span style="color: #000066; font-weight: bold;">,</span>l<span style="color: #000066; font-weight: bold;">+</span>n<span style="color: #000000;">&#41;</span></div></div>
<p>Onwards to <a href="/archives/tweetcoding-part-4-bubbles-sineribbon-feedback-vortex">Part 4</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://rmd.com.au/archives/tweetcoding-part-3-starfield-sinescroller-tweetsynth-vintageflash/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
