<?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>ActionScript Scraps &#187; experiment</title>
	<atom:link href="http://blog.sitedaniel.com/tag/experiment/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sitedaniel.com</link>
	<description>Flash, Flex and AIR development</description>
	<lastBuildDate>Wed, 28 Jul 2010 11:15:35 +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>Sound experiments &#8211; part 2</title>
		<link>http://blog.sitedaniel.com/2009/10/sound-experiments-part-2/</link>
		<comments>http://blog.sitedaniel.com/2009/10/sound-experiments-part-2/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 14:16:15 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[fft]]></category>
		<category><![CDATA[fourier]]></category>
		<category><![CDATA[sound]]></category>

		<guid isPermaLink="false">http://blog.sitedaniel.com/?p=408</guid>
		<description><![CDATA[Here is part 2 of my sound experimentation. What I'm trying to do here is to analyse Fast Fourier Transform data from a sine wave, to determine what the initial pitch of the sound is. First of all I'm generating a sine wave (see part 1). The pitch of this wave is relative to the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.sitedaniel.com/demo/sound/sound2.swf" rel="shadowbox;height=330;width=512"><img src="http://blog.sitedaniel.com/demo/sound/sound2.png" alt="sound" title="sound" width="400" height="214" class="alignnone size-full wp-image-358" /></a></p>
<p>Here is part 2 of my sound experimentation.<br />
What I'm trying to do here is to analyse Fast Fourier Transform data from a sine wave, to determine what the initial pitch of the sound is.</p>
<p>First of all I'm generating a sine wave (see <a href="http://blog.sitedaniel.com/2009/09/sound-experiments-part-1/">part 1</a>). The pitch of this wave is relative to the mouse X position. This frequency is represented on the graph as a white line.<br />
Then the sound data is put through the Fast Fourier Transform (FFT) using</p>
<pre>SoundMixer.computeSpectrum(bytes, true, 2);</pre>
<p>This data is plotted on the graph and the 5 highest peaks are marked with the red cross.<br />
I want to determine the initial frequency of the sound that was put through FFT. This version calculates this by finding the middle point of the 3rd and 4th highest peaks, and then averaging this value with the weighted average height of the three highest peaks. The calculated frequency is represented on the graph by the red line.<br />
In the bottom right-hand corner you can see the two pitches, and the difference between them.<br />
Obviously this still has quite a way to go as the estimated frequency moves around quite a bit.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sitedaniel.com/2009/10/sound-experiments-part-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sound experiments &#8211; part 1</title>
		<link>http://blog.sitedaniel.com/2009/09/sound-experiments-part-1/</link>
		<comments>http://blog.sitedaniel.com/2009/09/sound-experiments-part-1/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 10:13:40 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[sound]]></category>

		<guid isPermaLink="false">http://blog.sitedaniel.com/?p=356</guid>
		<description><![CDATA[Flash player 10 has many cool features including sound generation. My goal is to learn about these in greater detail. I have a project in mind that I'm going to be working towards and this is the first step in that direction. Move your mouse from left to right to control the wavelength/pitch. You will [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.sitedaniel.com/demo/sound/sound.swf" rel="shadowbox;height=250;width=400"><img src="http://blog.sitedaniel.com/wp-content/uploads/2009/09/sound.png" alt="sound" title="sound" width="400" height="250" class="alignnone size-full wp-image-358" /></a></p>
<p>Flash player 10 has many cool features including sound generation. My goal is to learn about these in greater detail. I have a project in mind that I'm going to be working towards and this is the first step in that direction.</p>
<p>Move your mouse from left to right to control the wavelength/pitch.</p>
<p>You will need Flash Player 10 for this to work. Check (and update) your player version <a href="http://www.playerversion.com/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sitedaniel.com/2009/09/sound-experiments-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Augmented Reality &#8211; FLARToolKit</title>
		<link>http://blog.sitedaniel.com/2009/03/augmented-reality-flartoolkit/</link>
		<comments>http://blog.sitedaniel.com/2009/03/augmented-reality-flartoolkit/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 22:05:08 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3.0]]></category>
		<category><![CDATA[augmented reality]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[flartoolkit]]></category>
		<category><![CDATA[papervision3d]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false">http://blog.sitedaniel.com/?p=211</guid>
		<description><![CDATA[Here is my first attempt at using FLARToolKit and Papervision3D to augment my reality. The FLARToolKit is great and very easy to get up and running, thanks to the great demo from Saqoosha. You can design your own image and generate a marker file here. If you have a webcam you can download my marker [...]]]></description>
			<content:encoded><![CDATA[<p>Here is my first attempt at using <a href="http://www.libspark.org/wiki/saqoosha/FLARToolKit/en">FLARToolKit </a>and <a href="http://blog.papervision3d.org/">Papervision3D</a> to augment my reality. </p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/0bxPyoOTmZE&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/0bxPyoOTmZE&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>The FLARToolKit is great and very easy to get up and running, thanks to the great demo from Saqoosha.<br />
You can design your own image and generate a marker file <a href="http://flash.tarotaro.org/blog/2008/12/14/artoolkit-marker-generator-online-released/">here</a>.</p>
<p>If you have a webcam you can download my <a href="http://blog.sitedaniel.com/wp-content/uploads/2009/03/image.jpg">marker image</a>, then print it and have a go for yourself by visiting <a href="http://blog.sitedaniel.com/demo/flar/flartoolkit_demo.html">this page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sitedaniel.com/2009/03/augmented-reality-flartoolkit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perlin Noise experiment</title>
		<link>http://blog.sitedaniel.com/2008/02/perlin-noise-experiment/</link>
		<comments>http://blog.sitedaniel.com/2008/02/perlin-noise-experiment/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 20:34:20 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3.0]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[perlin noise]]></category>

		<guid isPermaLink="false">http://86.21.85.122/?p=22</guid>
		<description><![CDATA[This is another Flash on the Beach AS3.0 experiment. There is a perlin noise field that controls the rotation of a series of circles that are slightly off centre. Looking at this one in action makes my eyes go funny. Click on the image below to see it animate.]]></description>
			<content:encoded><![CDATA[<p>This is another Flash on the Beach AS3.0 experiment. There is a perlin noise field that controls the rotation of a series of circles that are slightly off centre. Looking at this one in action makes my eyes go funny. Click on the image below to see it animate.</p>
<p><a href="/wp-content/uploads/2008/02/perlin_test.html"><img src="/wp-content/uploads/2008/02/perlin.jpg" alt="feedback.jpg" height="399" width="400" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sitedaniel.com/2008/02/perlin-noise-experiment/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Feedback loop</title>
		<link>http://blog.sitedaniel.com/2008/02/feedback-loop/</link>
		<comments>http://blog.sitedaniel.com/2008/02/feedback-loop/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 20:19:19 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3.0]]></category>
		<category><![CDATA[experiment]]></category>

		<guid isPermaLink="false">http://86.21.85.122/?p=13</guid>
		<description><![CDATA[Here is an experiment inspired by something I saw at Flash on the Beach. I can't remember which speaker showed something like this but it was great. Just click on one of the circles to start the loop going and sit back and see what happens.]]></description>
			<content:encoded><![CDATA[<p>Here is an experiment inspired by something I saw at Flash on the Beach. I can't remember which speaker showed something like this but it was great. Just click on one of the circles to start the loop going and sit back and see what happens.</p>
<p><a href="/wp-content/uploads/2008/02/feedback_loop.html"><img src="/wp-content/uploads/2008/02/feedback.jpg" alt="feedback.jpg" height="334" width="353" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sitedaniel.com/2008/02/feedback-loop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
