<?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>SethSandler &#187; Code</title>
	<atom:link href="http://sethsandler.com/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://sethsandler.com</link>
	<description>Just another abstract, thought, art, code, and multitouch weblog</description>
	<lastBuildDate>Sat, 17 Jul 2010 01:30:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Drupal 6 &#8211; Creating Activity Stream with Views Custom SQL Query: Merging multiple views &#8211; Part 1</title>
		<link>http://sethsandler.com/software/drupal-6-creating-activity-stream-views-custom-sql-query-merging-multiple-views-part-1/</link>
		<comments>http://sethsandler.com/software/drupal-6-creating-activity-stream-views-custom-sql-query-merging-multiple-views-part-1/#comments</comments>
		<pubDate>Fri, 21 May 2010 05:26:47 +0000</pubDate>
		<dc:creator>SethSandler</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[activity feed]]></category>
		<category><![CDATA[activity stream]]></category>
		<category><![CDATA[custom query]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[views]]></category>

		<guid isPermaLink="false">http://sethsandler.com/?p=1047</guid>
		<description><![CDATA[
			
				
			
		
If you&#8217;re using Drupal, you&#8217;re probably using views. If you&#8217;re using views, than you&#8217;ve probably wanted to build a view that involved combining content and found out it was hard or almost impossible through the views UI.
For example, if you&#8217;ve ever tried to build a single view of all content (posts, comments, flags, relationships, etc) into a single list, you&#8217;ve probably found that you can&#8217;t. However, you can easily build independent post views, comment views, flag views, and relationship views.  Since that&#8217;s the case, why can&#8217;t we merge all these ...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom: 10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsethsandler.com%2Fsoftware%2Fdrupal-6-creating-activity-stream-views-custom-sql-query-merging-multiple-views-part-1%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsethsandler.com%2Fsoftware%2Fdrupal-6-creating-activity-stream-views-custom-sql-query-merging-multiple-views-part-1%2F&amp;style=normal" height="61" width="50" title="Drupal 6   Creating Activity Stream with Views Custom SQL Query: Merging multiple views   Part 1" alt=" Drupal 6   Creating Activity Stream with Views Custom SQL Query: Merging multiple views   Part 1" /><br />
			</a>
		</div>
<p>If you&#8217;re using <a href="http://drupal.org">Drupal</a>, you&#8217;re probably using <a href="http://drupal.org/project/views">views</a>. If you&#8217;re using views, than you&#8217;ve probably wanted to build a view that involved combining content and found out it was hard or almost impossible through the views UI.</p>
<p>For example, if you&#8217;ve ever tried to build a single view of all content (posts, comments, flags, relationships, etc) into a single list, you&#8217;ve probably found that you can&#8217;t. However, you can easily build independent post views, comment views, flag views, and relationship views.  Since that&#8217;s the case, why can&#8217;t we merge all these views into a single view through the views UI? Well you can, and this article hopefully will give the basic information needed to start merging your views into more complex results.</p>
<p>In this article, we&#8217;ll be building a basic activity stream to demonstrate the ability to</p>
<ol>
<li>create custom queries for views,</li>
<li>merge our results,</li>
<li>create our custom query module, and</li>
<li>finally output through the views UI.</li>
</ol>
<p>After some themeing, our results will look something like the following which is a combination of comments, flags (sparks), and posts (various content types):</p>
<p style="text-align: center;"><strong><a href="http://sethsandler.com/wp-content/uploads/2010/05/activity_done.png"><img class="size-full wp-image-1050  aligncenter" title="activity_done" src="http://sethsandler.com/wp-content/uploads/2010/05/activity_done.png" alt="activity done Drupal 6   Creating Activity Stream with Views Custom SQL Query: Merging multiple views   Part 1" width="401" height="461" /></a></strong></p>
<h2>Live DEMO: <strong> </strong></h2>
<p><strong>You can see a live example on the bottom of <a href="http://techsparked.com/" target="_blank">http://techsparked.com/</a></strong></p>
<h2>DOWNLOAD EXAMPLE MODULE:</h2>
<p><div class="wpfilebase-attachment">
 <div class="wpfilebase-fileicon"><a href="http://sethsandler.com/download/custom_views.zip" onclick="wpfilebase_dlclick(10, 'download/custom_views.zip')" title="Download custom_views module"><img align="middle" src="http://sethsandler.com/wp-includes/images/crystal/archive.png" title="Drupal 6   Creating Activity Stream with Views Custom SQL Query: Merging multiple views   Part 1" alt="archive Drupal 6   Creating Activity Stream with Views Custom SQL Query: Merging multiple views   Part 1" /></a></div>
 <div class="wpfilebase-rightcol">
  <div class="wpfilebase-filetitle">
   <a href="http://sethsandler.com/download/custom_views.zip" onclick="wpfilebase_dlclick(10, 'download/custom_views.zip')" title="Download custom_views module">custom_views module</a>
   custom_views.zip
   
  </div>
  <div class="wpfilebase-filedetails" id="wpfilebase-filedetails3" style="display: none;">
  
  <table border="0" width="220">
   
   
   
   
   
   
   <tr><th>Date:</th><td>January 1, 1970</td></tr>
   <tr><th>MD5 Hash:</th><td><small>580adbe74f69b884e3b6eda6c547db83</small></td></tr>
  </table>
  </div>
 </div>
 <div class="wpfilebase-fileinfo">
  1.5 KiB
  24 Downloads
  <a href="#" onclick="return wpfilebase_filedetails(3);">Details...</a>
 </div>
 <div style="clear: both;"></div>
</div></p>
<h2 style="text-align: left;">Introduction:</h2>
<p>Before we begin, we have to know what we&#8217;re making. We&#8217;re going to be creating a list view (you can choose another type if you please) of posts and comments from our site ordered by date. Later, you can choose to add more activity into your view like flags (likes), relationships (who&#8217;s following whom), etc. but for now we&#8217;ll keep it simple since the same principle for 2 types of information also applies to 5 types.</p>
<h2>Step 1: Making the query</h2>
<p>To create our activity stream view, we&#8217;re essentially going to combine two individual views into a single query. We&#8217;re going to take advantage of the views UI preview in order to get our query (in case we don&#8217;t know too much about SQL queries).</p>
<ol>
<li>Create a new temporary view (we&#8217;re not actually going to save it) called <strong>recent_posts</strong> (or similar).</li>
<li>Add fields for: user name, user picture, node title, node post date, and node type.</li>
<li>Add a sort criteria for Node: poste date.</li>
<li>Add a filter for Node: published.</li>
<p style="text-align: center;"><a href="http://sethsandler.com/wp-content/uploads/2010/05/recent_posts.png"><img class="aligncenter size-full wp-image-1071" title="recent_posts" src="http://sethsandler.com/wp-content/uploads/2010/05/recent_posts.png" alt="recent posts Drupal 6   Creating Activity Stream with Views Custom SQL Query: Merging multiple views   Part 1" width="542" height="348" /></a></p>
<p style="text-align: center;">Your view should look like the above</p>
<li>In the views &#8216;live preview&#8217;, click the preview button.</li>
<li>Scroll down to where the &#8216;query&#8217; is shown and <strong>copy and paste this to a temporary text file on your desktop</strong>. We&#8217;re going to need this query code in a bit.</li>
<p style="text-align: center;"><a href="http://sethsandler.com/wp-content/uploads/2010/05/query.png"><img class="aligncenter size-full wp-image-1076" title="query" src="http://sethsandler.com/wp-content/uploads/2010/05/query.png" alt="query Drupal 6   Creating Activity Stream with Views Custom SQL Query: Merging multiple views   Part 1" width="507" height="230" /></a></p>
<li>Create a new temporary view (we&#8217;re not actually going to save it) called  <strong>recent_comments</strong> (or similar).</li>
<li>Add relationship for: Comment: node and Comment: User.</li>
<li>Add fields for: user name, user picture, node title,  comment title,  and comment post date (all fields related to their relationships).</li>
<li>Add a sort criteria for Comment: poste date.</li>
<li>Add a filter for Node: published.</li>
<p style="text-align: center;"><a href="http://sethsandler.com/wp-content/uploads/2010/05/comments.png"><img class="aligncenter size-full wp-image-1081" title="comments" src="http://sethsandler.com/wp-content/uploads/2010/05/comments.png" alt="comments Drupal 6   Creating Activity Stream with Views Custom SQL Query: Merging multiple views   Part 1" width="512" height="330" /></a></p>
<li>Scroll down to where the &#8216;query&#8217; is shown and <strong>copy and paste </strong>this to the same file you created in <strong>step 6</strong>. We&#8217;re going to need this query code in a bit.</li>
</ol>
<h2>Step 2: Combine and merge the queries using UNION</h2>
<p>We should now have 2 views queries copied to a text file that look something like:</p>
<blockquote><p>//posts view<br />
SELECT node.nid AS nid,<br />
users.picture AS users_picture,<br />
users.uid AS users_uid,<br />
users.name AS users_name,<br />
<strong> users.mail AS users_mail,</strong><br />
node.type AS node_type,<br />
node.title AS node_title,<br />
node.created AS node_created,<br />
<strong> history_user.timestamp AS history_user_timestamp,</strong><br />
<strong> node.changed AS node_changed,</strong><br />
<strong> node_comment_statistics.last_comment_timestamp AS node_comment_statistics_last_comment_timestamp</strong><br />
FROM node node<br />
INNER JOIN users users ON node.uid = users.uid<br />
<strong> LEFT JOIN history history_user ON node.nid = history_user.nid AND history_user.uid = ***CURRENT_USER***</strong><br />
<strong> INNER JOIN node_comment_statistics node_comment_statistics ON node.nid = node_comment_statistics.nid</strong><br />
WHERE (node.status &lt;&gt; 0)<br />
ORDER BY node_created DESC</p>
<p>//comments view<br />
SELECT comments.cid AS cid,<br />
users_comments.picture AS users_comments_picture,<br />
users_comments.uid AS users_comments_uid,<br />
users_comments.name AS users_comments_name,<br />
<strong> users_comments.mail AS users_comments_mail,</strong><br />
comments.subject AS comments_subject,<br />
<strong> comments.nid AS comments_nid,</strong><br />
node_comments.title AS node_comments_title,<br />
<strong> node_comments.nid AS node_comments_nid,</strong><br />
comments.timestamp AS comments_timestamp<br />
FROM comments comments<br />
LEFT JOIN node node_comments ON comments.nid = node_comments.nid<br />
LEFT JOIN users users_comments ON comments.uid = users_comments.uid<br />
WHERE (node_comments.status &lt;&gt; 0)<br />
ORDER BY comments_timestamp DESC</p></blockquote>
<ol>
<li>Views adds a few things that we really won&#8217;t need. So we can remove all the bold parts above to clean up our queries. The results should look like:</li>
<blockquote><p>//posts view<br />
SELECT node.nid AS nid, <strong>//node id</strong><br />
users.picture AS users_picture, <strong>//picture</strong><br />
users.uid AS users_uid, <strong>//user id</strong><br />
users.name AS users_name, <strong>//user name</strong><br />
node.type AS node_type, <strong>// node type</strong><br />
node.title AS node_title, <strong>// node title</strong><br />
node.created AS node_created <strong>//post date</strong><br />
FROM node node<br />
INNER JOIN users users ON node.uid = users.uid<br />
<strong> </strong>WHERE (node.status &lt;&gt; 0)<br />
ORDER BY node_created DESC</p>
<p>//comments view<br />
SELECT comments.cid AS cid, <strong>//comment id</strong><br />
users_comments.picture AS users_comments_picture, <strong>// picture</strong><br />
users_comments.uid AS users_comments_uid, <strong>//user id</strong><br />
users_comments.name AS users_comments_name, <strong>//user name</strong><br />
node_comments.type AS node_type, <strong>//node type</strong><br />
comments.subject AS comments_subject, <strong>// comment title</strong><br />
comments.timestamp AS comments_timestamp <strong>//post date</strong><br />
FROM comments comments<br />
LEFT JOIN node node_comments ON comments.nid = node_comments.nid<br />
LEFT JOIN users users_comments ON comments.uid = users_comments.uid<br />
WHERE (node_comments.status &lt;&gt; 0)<br />
ORDER BY comments_timestamp DESC</p></blockquote>
<li>The result above are much cleaner. We&#8217;re going to merge these two queries by using UNION. UNION combines the results of multiple SELECTs. If you&#8217;re not familiar with UNION, i&#8217;d recommend reading <a href="http://www.mysqltutorial.org/sql-union-mysql.aspx">this</a>. In order to to create a union you have to have the same amount of SELECT fields. Luckily, when we cleaned up our view we were left with 7 SELECT fields (id, picture, user name, node type, title, post date). If you don&#8217;t have the same amount of fields in each query, you&#8217;ll need to create the same amount by modifying your queries or adding a &#8216;NULL&#8217; select in the query that has less fields. To make a UNION query of the above is simple. <strong>Copy and cut</strong> the <strong>ORDER BY node_created DESC</strong> from the end of the first query and replace the <strong>ORDER BY comments_timestamp DESC </strong>from the end of the second query with it.  Then, <strong>add </strong>&#8216;<strong>UNION</strong>&#8216; bewteen the two queries and you&#8217;re done! Results below:</li>
<blockquote><p>//posts view<br />
SELECT node.nid AS nid, <strong>//node id</strong><br />
users.picture AS users_picture, <strong>//picture</strong><br />
users.uid AS users_uid, <strong>//user id</strong><br />
users.name AS users_name, <strong>//user name</strong><br />
node.type AS node_type, <strong>// node type</strong><br />
node.title AS node_title, <strong>// node title</strong><br />
node.created AS node_created <strong>//post date</strong><br />
FROM node node<br />
INNER JOIN users users ON node.uid = users.uid<br />
<strong> </strong>WHERE (node.status &lt;&gt; 0)</p>
<p><strong>UNION</strong></p>
<p>//comments view<br />
SELECT comments.cid AS cid, <strong>//comment id</strong><br />
users_comments.picture AS users_comments_picture, <strong>// picture</strong><br />
users_comments.uid AS users_comments_uid, <strong>//user id</strong><br />
users_comments.name AS users_comments_name, <strong>//user name</strong><br />
node_comments.type AS node_type, <strong>//node type</strong><br />
comments.subject AS comments_subject, <strong>// comment title</strong><br />
comments.timestamp  AS comments_timestamp <strong>//post date</strong><br />
FROM comments comments<br />
LEFT JOIN node node_comments ON comments.nid = node_comments.nid<br />
LEFT JOIN users users_comments ON comments.uid = users_comments.uid<br />
WHERE (node_comments.status &lt;&gt; 0)<br />
<strong> ORDER BY node_created</strong><strong> DESC</strong></p></blockquote>
<li>This is going to merge our two views (posts and comments) and sort them by post date. Meaning, intstead of having 2 seperate views (one after the other), we now have a single view query that sorts both views (together) by node_created/comments_timestamp.  We just created our custom query! Now it&#8217;s time to prepare it to be fed into views <img src='http://sethsandler.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' title="Drupal 6   Creating Activity Stream with Views Custom SQL Query: Merging multiple views   Part 1" /> </li>
</ol>
<h2>Step 3: Creating the custom query module</h2>
<p>Now that we have our custom query ready to feed into views, we have to create a module to feed it into the views UI.  Sound scary? It&#8217;s not &#8211;  I&#8217;ll be giving you all the pieces below.</p>
<ol>
<li>Create a folder on your desktop called<strong> custom_views</strong></li>
<li>Create a text file on your desktop called <strong>custom_views.info</strong></li>
<li>Inside the file, paste:</li>
<blockquote><p>; $Id$<br />
name = Custom Views<br />
description = Custom views query for this site.<br />
core = 6.x</p></blockquote>
<li>Save this file.</li>
<li>Create a text file on your desktop called <strong>custom_views.install</strong></li>
<li>Inside this file, paste:</li>
<blockquote><p>&lt;?php // $Id: custom_views.install</p>
<p>/**<br />
* Implementation of hook_install()<br />
*/<br />
function custom_views_install() {<br />
// Set the module weight so it can override other modules.<br />
db_query(&#8220;UPDATE {system} SET weight = 99 WHERE name = &#8216;custom_views&#8217;&#8221;);<br />
}</p>
<p>/**<br />
* Implementation of hook_uninstall()<br />
*/<br />
function custom_views_uninstall() {<br />
// Remove the module from the system table<br />
db_query(&#8220;DELETE FROM {system} WHERE name = &#8216;custom_views&#8217;&#8221;);<br />
}</p></blockquote>
<li>Save this file.</li>
<li>Create a text file on your desktop called <strong>custom_views.module</strong></li>
<li>Inside this file, paste:</li>
<blockquote><p>&lt;?php // $Id: custom_views.module,v 1.272.2.1  20010/05/07 12:25:24 goba Exp $</p>
<p>function custom_views_views_pre_execute(&amp;$view) {</p>
<p>if($view-&gt;name==&#8221;SiteActivity&#8221;) {//<strong>if we don&#8217;t do this it&#8217;ll alter ALL our view queries with this one!</strong></p>
<p>$view-&gt;build_info['query']=&#8221;<strong>//custom query goes here</strong>&#8220;;</p>
<p>$view-&gt;build_info['count_query']=$view-&gt;build_info['query'];  <strong>// count_query determines the pager.  Do this so the right item count is returned.</strong></p>
<p>}</p>
<p>}</p>
<p>/**<br />
* This module is Views 2.0 enabled.<br />
* Implementation of hook_views_api().<br />
*/<br />
function custom_views_views_api() {<br />
return array(&#8216;api&#8217; =&gt; 2.0);<br />
}</p></blockquote>
<li>Inside the <strong>custom_views_views_pre_execute</strong> function where it says &#8216;<em>custom query goes here</em>&#8216;, paste the custom query we made in <strong>step 2 </strong>. Result below:</li>
<blockquote><p>&lt;?php // $Id: custom_views.module,v 1.272.2.1   20010/05/07 12:25:24 goba Exp $</p>
<p>function  custom_views_views_pre_execute(&amp;$view) {</p>
<p>if($view-&gt;name==&#8221;SiteActivity&#8221;) //<strong>if we don&#8217;t do this it&#8217;ll alter  ALL our site&#8217;s view queries with this one!</strong><br />
{<br />
$view-&gt;build_info['query']=<br />
&#8221;<br />
SELECT node.nid AS nid, <strong>//node id</strong><br />
users.picture AS users_picture, <strong>//picture</strong><br />
users.uid AS users_uid, <strong>//user id</strong><br />
users.name AS users_name, <strong>//user name</strong><br />
node.type AS node_type, <strong>// node type</strong><br />
node.title AS node_title, <strong>// node title</strong><br />
node.created AS node_created <strong>//post date</strong><br />
FROM node node<br />
INNER JOIN users users ON node.uid = users.uid<br />
<strong> </strong>WHERE (node.status &lt;&gt; 0)<strong> </strong></p>
<p><strong>UNION</strong></p>
<p>SELECT comments.cid AS cid, <strong>//comment id</strong><br />
users_comments.picture AS users_comments_picture, <strong>// picture</strong><br />
users_comments.uid AS users_comments_uid, <strong>//user id</strong><br />
users_comments.name AS users_comments_name, <strong>//user name</strong><br />
node_comments.type AS node_type, <strong>//node type</strong><br />
comments.subject AS comments_subject, <strong>// comment title</strong><br />
comments.timestamp  AS comments_timestamp <strong>//post date</strong><br />
FROM comments comments<br />
LEFT JOIN node node_comments ON comments.nid = node_comments.nid<br />
LEFT JOIN users users_comments ON comments.uid = users_comments.uid<br />
WHERE (node_comments.status &lt;&gt; 0)<br />
ORDER BY node_created DESC&#8221;;</p>
<p>$view-&gt;build_info['count_query']=$view-&gt;build_info['query'];  <strong>//  count_query determines the pager.  Do this so the right item count is  returned.</strong>}<br />
}</p>
<p>/**<br />
* This module is Views  2.0 enabled.<br />
* Implementation of hook_views_api().<br />
*/<br />
function custom_views_views_api() {<br />
return array(&#8216;api&#8217; =&gt; 2.0);<br />
}</p></blockquote>
<li>Save this file. We just created our custom views module. <img src='http://sethsandler.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' title="Drupal 6   Creating Activity Stream with Views Custom SQL Query: Merging multiple views   Part 1" /> </li>
<li>Now upload your custom_views module to your website and enable it like normal.</li>
</ol>
<h2>Step 4: Output our activity stream through the views UI</h2>
<p>Now that we have our new module, with our custom query added to our site, it&#8217;s time to create our final view.</p>
<ol>
<li>Create a new node view and call it &#8216;<strong>SiteActivity</strong>&#8216;. We&#8217;re picking this name because that&#8217;s what we put in our module &#8220;if($view-&gt;name==&#8221;<strong>SiteActivity</strong>&#8220;)&#8221;. If you want to call it something else, you&#8217;ll need to change the name in the custom_views module too.</li>
<li>Since the query we made had user picture, user name, node type, title, and post date, we&#8217;ll add fields for all of those.</li>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1133" title="nalview" src="http://sethsandler.com/wp-content/uploads/2010/05/nalview.png" alt="nalview Drupal 6   Creating Activity Stream with Views Custom SQL Query: Merging multiple views   Part 1" width="581" height="447" /></p>
<li>You can arrange these how you want. Preview your new view and see what it looks like! Hopefully it should be a combination of other views you created before, but now they&#8217;re combined into a single list!</li>
<li>The original example in the beginning of this post goes a bit further (probably covered later in a part 2 of this tutorial). It uses <a href="http://drupal.org/project/views_customfield" target="_blank">views custom fields</a> in order to take all the results and images based upon the content type and activity type (project, flag, comment). With a little creativity you can do the same.</li>
</ol>
<h2>Final Thoughts:</h2>
<p>Most of the themeing parts of this tutorial will be saved for another time (part 2) since they deserve a separate part. In this example we covered how to combine multiple views queries and sorting based on a common part (post date). The method of creating a custom query and module to input in views should work with any custom query and not just UNIONs. So there is a lot of room for creativity. I hope you enjoyed this tutorial. I don&#8217;t claim to be an expert by any means and so please let me know if there are problems or insights that could improve upon this process. If there are any steps missing or clarification needed &#8211; let me know so I can make the necessary changes/additions.</p>
<h2>DOWNLOAD EXAMPLE MODULE:</h2>
<p><div class="wpfilebase-attachment">
 <div class="wpfilebase-fileicon"><a href="http://sethsandler.com/download/custom_views.zip" onclick="wpfilebase_dlclick(10, 'download/custom_views.zip')" title="Download custom_views module"><img align="middle" src="http://sethsandler.com/wp-includes/images/crystal/archive.png" title="Drupal 6   Creating Activity Stream with Views Custom SQL Query: Merging multiple views   Part 1" alt="archive Drupal 6   Creating Activity Stream with Views Custom SQL Query: Merging multiple views   Part 1" /></a></div>
 <div class="wpfilebase-rightcol">
  <div class="wpfilebase-filetitle">
   <a href="http://sethsandler.com/download/custom_views.zip" onclick="wpfilebase_dlclick(10, 'download/custom_views.zip')" title="Download custom_views module">custom_views module</a>
   custom_views.zip
   
  </div>
  <div class="wpfilebase-filedetails" id="wpfilebase-filedetails4" style="display: none;">
  
  <table border="0" width="220">
   
   
   
   
   
   
   <tr><th>Date:</th><td>January 1, 1970</td></tr>
   <tr><th>MD5 Hash:</th><td><small>580adbe74f69b884e3b6eda6c547db83</small></td></tr>
  </table>
  </div>
 </div>
 <div class="wpfilebase-fileinfo">
  1.5 KiB
  24 Downloads
  <a href="#" onclick="return wpfilebase_filedetails(4);">Details...</a>
 </div>
 <div style="clear: both;"></div>
</div>
<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom: 10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsethsandler.com%2Fsoftware%2Fdrupal-6-creating-activity-stream-views-custom-sql-query-merging-multiple-views-part-1%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsethsandler.com%2Fsoftware%2Fdrupal-6-creating-activity-stream-views-custom-sql-query-merging-multiple-views-part-1%2F&amp;style=normal" height="61" width="50" title="Drupal 6   Creating Activity Stream with Views Custom SQL Query: Merging multiple views   Part 1" alt=" Drupal 6   Creating Activity Stream with Views Custom SQL Query: Merging multiple views   Part 1" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://sethsandler.com/software/drupal-6-creating-activity-stream-views-custom-sql-query-merging-multiple-views-part-1/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Argos: Super Cool Multitouch Music Interface Builder</title>
		<link>http://sethsandler.com/audio/argos-super-cool-multitouch-music-interface-builder/</link>
		<comments>http://sethsandler.com/audio/argos-super-cool-multitouch-music-interface-builder/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 01:05:32 +0000</pubDate>
		<dc:creator>SethSandler</dc:creator>
				<category><![CDATA[Audio]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[Multitouch and NUI]]></category>
		<category><![CDATA[touch]]></category>

		<guid isPermaLink="false">http://sethsandler.com/?p=951</guid>
		<description><![CDATA[
			
				
			
		

If you&#8217;re familiar with the Jazzmutant Lemur, you&#8217;ll want to get familiar with Argos Interface Builder by Dimitri Diakopoulos using the great c++ framework openFrameworks.




Last summer I took part in Google Summer of Code as a mentor. Dimitri proposed a multitouch music interface builder and I thought it was a fantastic idea. An opensource lemur; who wouldn&#8217;t like that??? Dimitri was chosen as a student for GSoC and I was able to mentor him as he developed Argos. It&#8217;s come a long way, and with a little help from the ...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom: 10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsethsandler.com%2Faudio%2Fargos-super-cool-multitouch-music-interface-builder%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsethsandler.com%2Faudio%2Fargos-super-cool-multitouch-music-interface-builder%2F&amp;style=normal" height="61" width="50" title="Argos: Super Cool Multitouch Music Interface Builder" alt=" Argos: Super Cool Multitouch Music Interface Builder" /><br />
			</a>
		</div>
<p><img alt="argos21 Argos: Super Cool Multitouch Music Interface Builder" src="http://argos.dimitridiakopoulos.com/argos21.jpg" title="Argos" width="500" height="259" /></p>
<p>If you&#8217;re familiar with the <a href="http://www.jazzmutant.com/">Jazzmutant Lemur</a>, you&#8217;ll want to get familiar with <a href="http://argos.dimitridiakopoulos.com/about/">Argos Interface Builder</a> by Dimitri Diakopoulos using the great c++ framework <a href="http://www.openframeworks.cc/">openFrameworks</a>.</p>
<p style="float: right;"><script type="text/javascript"><!--
google_ad_client = "pub-9343590855255860";
/* in posts - 300x250, created 12/1/09 */
google_ad_slot = "1775795679";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>Last summer I took part in <a href="http://code.google.com/soc/">Google Summer of Code</a> as a mentor. Dimitri proposed a multitouch music interface builder and I thought it was a fantastic idea. An opensource lemur; who wouldn&#8217;t like that??? Dimitri was chosen as a student for GSoC and I was able to mentor him as he developed Argos. It&#8217;s come a long way, and with a little help from the opensource community, it has potential to be incredible! </p>
<p>Take a look at the video below to see Argos in use. You can find the source and a binary (for windows users) here: http://code.google.com/p/ofxargos/</p>
<p>Make sure to check out the release notes and official Argos website at  http://argos.dimitridiakopoulos.com/ The application is still feature-incomplete, but quickly approaching a usable state! Dimitri can really use community support; so make sure to say &#8216;hi&#8217; to him and get involved to make argos the next coolest opensource music interface!</p>
<p>
<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom: 10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsethsandler.com%2Faudio%2Fargos-super-cool-multitouch-music-interface-builder%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsethsandler.com%2Faudio%2Fargos-super-cool-multitouch-music-interface-builder%2F&amp;style=normal" height="61" width="50" title="Argos: Super Cool Multitouch Music Interface Builder" alt=" Argos: Super Cool Multitouch Music Interface Builder" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://sethsandler.com/audio/argos-super-cool-multitouch-music-interface-builder/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Flocking around with AS3 and Multitouch</title>
		<link>http://sethsandler.com/technology-multitouch/flocking-as3/</link>
		<comments>http://sethsandler.com/technology-multitouch/flocking-as3/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 20:31:53 +0000</pubDate>
		<dc:creator>SethSandler</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[Multitouch and NUI]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://sethsandler.com/?p=548</guid>
		<description><![CDATA[
			
				
			
		




For a while I&#8217;ve been interested in emergent behavior where simple rules can create complex behavior. One of the most known examples of such behavior is Craig Reynolds &#8216;boids&#8217; where a few simple rules can recreate the flocking behavior of birds.
I recently came across a great and clean example of some boids code by soulwire (make sure to check out his whole site; it&#8217;s great). Since we&#8217;ve seen various examples of this behavior on multitouch tables (like on the iBar), I decided to add some basic touch support to soulwire&#8217;s ...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom: 10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsethsandler.com%2Ftechnology-multitouch%2Fflocking-as3%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsethsandler.com%2Ftechnology-multitouch%2Fflocking-as3%2F&amp;style=normal" height="61" width="50" title="Flocking around with AS3 and Multitouch" alt=" Flocking around with AS3 and Multitouch" /><br />
			</a>
		</div>
<p style="float: right; padding: 10px"><script type="text/javascript"><!--
google_ad_client = "pub-9343590855255860";
/* in posts - 300x250, created 12/1/09 */
google_ad_slot = "1775795679";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p style="text-align: left;">For a while I&#8217;ve been interested in <a href="http://en.wikipedia.org/wiki/Emergence" target="_blank">emergent behavior</a> where simple rules can create complex behavior. One of the most known examples of such behavior is <a href="http://www.red3d.com/cwr/index.html">Craig Reynolds</a> &#8216;boids&#8217; where a few simple rules can recreate the flocking behavior of birds.</p>
<p style="text-align: left;">I recently came across a great and clean example of some boids code by <a href="http://blog.soulwire.co.uk/flash/actionscript-3/as3-flocking-steering-behaviors/">soulwire</a> (make sure to check out his whole site; it&#8217;s great). Since we&#8217;ve seen various examples of this behavior on multitouch tables (like on the iBar), I decided to add some basic touch support to soulwire&#8217;s example. So, now we have it&#8230;multitouchable boids!</p>
<p style="text-align: center;"><a rel="shadowbox height=640;width=800" href="http://sethsandler.com/wp-content/uploads/2009/07/Boids.swf"> <img class="alignnone" title="boids" src="http://sethsandler.com/wp-content/uploads/2009/07/boids.jpg" alt="boids Flocking around with AS3 and Multitouch" width="512" /></a></p>
<p style="text-align: left;">Right now, the demo only supports multitouch (TUIO), but mouse interaction can be easily added back in. I&#8217;ve purposely left this demo application fairly open and non-spectacular so that others can looks at the code and easily make simple changes that&#8217;ll drastically affect the results and interaction. I only spent about an hour adding in multitouch support and playing with various values, so there&#8217;s plenty more to experiment and add.</p>
<p style="text-align: left;">Currently there&#8217;s 3 buttons to change the behavior.</p>
<ol>
<li>The boids chasce eachother and move towards objects (fingers) close to them</li>
<li>The boids wonder around randomly and move towards objects (fingers) close to them</li>
<li>The boids chase eachother and flee objects (fingers) close to them</li>
</ol>
<p>Documentation is included and provided by soulwire. Make sure to check out the original website by <a href="http://blog.soulwire.co.uk/flash/actionscript-3/as3-flocking-steering-behaviors/">soulwire</a> so you know the possibilities and can see a few more examples.</p>
<p>Please let me know what you think, any questions you have, and ideas that could help expand this example.</p>
<p><strong>Download:</strong> <div class="wpfilebase-attachment">
 <div class="wpfilebase-fileicon"><a href="http://sethsandler.com/download/boids_src.zip" onclick="wpfilebase_dlclick(8, 'download/boids_src.zip')" title="Download Flocking Demo"><img align="middle" src="http://sethsandler.com/wp-includes/images/crystal/archive.png" title="Flocking around with AS3 and Multitouch" alt="archive Flocking around with AS3 and Multitouch" /></a></div>
 <div class="wpfilebase-rightcol">
  <div class="wpfilebase-filetitle">
   <a href="http://sethsandler.com/download/boids_src.zip" onclick="wpfilebase_dlclick(8, 'download/boids_src.zip')" title="Download Flocking Demo">Flocking Demo</a>
   boids_src.zip
   Version: 1
   
  </div>
  <div class="wpfilebase-filedetails" id="wpfilebase-filedetails6" style="display: none;">
  
  <table border="0" width="220">
   
   <tr><th>Author:</th><td>Seth Sandler, soulwire</td></tr>
   
   
   
   
   <tr><th>Date:</th><td>November 18, 2009</td></tr>
   <tr><th>MD5 Hash:</th><td><small>4b9a5dfea4413f460d4ab4b0a4048a9b</small></td></tr>
  </table>
  </div>
 </div>
 <div class="wpfilebase-fileinfo">
  124.0 KiB
  436 Downloads
  <a href="#" onclick="return wpfilebase_filedetails(6);">Details...</a>
 </div>
 <div style="clear: both;"></div>
</div><br />
Source code is included. The swf is inside the src folder.
<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom: 10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsethsandler.com%2Ftechnology-multitouch%2Fflocking-as3%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsethsandler.com%2Ftechnology-multitouch%2Fflocking-as3%2F&amp;style=normal" height="61" width="50" title="Flocking around with AS3 and Multitouch" alt=" Flocking around with AS3 and Multitouch" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://sethsandler.com/technology-multitouch/flocking-as3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Super Cool Multitouch Actionscript Fluid Solver</title>
		<link>http://sethsandler.com/technology-multitouch/super-cool-multitouch-actionscript-fluid-solver/</link>
		<comments>http://sethsandler.com/technology-multitouch/super-cool-multitouch-actionscript-fluid-solver/#comments</comments>
		<pubDate>Thu, 14 May 2009 18:31:57 +0000</pubDate>
		<dc:creator>SethSandler</dc:creator>
				<category><![CDATA[Art and design]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Multitouch and NUI]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[fluid solver]]></category>
		<category><![CDATA[multitoutch]]></category>

		<guid isPermaLink="false">http://sethsandler.com/?p=299</guid>
		<description><![CDATA[
			
				
			
		




Eugene has just ported Memo’s fluid solver work to AS3 http://blog.inspirit.ru/?p=248.  With the source now out, I was able to quickly add multitouch support and it works great! Thanks to cyandesign and simpleex for keeping me on my toes.
A couple notes, the touchlib AS3 classes had to be corrected since they currently don&#8217;t send dX and dY values which the fluid solver needs to calculate directional velocity. Other than that, things went fairly smoothly and took little time to make touch sensitive.
 
Click the above image to play
Download:

 
 ...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom: 10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsethsandler.com%2Ftechnology-multitouch%2Fsuper-cool-multitouch-actionscript-fluid-solver%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsethsandler.com%2Ftechnology-multitouch%2Fsuper-cool-multitouch-actionscript-fluid-solver%2F&amp;style=normal" height="61" width="50" title="Super Cool Multitouch Actionscript Fluid Solver" alt=" Super Cool Multitouch Actionscript Fluid Solver" /><br />
			</a>
		</div>
<p style="float: right; padding: 10px"><script type="text/javascript"><!--
google_ad_client = "pub-9343590855255860";
/* in posts - 300x250, created 12/1/09 */
google_ad_slot = "1775795679";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>Eugene has just ported <a href="http://nuigroup.com/forums/viewthread/5074/">Memo’s fluid solver</a> work to AS3 <a href="http://blog.inspirit.ru/?p=248">http://blog.inspirit.ru/?p=248</a>.  With the source now out, I was able to quickly add multitouch support and it works great! Thanks to <a href="http://www.cyancdesign.com/" target="_blank">cyandesign </a>and <a href="http://www.simpleexcite.net/" target="_blank">simpleex </a>for keeping me on my toes.</p>
<p>A couple notes, the touchlib AS3 classes had to be corrected since they currently don&#8217;t send dX and dY values which the fluid solver needs to calculate directional velocity. Other than that, things went fairly smoothly and took little time to make touch sensitive.<br />
<a rel="shadowbox height=640;width=800" href="http://sethsandler.com/wp-content/uploads/2009/05/fluidsolver.swf"> <img class="aligncenter" title="fluidsolver" src="http://nuigroup.com/?ACT=28&amp;fid=33&amp;aid=3355_T7aA8BW1RuxJu8IpMXs1" alt=" Super Cool Multitouch Actionscript Fluid Solver" width="512" /></a></p>
<p style="text-align: center;">Click the above image to play</p>
<p><strong>Download:</strong></p>
<p><a href="http://nuigroup.com/?ACT=28&amp;fid=33&amp;aid=3354_BJKDL3TYSftbAXEyjUeT"></a><div class="wpfilebase-attachment">
 <div class="wpfilebase-fileicon"><a href="http://sethsandler.com/download/FluidSolver.zip" onclick="wpfilebase_dlclick(5, 'download/FluidSolver.zip')" title="Download Multitouch Fluid Solver"><img align="middle" src="http://sethsandler.com/wp-includes/images/crystal/archive.png" title="Super Cool Multitouch Actionscript Fluid Solver" alt="archive Super Cool Multitouch Actionscript Fluid Solver" /></a></div>
 <div class="wpfilebase-rightcol">
  <div class="wpfilebase-filetitle">
   <a href="http://sethsandler.com/download/FluidSolver.zip" onclick="wpfilebase_dlclick(5, 'download/FluidSolver.zip')" title="Download Multitouch Fluid Solver">Multitouch Fluid Solver</a>
   FluidSolver.zip
   Version: 1
   
  </div>
  <div class="wpfilebase-filedetails" id="wpfilebase-filedetails8" style="display: none;">
  Multitouch Fluid Solver
  <table border="0" width="220">
   
   <tr><th>Author:</th><td>Seth Sandler, Mehmet Atken, Eugene </td></tr>
   
   
   
   
   <tr><th>Date:</th><td>November 18, 2009</td></tr>
   <tr><th>MD5 Hash:</th><td><small>1c6974ecb841b09e6fdfbbe3539ca52e</small></td></tr>
  </table>
  </div>
 </div>
 <div class="wpfilebase-fileinfo">
  260.9 KiB
  3274 Downloads
  <a href="#" onclick="return wpfilebase_filedetails(8);">Details...</a>
 </div>
 <div style="clear: both;"></div>
</div><br />
Both source code and application are included. The swf is inside the bin folder.</p>
<p>If you try this out, leave a comment here and let me know how things go. Video responses are welcome also!
<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom: 10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsethsandler.com%2Ftechnology-multitouch%2Fsuper-cool-multitouch-actionscript-fluid-solver%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsethsandler.com%2Ftechnology-multitouch%2Fsuper-cool-multitouch-actionscript-fluid-solver%2F&amp;style=normal" height="61" width="50" title="Super Cool Multitouch Actionscript Fluid Solver" alt=" Super Cool Multitouch Actionscript Fluid Solver" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://sethsandler.com/technology-multitouch/super-cool-multitouch-actionscript-fluid-solver/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Bloom &#8211; Multitouch Music Application</title>
		<link>http://sethsandler.com/audiotouch/bloom-generative-music-application/</link>
		<comments>http://sethsandler.com/audiotouch/bloom-generative-music-application/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 23:59:51 +0000</pubDate>
		<dc:creator>SethSandler</dc:creator>
				<category><![CDATA[AudioTouch]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[MultiKey]]></category>
		<category><![CDATA[Musical Squares]]></category>
		<category><![CDATA[My Progress]]></category>
		<category><![CDATA[My Videos]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Table]]></category>
		<category><![CDATA[bloom]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[multitouch]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[music application]]></category>
		<category><![CDATA[natural user interface]]></category>
		<category><![CDATA[nuigroup]]></category>

		<guid isPermaLink="false">http://ssandler.wordpress.com/?p=118</guid>
		<description><![CDATA[
			
				
			
		
Well, it’s about time I released another application right? If anyone has ever played Bloom on the iphone, I’m sure you’ll recognize my port from iphone to table.
If you’re not familiar with bloom, it’s a very simple music creation application. Press anywhere on the screen to create circles that grow and ‘bloom.’ As they fade out and re-appear, they play a note. The note is based on the x-axis. As you move right, the notes go higher.


Click the above image to play
How to use:
-Press on screen (mouse, touch, multi-touch)
-Rollover/touch/click already ...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom: 10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsethsandler.com%2Faudiotouch%2Fbloom-generative-music-application%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsethsandler.com%2Faudiotouch%2Fbloom-generative-music-application%2F&amp;style=normal" height="61" width="50" title="Bloom   Multitouch Music Application" alt=" Bloom   Multitouch Music Application" /><br />
			</a>
		</div>
<p>Well, it’s about time I released another application right? If anyone has ever played <a href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http://gizmodo.com/5061004/brian-enos-bloom-raises-the-bar-for-musical-iphone-apps&amp;ei=dQJISafhMITcNLe9vQQ&amp;usg=AFQjCNGWieTmhh1V0-V6swzg6gsY3_O3ZQ&amp;sig2=KpIpYLJ2-u78fOdXcWS3zQ">Bloom</a> on the iphone, I’m sure you’ll recognize my port from iphone to table.</p>
<p>If you’re not familiar with bloom, it’s a very simple music creation application. Press anywhere on the screen to create circles that grow and ‘bloom.’ As they fade out and re-appear, they play a note. The note is based on the x-axis. As you move right, the notes go higher.</p>
<p><a rel="shadowbox height=600;width=600" href="http://sethsandler.com/wp-content/uploads/2009/05/bloom.swf"><br />
<img class="aligncenter" title="bloom" src="http://nuigroup.com/?ACT=28&amp;fid=24&amp;aid=2154_1yFwKn6zrIxSElZk6VSU" alt=" Bloom   Multitouch Music Application" width="512" height="402" /></a></p>
<p style="text-align: center;">Click the above image to play</p>
<p><strong>How to use:</strong></p>
<p>-Press on screen (mouse, touch, multi-touch)<br />
-Rollover/touch/click already created circles to remove them and their sound<br />
-Press the upper left ‘clear’ button to clear all circles and sounds on screen.</p>
<p><strong>Downloads:</strong></p>
<p style="text-align:left;">Source Code:  <a href="http://nuigroup.com/?ACT=28&amp;fid=33&amp;aid=2155_a8EATbuFhUoTM5ZGV704"></a><div class="wpfilebase-attachment">
 <div class="wpfilebase-fileicon"><a href="http://sethsandler.com/download/bloom_src.zip" onclick="wpfilebase_dlclick(7, 'download/bloom_src.zip')" title="Download Bloom Source Code"><img align="middle" src="http://sethsandler.com/wp-includes/images/crystal/archive.png" title="Bloom   Multitouch Music Application" alt="archive Bloom   Multitouch Music Application" /></a></div>
 <div class="wpfilebase-rightcol">
  <div class="wpfilebase-filetitle">
   <a href="http://sethsandler.com/download/bloom_src.zip" onclick="wpfilebase_dlclick(7, 'download/bloom_src.zip')" title="Download Bloom Source Code">Bloom Source Code</a>
   bloom_src.zip
   Version: 1
   
  </div>
  <div class="wpfilebase-filedetails" id="wpfilebase-filedetails11" style="display: none;">
  
  <table border="0" width="220">
   
   <tr><th>Author:</th><td>Seth Sandler</td></tr>
   
   
   
   
   <tr><th>Date:</th><td>November 18, 2009</td></tr>
   <tr><th>MD5 Hash:</th><td><small>37030ba99feb9663b98f0c755061bcca</small></td></tr>
  </table>
  </div>
 </div>
 <div class="wpfilebase-fileinfo">
  1.2 MiB
  21861 Downloads
  <a href="#" onclick="return wpfilebase_filedetails(11);">Details...</a>
 </div>
 <div style="clear: both;"></div>
</div></p>
<p style="text-align:left;">Binary Application: <a href="http://nuigroup.com/?ACT=28&amp;fid=33&amp;aid=2153_ZOoNPO2FqOXcMOgmbqTx"></a><div class="wpfilebase-attachment">
 <div class="wpfilebase-fileicon"><a href="http://sethsandler.com/download/bloom.zip" onclick="wpfilebase_dlclick(6, 'download/bloom.zip')" title="Download Bloom Application"><img align="middle" src="http://sethsandler.com/wp-includes/images/crystal/archive.png" title="Bloom   Multitouch Music Application" alt="archive Bloom   Multitouch Music Application" /></a></div>
 <div class="wpfilebase-rightcol">
  <div class="wpfilebase-filetitle">
   <a href="http://sethsandler.com/download/bloom.zip" onclick="wpfilebase_dlclick(6, 'download/bloom.zip')" title="Download Bloom Application">Bloom Application</a>
   bloom.zip
   Version: 1
   
  </div>
  <div class="wpfilebase-filedetails" id="wpfilebase-filedetails12" style="display: none;">
  
  <table border="0" width="220">
   
   <tr><th>Author:</th><td>Seth Sandler</td></tr>
   
   
   
   
   <tr><th>Date:</th><td>November 18, 2009</td></tr>
   <tr><th>MD5 Hash:</th><td><small>d4302be06f674dd3f68b7d38c52256d6</small></td></tr>
  </table>
  </div>
 </div>
 <div class="wpfilebase-fileinfo">
  1.9 MiB
  21021 Downloads
  <a href="#" onclick="return wpfilebase_filedetails(12);">Details...</a>
 </div>
 <div style="clear: both;"></div>
</div></p>
<p>The source folder should include everything you need to run the application. You don’t need to copy anything into your current AS3 directory. I’ve commented the Main.as file very well and it should give a good look into making simple applications with the AS3 Touch API.</p>
<p>Thanks to Christian for the background color tweening effect.</p>
<p>Check out my Bloom thread I started here: <a href="http://nuigroup.com/forums/viewthread/3867/">http://nuigroup.com/forums/viewthread/3867/</a></p>
<p>Check out olo:idea video below that shows the Bloom running on a large multitouch display.</p>

<p>Check out bassmang5 video below that shows the Bloom and my other applications running on his MTmini! You can see his post on NUIGroup here: <a href="http://nuigroup.com/forums/viewthread/3911/">http://nuigroup.com/forums/viewthread/3911/</a></p>
<p>
<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom: 10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsethsandler.com%2Faudiotouch%2Fbloom-generative-music-application%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsethsandler.com%2Faudiotouch%2Fbloom-generative-music-application%2F&amp;style=normal" height="61" width="50" title="Bloom   Multitouch Music Application" alt=" Bloom   Multitouch Music Application" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://sethsandler.com/audiotouch/bloom-generative-music-application/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
