<?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>Falasol.net - Free Audio Engineering Software</title>
	<atom:link href="http://falasol.net/feed" rel="self" type="application/rss+xml" />
	<link>http://falasol.net</link>
	<description>Free Audio Engineering Software</description>
	<lastBuildDate>Sun, 27 Nov 2011 22:49:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Kinect reality distortions</title>
		<link>http://falasol.net/kinect-reality-distortions</link>
		<comments>http://falasol.net/kinect-reality-distortions#comments</comments>
		<pubDate>Tue, 26 Jul 2011 21:59:31 +0000</pubDate>
		<dc:creator>koshik</dc:creator>
				<category><![CDATA[Varia]]></category>
		<category><![CDATA[kinect]]></category>

		<guid isPermaLink="false">http://falasol.net/?p=2174</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://www.youtube.com/embed/UHtZNd3X_IY?rel=0" frameborder="0" width="480" height="390"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://falasol.net/kinect-reality-distortions/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Saint Kinect</title>
		<link>http://falasol.net/saint-kinect</link>
		<comments>http://falasol.net/saint-kinect#comments</comments>
		<pubDate>Thu, 23 Jun 2011 23:18:10 +0000</pubDate>
		<dc:creator>koshik</dc:creator>
				<category><![CDATA[Varia]]></category>
		<category><![CDATA[kinect]]></category>

		<guid isPermaLink="false">http://falasol.net/?p=2168</guid>
		<description><![CDATA[I bought kinect last weekend (right after releasing the official api) and I&#8217;m really amazed by its possibilities. New ideas keeps popping up each day, so stay tuned for more vids :)]]></description>
			<content:encoded><![CDATA[<p><object width="480" height="390"><param name="movie" value="http://www.youtube.com/v/63oa8WNhx30?version=3&amp;hl=en_US&amp;rel=0" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" width="480" height="390" src="http://www.youtube.com/v/63oa8WNhx30?version=3&amp;hl=en_US&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>I bought kinect last weekend (right after releasing the official api) and I&#8217;m really amazed by its possibilities. New ideas keeps popping up each day, so stay tuned for more vids :)</p>
]]></content:encoded>
			<wfw:commentRss>http://falasol.net/saint-kinect/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trippy Inverter</title>
		<link>http://falasol.net/trippy-inverter</link>
		<comments>http://falasol.net/trippy-inverter#comments</comments>
		<pubDate>Mon, 13 Jun 2011 21:50:14 +0000</pubDate>
		<dc:creator>koshik</dc:creator>
				<category><![CDATA[Graphic Design]]></category>
		<category><![CDATA[Trippy]]></category>
		<category><![CDATA[WP7]]></category>

		<guid isPermaLink="false">http://falasol.net/?p=2146</guid>
		<description><![CDATA[Have you ever experienced this strange feeling when watching photos that you took last night during all-night-long acid trip? Suddenly you realize that the Eskimo you were talking to for couple hours is just a toilet seat. And the amazing cocktail you were sipping consists mostly of herbal shampoo with vodka and glass cleaner. I [...]]]></description>
			<content:encoded><![CDATA[
<a href='http://falasol.net/trippy-inverter/1-yellowblue' title='Moon Castle'><img width="150" height="112" src="http://falasol.net/wp-content/uploads/2011/06/1-YellowBlue-150x112.jpg" class="attachment-thumbnail" alt="Moon Castle" title="Moon Castle" /></a>
<a href='http://falasol.net/trippy-inverter/3-whitecat' title='Ghost cat'><img width="150" height="112" src="http://falasol.net/wp-content/uploads/2011/06/3-WhiteCat-150x112.jpg" class="attachment-thumbnail" alt="Ghost cat" title="Ghost cat" /></a>
<a href='http://falasol.net/trippy-inverter/2-greenpink' title='Neon tree over the pink sky'><img width="150" height="112" src="http://falasol.net/wp-content/uploads/2011/06/2-GreenPink-150x112.jpg" class="attachment-thumbnail" alt="Neon tree over the pink sky" title="Neon tree over the pink sky" /></a>
<a href='http://falasol.net/trippy-inverter/4-burninghead' title='Burning head'><img width="150" height="112" src="http://falasol.net/wp-content/uploads/2011/06/4-BurningHead-150x112.jpg" class="attachment-thumbnail" alt="Burning head" title="Burning head" /></a>
<a href='http://falasol.net/trippy-inverter/5-acidclimate' title='Acid climate'><img width="150" height="112" src="http://falasol.net/wp-content/uploads/2011/06/5-AcidClimate-150x112.jpg" class="attachment-thumbnail" alt="Acid climate" title="Acid climate" /></a>
<a href='http://falasol.net/trippy-inverter/6-redconstruction' title='Red construction'><img width="150" height="112" src="http://falasol.net/wp-content/uploads/2011/06/6-RedConstruction-150x112.jpg" class="attachment-thumbnail" alt="Red construction" title="Red construction" /></a>
<a href='http://falasol.net/trippy-inverter/7-fallouttree' title='Fallout tree'><img width="150" height="112" src="http://falasol.net/wp-content/uploads/2011/06/7-FalloutTree-150x112.jpg" class="attachment-thumbnail" alt="Fallout tree" title="Fallout tree" /></a>
<a href='http://falasol.net/trippy-inverter/9-psychedelicsunset' title='Psychedelic sunset'><img width="150" height="112" src="http://falasol.net/wp-content/uploads/2011/06/9-PsychedelicSunset-150x112.jpg" class="attachment-thumbnail" alt="Psychedelic sunset" title="Psychedelic sunset" /></a>
<a href='http://falasol.net/trippy-inverter/8-groovytable' title='Groovy table'><img width="150" height="112" src="http://falasol.net/wp-content/uploads/2011/06/8-GroovyTable-150x112.jpg" class="attachment-thumbnail" alt="Groovy table" title="Groovy table" /></a>
<a href='http://falasol.net/trippy-inverter/11-fractalsky' title='Fractal sky over Cuba'><img width="150" height="112" src="http://falasol.net/wp-content/uploads/2011/06/11-FractalSky-150x112.jpg" class="attachment-thumbnail" alt="Fractal sky over Cuba" title="Fractal sky over Cuba" /></a>
<a href='http://falasol.net/trippy-inverter/10-evileyeoftv' title='The evil eye of TV'><img width="150" height="112" src="http://falasol.net/wp-content/uploads/2011/06/10-EvilEyeOfTV-150x112.jpg" class="attachment-thumbnail" alt="The evil eye of TV" title="The evil eye of TV" /></a>

<p>Have you ever experienced this strange feeling when watching photos that you took last night during all-night-long acid trip? Suddenly you realize that the Eskimo you were talking to for couple hours is just a toilet seat. And the amazing cocktail you were sipping consists mostly of herbal shampoo with vodka and glass cleaner. I know how it feels like. But fear not &#8211; it&#8217;s just the logical part of your brain trying to trick you. This app will help you release psychedelia hidden in the photos and show everyone how it REALLY was. Stay away from <em>&#8220;Trippy Inverter</em>&#8220;!</p>
<p>This is a quick <strong>Windows Phone 7 application</strong> for image processing. Whole project took 1 day, half of which was setting up the dev environment. Main goal was to figure out the WP7 release process &amp; collect stats &#8211; in case I&#8217;d like to make a more serious app.</p>
<p>You can also check that out from various <a href="http://www.google.dk/search?q=trippy+inverter">download sites</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://falasol.net/trippy-inverter/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Phantom of the Project</title>
		<link>http://falasol.net/the-phantom-of-the-project</link>
		<comments>http://falasol.net/the-phantom-of-the-project#comments</comments>
		<pubDate>Sun, 05 Jun 2011 11:34:29 +0000</pubDate>
		<dc:creator>koshik</dc:creator>
				<category><![CDATA[Geekin' out]]></category>
		<category><![CDATA[Geekout]]></category>

		<guid isPermaLink="false">http://falasol.net/?p=2139</guid>
		<description><![CDATA[Those happy times, future was bright Great presentations, sounds of applause Lively discussions, everyone&#8217;s right Drawing diagrams was so much fun Now you are screwed with shitty design Layers of crap with ain&#8217;t no plan Frickin&#8217; solution that just won&#8217;t scale Countless regressions and no one care]]></description>
			<content:encoded><![CDATA[<p>Those happy times, future was bright<br />
Great presentations, sounds of applause<br />
Lively discussions, everyone&#8217;s right<br />
Drawing diagrams was so much fun</p>
<p>Now you are screwed with shitty design<br />
Layers of crap with ain&#8217;t no plan<br />
Frickin&#8217; solution that just won&#8217;t scale<br />
Countless regressions and no one care</p>
]]></content:encoded>
			<wfw:commentRss>http://falasol.net/the-phantom-of-the-project/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick line segmentation</title>
		<link>http://falasol.net/quick-line-segmentation</link>
		<comments>http://falasol.net/quick-line-segmentation#comments</comments>
		<pubDate>Sun, 27 Mar 2011 17:18:52 +0000</pubDate>
		<dc:creator>koshik</dc:creator>
				<category><![CDATA[Varia]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[EqOCR]]></category>

		<guid isPermaLink="false">http://falasol.net/?p=2087</guid>
		<description><![CDATA[From the Equation OCR front line&#8230; Problem: Splitting up handwritten calculations into single lines. Algorithm description: First map all the strokes on the y-axis. Then travel along the axis and record the the ink density (number of strokes underneath). Remember local maximums. If the density falls below a certain percentage (tolerance) of a last local [...]]]></description>
			<content:encoded><![CDATA[<p>From the Equation OCR front line&#8230;</p>
<h5>Problem:</h5>
<p>Splitting up handwritten calculations into single lines.<em> </em></p>
<h5>Algorithm description:</h5>
<p>First map all the strokes on the y-axis. Then travel along the axis and record the the <em>ink density</em> (number of strokes underneath). Remember local maximums. If the density falls below a certain percentage (tolerance) of a last local maximum &#8211; insert a break line.</p>
<h5>C# code:</h5>
<p><span id="more-2087"></span></p>
<pre class="brush: csharp; title: ; notranslate">
            // Positions of line dividers
            List&lt;double&gt; LineDivisions = new List&lt;double&gt;();

            // Top &amp; Bottom edges of each Stroke
            SortedDictionary edgePoints = new SortedDictionary();

            // How much of ink density do we tolerate between the lines?
            // This is usefull when the lines are overlapping
            // 0 means there must be a clear interval between the lines
            // 12% means that if the density goes below 12% of local peak then we're dealing with a line break
            // Too high value might result in false line breaks.
            double tolerance = 0.12;

            double lastDownhillPosition = 0;
            double densityLocalPeak = 0;
            double density = 0;

            foreach (Stroke stroke in InkCanvas.Strokes)
            {
                Rect rect = stroke.GetBounds();

                if (edgePoints.ContainsKey(rect.Top))
                    edgePoints[rect.Top]++;
                else
                    edgePoints.Add(rect.Top, 1);

                if (edgePoints.ContainsKey(rect.Bottom))
                    edgePoints[rect.Bottom]--;
                else
                    edgePoints.Add(rect.Bottom, -1);
            }

            // Travel the density map &amp; mark the all the line breaks
            foreach (KeyValuePair edgePoint in edgePoints)
            {
                // This part is in front because we want to peek whether the next point will bring us high or low
                // If it goes lower, then we don't want to insert line break yet - let's wait...
                // If higher (edgePoint.Value &gt; 0), that means we just passed a local minimum and that's a potential line break.
                if ((density &lt; densityLocalPeak * tolerance)
                     &amp;&amp; (edgePoint.Value &gt; 0) // we just passed local minimum
                     &amp;&amp; (lastDownhillPosition != 0)) // don't put the line break above the top line
                {
                    LineDivisions.Add((edgePoint.Key + lastDownhillPosition) / 2);
                    densityLocalPeak = 0;
                }

                density += edgePoint.Value;

                if (edgePoint.Value &lt; 0)
                    lastDownhillPosition = edgePoint.Key;

                if (density &gt; densityLocalPeak)
                    densityLocalPeak = density;
            }

            // mark the end of the document (usefull for further processing)
            if (InkCanvas.Strokes.Count &gt; 0)
                LineDivisions.Add(InkCanvas.Strokes.GetBounds().Bottom + 4);
</pre>
<h5>Sample results</h5>
<p>My friend&#8217;s calculations (posted without asking for any permission :)<br />
Used Tolerance level: 12%.<br />
Note the <em>ink density</em> visualized on the left edge. For better overview a different color was applied for each line.</p>
<div id="attachment_2097" class="wp-caption alignnone" style="width: 650px"><a href="http://falasol.net/wp-content/uploads/2011/03/SampleA-quick.png"><img class="size-medium wp-image-2097" title="Sample A - quick segmentation" src="http://falasol.net/wp-content/uploads/2011/03/SampleA-quick-640x218.png" alt="Sample A - quick segmentation" width="640" height="218" /></a><p class="wp-caption-text">Sample A - quick line segmentation</p></div>
<div id="attachment_2098" class="wp-caption alignnone" style="width: 595px"><a href="http://falasol.net/wp-content/uploads/2011/03/SampleB-quick.png"><img class="size-medium wp-image-2098" title="Sample B - quick line segmentation" src="http://falasol.net/wp-content/uploads/2011/03/SampleB-quick-585x320.png" alt="Sample B - quick line segmentation" width="585" height="320" /></a><p class="wp-caption-text">Sample B - quick line segmentation</p></div>
<h5>Comparison with Microsoft.Ink.Divider results</h5>
<p>Since the<a href="http://falasol.net/win7-math-recognition"> API for equation recognition engine is not available in Win7</a> I used the regular handwriting processing library.<br />
Results for the same samples (note the differences between various runs!):</p>
<table>
<tbody>
<tr>
<td>
<p><div id="attachment_2100" class="wp-caption alignnone" style="width: 394px"><a href="http://falasol.net/wp-content/uploads/2011/03/SampleA-auto1.png"><img class="size-medium wp-image-2100 " title="Sample A - Microsoft.Ink.Divider run 1" src="http://falasol.net/wp-content/uploads/2011/03/SampleA-auto1-640x211.png" alt="Sample A - Microsoft.Ink.Divider run 1" width="384" height="127" /></a><p class="wp-caption-text">Sample A - Microsoft.Ink.Divider run 1</p></div></td>
<td>
<p><div id="attachment_2103" class="wp-caption alignnone" style="width: 298px"><a href="http://falasol.net/wp-content/uploads/2011/03/SampleB-auto1.png"><img class="size-medium wp-image-2103  " title="Sample B - Microsoft.Ink.Divider run 1" src="http://falasol.net/wp-content/uploads/2011/03/SampleB-auto1-600x320.png" alt="Sample B - Microsoft.Ink.Divider run 1" width="288" height="154" /></a><p class="wp-caption-text">Sample B - Microsoft.Ink.Divider run 1</p></div></td>
</tr>
<tr>
<td>
<p><div id="attachment_2101" class="wp-caption alignnone" style="width: 394px"><a href="http://falasol.net/wp-content/uploads/2011/03/SampleA-auto2.png"><img class="size-medium wp-image-2101 " title="Sample A - Microsoft.Ink.Divider run 2" src="http://falasol.net/wp-content/uploads/2011/03/SampleA-auto2-640x211.png" alt="Sample A - Microsoft.Ink.Divider run 2" width="384" height="127" /></a><p class="wp-caption-text">Sample A - Microsoft.Ink.Divider run 2</p></div></td>
<td>
<p><div id="attachment_2104" class="wp-caption alignnone" style="width: 300px"><a href="http://falasol.net/wp-content/uploads/2011/03/SampleB-auto2.png"><img class="size-medium wp-image-2104  " title="Sample B - Microsoft.Ink.Divider run 2" src="http://falasol.net/wp-content/uploads/2011/03/SampleB-auto2-603x320.png" alt="Sample B - Microsoft.Ink.Divider run 2" width="290" height="154" /></a><p class="wp-caption-text">Sample B - Microsoft.Ink.Divider run 2</p></div></td>
</tr>
<tr>
<td>
<p><div id="attachment_2102" class="wp-caption alignnone" style="width: 394px"><a href="http://falasol.net/wp-content/uploads/2011/03/SampleA-auto3.png"><img class="size-medium wp-image-2102 " title="Sample A - Microsoft.Ink.Divider run 3" src="http://falasol.net/wp-content/uploads/2011/03/SampleA-auto3-640x211.png" alt="Sample A - Microsoft.Ink.Divider run 3" width="384" height="127" /></a><p class="wp-caption-text">Sample A - Microsoft.Ink.Divider run 3</p></div></td>
<td>
<p><div id="attachment_2105" class="wp-caption alignnone" style="width: 299px"><a href="http://falasol.net/wp-content/uploads/2011/03/sampleB-auto3.png"><img class="size-medium wp-image-2105  " title="Sample B - Microsoft.Ink.Divider run 3" src="http://falasol.net/wp-content/uploads/2011/03/sampleB-auto3-602x320.png" alt="Sample B - Microsoft.Ink.Divider run 3" width="289" height="154" /></a><p class="wp-caption-text">Sample B - Microsoft.Ink.Divider run 3</p></div></td>
</tr>
</tbody>
</table>
<p>The variations in outputs are probably result of indeterministic Neural Network algorithm. The method also does character analysis and most likely uses this context information too. All that funky magic costs quite some execution time &#8211; from 100 to 800 ms.</p>
<p>Algorithm described at start takes 1 &#8211; 2 ms for the same samples and frankly speaking I like it&#8217;s results more. The fact that it has adjustable tolerance level and provides consistent deterministic results makes me feel better too. However it still got some limitations:</p>
<ul>
<li>produces false break lines for small samples (i.e. for <em>1/2</em> fraction alone) &#8211; this can be mitigated by requiring a certain <em>ink density</em> level inside each line or taking height/width ratio into consideration</li>
<li>won&#8217;t work for non-horizontal formatted writing &#8211; the document need to be normalized (rotated) correctly</li>
<li>can&#8217;t handle scribble-styled calculations (i.e. many columns with each having different line structures) &#8211; would need to introduce vertical segmentation too</li>
</ul>
<p>All of the above limitations can be easily fixed. The goal of this post was to introduce the idea in a form as simple as possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://falasol.net/quick-line-segmentation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TED talk: The 4 ways sound affects us</title>
		<link>http://falasol.net/the-4-ways-sound-affect-us</link>
		<comments>http://falasol.net/the-4-ways-sound-affect-us#comments</comments>
		<pubDate>Tue, 22 Feb 2011 18:07:54 +0000</pubDate>
		<dc:creator>koshik</dc:creator>
				<category><![CDATA[Varia]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://falasol.net/?p=2077</guid>
		<description><![CDATA[A TED talk presenting 4 ways sound affects people. Really interesting and much in the spirit of the post I wrote some time ago.]]></description>
			<content:encoded><![CDATA[<p>A TED talk presenting 4 ways sound affects people. Really interesting and much in the spirit of the <a href="http://falasol.net/some-encoded-transmission">post I wrote some time ago</a>.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="446" height="326" 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="wmode" value="transparent" /><param name="bgColor" value="#ffffff" /><param name="flashvars" value="vu=http://video.ted.com/talks/dynamic/JulianTreasure_2009G-medium.flv&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/JulianTreasure-2009G.embed_thumbnail.jpg&amp;vw=432&amp;vh=240&amp;ap=0&amp;ti=660&amp;introDuration=15330&amp;adDuration=4000&amp;postAdDuration=830&amp;adKeys=talk=julian_treasure_the_4_ways_sound_affects_us;year=2009;theme=media_that_matters;theme=not_business_as_usual;theme=what_makes_us_happy;theme=speaking_at_tedglobal2009;event=TEDGlobal+2009;&amp;preAdTag=tconf.ted/embed;tile=1;sz=512x288;" /><param name="src" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" /><param name="bgcolor" value="#ffffff" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="446" height="326" src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" flashvars="vu=http://video.ted.com/talks/dynamic/JulianTreasure_2009G-medium.flv&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/JulianTreasure-2009G.embed_thumbnail.jpg&amp;vw=432&amp;vh=240&amp;ap=0&amp;ti=660&amp;introDuration=15330&amp;adDuration=4000&amp;postAdDuration=830&amp;adKeys=talk=julian_treasure_the_4_ways_sound_affects_us;year=2009;theme=media_that_matters;theme=not_business_as_usual;theme=what_makes_us_happy;theme=speaking_at_tedglobal2009;event=TEDGlobal+2009;&amp;preAdTag=tconf.ted/embed;tile=1;sz=512x288;" bgcolor="#ffffff" wmode="transparent" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://falasol.net/the-4-ways-sound-affect-us/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Win7 Math recognition</title>
		<link>http://falasol.net/win7-math-recognition</link>
		<comments>http://falasol.net/win7-math-recognition#comments</comments>
		<pubDate>Sun, 06 Feb 2011 21:17:30 +0000</pubDate>
		<dc:creator>koshik</dc:creator>
				<category><![CDATA[Varia]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[EqOCR]]></category>

		<guid isPermaLink="false">http://falasol.net/?p=2017</guid>
		<description><![CDATA[&#8230;you can look but you better not touch Recently I&#8217;ve started working on a new project with my friend, so development of Falasol will be slower for a while. But fear not &#8211; I&#8217;m not going to give up on that. Falasol is my long term plan and what you can see so far is [...]]]></description>
			<content:encoded><![CDATA[<h2>&#8230;you can look but you better not touch</h2>
<p>Recently I&#8217;ve started working on a new project with my friend, so development of Falasol will be slower for a while. But fear not &#8211; I&#8217;m not going to give up on that. Falasol is my long term plan and what you can see so far is just a little part of it. I expect to get back to it next year. Meanwhile I&#8217;ll be occasionally posting stories from <a href="http://eqocr.com/">EqOCR</a> development. You probably guessed that it will have something to do with equations &amp; math &#8211; that is correct.</p>
<div id="attachment_2025" class="wp-caption alignnone" style="width: 522px"><a href="http://falasol.net/wp-content/uploads/2011/02/blackboard.jpg"><img class="size-medium wp-image-2025" title="blackboard sexy" src="http://falasol.net/wp-content/uploads/2011/02/blackboard-512x320.jpg" alt="blackboard sexy" width="512" height="320" /></a><p class="wp-caption-text">It was back at school when I discovered the charm of equations</p></div>
<p><span id="more-2017"></span>Since me &amp; my friend are big fans of <a href="http://www.imdb.com/media/rm4110586880/tt1119644">Fringe</a> science &amp; cutting-edge technologies we were excited to find out about <a href="http://blogs.msdn.com/b/e7/archive/2009/04/23/ink-input-and-tablet.aspx">Win7 Math Handwriting Recognition</a> capabilities. After going through <a href="http://msdn.microsoft.com/en-us/library/ms698602%28v=vs.85%29.aspx">API overview</a> we couldn&#8217;t wait to plug into win7&#8242;s <a href="http://msdn.microsoft.com/en-us/library/ms698525%28v=vs.85%29.aspx">recognition engine</a> and feed it with a basic<em> quantum death ray</em> formula. Until we figured out, that uhm&#8230; there is no such engine&#8230;</p>
<h5 style="text-align: center;">plan: analyze a sheet of handwritten equations</h5>
<p><code><br />
</code><br />
Turns out that you can analyze text written in whole bunch of languages: English, Polish, Chinese, Klingon&#8230; But in order to take advantage of Math Recognition, you need to use <a href="http://msdn.microsoft.com/en-us/library/dd371698%28v=vs.85%29.aspx">Math Input control</a>. OK then, we thought, let&#8217;s embed the control, pass the handwriting and retrieve the analyzed output. Guess what&#8230; this control can&#8217;t be embedded.</p>
<div class="wp-caption alignnone" style="width: 375px"><a href="http://msdn.microsoft.com/en-us/library/dd371425%28v=vs.85%29.aspx"><img title="Math Input control pop-up window" src="http://i.msdn.microsoft.com/dynimg/IC286541.png" alt="Math Input control pop-up window" width="365" height="344" /></a><p class="wp-caption-text">Math Input control pop-up window</p></div>
<p><em>Math Input control</em> is so cool that no application is worthy hosting it. <em>Math Input control</em> can only be presented as a pop-up window. That would be fine for one or two lines, but our <em>annihilation formula</em> is one page long. And destroying the whole universe takes at least a dozen of calculation pages. Popping window for analyzing every single line? &#8211; no can do! Next idea: Let&#8217;s show the pop-up in a hidden state and pass the Ink written in our main window. Too bad <a href="http://stackoverflow.com/questions/3693469/load-ink-to-a-mathinputcontrol-in-c">this beauty won&#8217;t perform without audience</a>&#8230; You need to call Show() prior to any other activities.</p>
<p>In the act of despair we considered displaying <em>Math Input</em> just for the while needed to programatically load the Ink &amp; analyze it. Yeah, I know such flashing windows could cause epilepsy, but a true scientist should be used to all kinds of unexpected bursts and explosions. Yet another surprise&#8230; there is no <em>GetResult()</em> method present in the <a href="http://msdn.microsoft.com/en-us/library/dd372595%28v=VS.85%29.aspx">control&#8217;s API</a>&#8230; That function is only provided via <a href="http://www.urbandictionary.com/define.php?term=MCTFB">MCTFB</a> (<em>Manually Click The Freakin Button</em>) event handler.</p>
<p>On top of that there is this shiny piece  of COM object comes without any .net wrapper. And if you happen to use WPF you need to know that there  are two versions of Ink object: <a href="http://msdn.microsoft.com/en-us/library/ms788719.aspx">full-blown-all-having COM Ink and it&#8217;s  handicapped twin brother WPF Ink</a> (with very limited set of methods, which &#8211; if you want to do any analysis &#8211; you need to convert to COM version anyway).</p>
<p>To resume: There only way to take advantage of Math Recognition in win7 is through a <em>Math Input control</em>. Which must be popped up right in the user&#8217;s face as a separate window. And requires manual confirmation whenever any analysis is done. I&#8217;m sure it does tremendous job with protecting the world from evil scientists (any scientists in fact), but you&#8217;ve got to do better than that to stop our crew :)<br />
<code><br />
</code><br />
PS.</p>
<p>I do appreciate all the effort put in <em>Math Input</em> and it does a really good job in manual usage scenarios. This post was intended to show how frustrating it is not being able to use the engine programatically due to poor API support. I couldn&#8217;t find those limitations mentioned anywhere in the documentation, which gave the wrong impression about the tool&#8217;s<em> </em>capabilities (especially when compared to well designed regular handwriting recognition support).</p>
]]></content:encoded>
			<wfw:commentRss>http://falasol.net/win7-math-recognition/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Bit Bang</title>
		<link>http://falasol.net/bit-bang</link>
		<comments>http://falasol.net/bit-bang#comments</comments>
		<pubDate>Thu, 06 Jan 2011 21:16:58 +0000</pubDate>
		<dc:creator>koshik</dc:creator>
				<category><![CDATA[Geekin' out]]></category>
		<category><![CDATA[Geekout]]></category>

		<guid isPermaLink="false">http://falasol.net/?p=2003</guid>
		<description><![CDATA[Darling, would you merge your code with mine? Your recurrence overflows my mind! Let&#8217;s go crazy without breakpoints Strings like yours is all that geek wants Check my bigint, in a while&#8230; We&#8217;ll have private double func In library At run time Let&#8217;s join threads and override With your 0 and my 1 We&#8217;ll ignite [...]]]></description>
			<content:encoded><![CDATA[<p>Darling, would you merge your code with mine?<br />
Your recurrence overflows my mind!</p>
<p>Let&#8217;s go crazy without breakpoints<br />
Strings like yours is all that geek wants</p>
<p>Check my bigint, in a while&#8230;<br />
We&#8217;ll have private double func</p>
<p>In library<br />
At run time<br />
Let&#8217;s join threads and override<br />
With your 0 and my 1<br />
We&#8217;ll ignite a great bit bang!</p>
]]></content:encoded>
			<wfw:commentRss>http://falasol.net/bit-bang/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Morning time-bomb</title>
		<link>http://falasol.net/morning-time-bomb</link>
		<comments>http://falasol.net/morning-time-bomb#comments</comments>
		<pubDate>Thu, 09 Dec 2010 20:34:00 +0000</pubDate>
		<dc:creator>koshik</dc:creator>
				<category><![CDATA[Varia]]></category>
		<category><![CDATA[Engineering]]></category>

		<guid isPermaLink="false">http://falasol.net/?p=1949</guid>
		<description><![CDATA[Winter wake up plan This setup was on my mind since I was a kid. But it was recently when I found the missing device to make it happen. Couldn&#8217;t believe when I saw it on the shelf at my usual shopping market: THE POWER STRIP TIMER. So here it is: my geek&#8217;s dream wake-up [...]]]></description>
			<content:encoded><![CDATA[<h3>Winter wake up plan</h3>
<div id="attachment_1950" class="wp-caption alignnone" style="width: 436px"><a href="http://falasol.net/wp-content/uploads/2010/12/MorningTimeBomb.jpg"><img class="size-medium wp-image-1950" title="Morning time-bomb" src="http://falasol.net/wp-content/uploads/2010/12/MorningTimeBomb-426x320.jpg" alt="Morning time-bomb" width="426" height="320" /></a><p class="wp-caption-text">Morning time-bomb</p></div>
<p>This setup was on my mind since I was a kid. But it was recently when I found the missing device to make it happen. Couldn&#8217;t believe when I saw it on the shelf at my usual shopping market: THE POWER STRIP TIMER.</p>
<p>So here it is: my geek&#8217;s dream wake-up scenario!</p>
<ol>
<li>
<h5>Evening</h5>
<ul>
<li>Set-up the turntable with an LP to be played in the morning<br />
Can be classical Vivaldi&#8217;s <em>Four seasons</em>, jazzy <em>Amy Winehouse</em>, <em>Sabaton</em>&#8216;s battle-metal, chilled out <em>Air</em>, <em>Fink Flooyd</em>&#8216;s psychedelia, dark vibes of<em> Black Sabbath</em> or what have you&#8230;</li>
<div>.­</div>
<li>Start a quiet playlist from the laptop for good night via surrounding 5.1 speaker system<br />
Before falling asleep I usually have some wine &amp; read a book in bed for a while. It&#8217;s nice to have something playing in the background. Happened few times that a song was able to &#8216;incept&#8217; a cool dream :)</li>
</ul>
</li>
<li>
<h5>When sleeping</h5>
<p>The scheduled task on the laptop stops the lullaby music around 1.30 &#8211; 2 o&#8217;clock. REM sleep phase is better with as little outside stimulus as possible.</li>
<li>
<h5>Morning</h5>
<p>7.30 &#8211; power cord timer kicks in</p>
<ul>
<li>Sun-imitating lamp gently warms up</li>
<li>Vinyl gets a spin &#8211; for an extra kick the turntable is connected directly to amplifier =:]</li>
<li>After soaking up the music for a couple of minutes <a href="http://www.youtube.com/watch?v=bO3-FA1Kq-A">ain&#8217;t nothing gonna break my stride</a>!</li>
</ul>
</li>
</ol>
<p>The LP usually finish about the time I leave. Automatic timer turns-off the lamp &amp; turntable few minutes after.</p>
<p>How cool is that! :D</p>
]]></content:encoded>
			<wfw:commentRss>http://falasol.net/morning-time-bomb/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>SoME 2010 Dec: Prime notes</title>
		<link>http://falasol.net/some-prime-notes</link>
		<comments>http://falasol.net/some-prime-notes#comments</comments>
		<pubDate>Sun, 05 Dec 2010 18:57:47 +0000</pubDate>
		<dc:creator>koshik</dc:creator>
				<category><![CDATA[Clear]]></category>
		<category><![CDATA[Harmonic]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Tremolo]]></category>

		<guid isPermaLink="false">http://falasol.net/?p=1918</guid>
		<description><![CDATA[Sound Of the Month Edition Music of the prime numbers Zipped project This idea was on my mind long before starting the whole Falasol project. What kind of cacophony would it be if each note is assigned a prime number and played only on the number&#8217;s multiplication beats. Total chaos? Or would the mind be [...]]]></description>
			<content:encoded><![CDATA[<h2>Sound Of the Month Edition</h2>
<h4>Music of the prime numbers</h4>
<div id="attachment_1919" class="wp-caption alignnone" style="width: 560px"><a href="http://falasol.net/wp-content/uploads/2010/11/PrimeNotes.gif"><img class="size-full wp-image-1919 " title="Prime Notes visualization" src="http://falasol.net/wp-content/uploads/2010/11/PrimeNotes.gif" alt="Prime Notes visualization" width="550" height="71" /></a><p class="wp-caption-text">Each harmonic corresponds to one prime number. A note is played on its beat-multiplication</p></div>
<p><a href="http://falasol.net/wp-content/uploads/2010/12/PrimeNotes.zip">Zipped project</a></p>
<p>This idea was on my mind long before starting the whole Falasol project. What kind of cacophony would it be if each note is assigned a prime number and played only on the number&#8217;s multiplication beats. Total chaos? Or would the mind be able to recognize some hidden patterns?</p>
<p>It&#8217;s both. The brain can grasp 2 &amp; 3-beat notes and arrange them into 6-beat tact ( 2 * 3 = 6 ). Next 5-beat harmonic creates a 30 beat verse (consisting of 5 described tacts). That&#8217;s the rhythmical clocking in the background. Next <em>prime</em> harmonics (7, 11, 13, 17, 19, 23, 29, 31, 37) add nothing more than chaotic wind-bells effect. The resulting patterns are way too long to be digested by the regular brain, but who knows, maybe some savant would do. Anyway, quite a good accompaniment to get insane :)</p>
<p>Come get SoME!</p>
]]></content:encoded>
			<wfw:commentRss>http://falasol.net/some-prime-notes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://falasol.net/wp-content/uploads/2010/12/PrimeNotes.mp3" length="240534" type="audio/mpeg" />
		</item>
	</channel>
</rss>

