<?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>Interaction Designer Craig Dennis &#187; OneBang</title>
	<atom:link href="http://craigmdennis.com/tag/onebang/feed/" rel="self" type="application/rss+xml" />
	<link>http://craigmdennis.com</link>
	<description>The portfolio &#38; blog for Craig Dennis, an Interaction Designer based in South East England</description>
	<lastBuildDate>Thu, 23 Feb 2012 14:05:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=145</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>If In Doubt&#8230; Ask&#8230;</title>
		<link>http://craigmdennis.com/if-in-doubt-ask/</link>
		<comments>http://craigmdennis.com/if-in-doubt-ask/#comments</comments>
		<pubDate>Sun, 01 Jun 2008 16:24:49 +0000</pubDate>
		<dc:creator>Craig</dc:creator>
				<category><![CDATA[Uni work]]></category>
		<category><![CDATA[Interactive Spaces]]></category>
		<category><![CDATA[MaxMSP]]></category>
		<category><![CDATA[OneBang]]></category>

		<guid isPermaLink="false">http://craigmdennis.com/?p=620</guid>
		<description><![CDATA[I have finally solved the problem of the &#8216;bang&#8217; going off continuously in the MaxMSP window (and consequentially making everything else after it go off continuously) by asking for help. I posted a question on the Cycling 74 forum in the hope that somebody may have had a similar problem or someone might share their... <a class="more" href="http://craigmdennis.com/if-in-doubt-ask/">Read more &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p>I have finally solved the problem of the &#8216;bang&#8217; going off continuously in the MaxMSP window (and consequentially making everything else after it go off continuously) by asking for help.</p>
<p>I posted a question on the Cycling 74 forum in the hope that somebody may have had a similar problem or someone might share their insights. What actually happened was that less than an hour after posting I got the answer&#8230; and it made me feel like such a n00b.</p>
<p>I asked the following:</p>
<p><em><span class="MsgBodyText">&#8220;<strong>I</strong> am having a problem using a sound analyser with Max.</span></em></p>
<p><em>The aim is when a number box goes above a certain value (say 25) then &#8216;bang&#8217; once and only once until the number goes above 25 again.</em></p>
<p><em>The problem is that the number box is constantly updating (from the sound analyser) and when it changes number but remains above 25 it triggers another &#8216;bang&#8217;. So due to updating continuously it is &#8216;banging&#8217; continuously. I need it to stop after the first &#8216;bang&#8217;.</em></p>
<p><em>This is for my final project this year and is supposed to be displayed at our broadcast event on Thurday.</em></p>
<p><em>Any help would be greatly appreciated.</em></p>
<p><em>Thanks<strong>&#8220;</strong></em></p>
<p>The response was this:</p>
<p><em><span class="MsgBodyText"><strong>&#8220;</strong>Hi.<br />
Try this:</span></em></p>
<p><em>&#8212;&#8212;&#8212;-begin_max5_patcher&#8212;&#8212;&#8212;-</em><em> 396.3ocwT0zbBCBD8L4WACmsN.ZzZOzC9WnyzKcb5PRnJcR.m.<br />
YpsN9eu.ILVa8iXp0dYIr6xx681vtNBfRTq3ZD7N3SP.XcD.3c4b.<br />
Z1CPErUo4LsOMjrpHgWh5UG5EkznEevcglzG23cIyjtPHm+bIO<br />
0TWbBFaCCGMxYi8eSF2GCm0bDQlu5pjWuYbn31qRHy4F+ES1<br />
5TUYBdoeAGRVgGGnoBi1TxYEvG4kL3CLoFNUkmEpa84MuujW<br />
iMjPZP8fnDlbNBNykzlnHmoWKEkjJiQIQmj9jI25Vn3fce7O9L3<br />
O4PTp6bQxeyhh.FL7UdJfz7bHoqscB022GN7X88A6k2z+v9tW<br />
jrM9KpPcOjF2YcBScKCNpNQOCchbwdebIkHkjWK8cTkF4Uo33<br />
ioRj+s+l94SOO9P4B42G054ny+tZnVUUlFJayHQ3VVlw0FgjYD<br />
1QNaygtSNKDYYbe3fdVHxVprcxFHbf9YaQDoEHJ9phH63CH<br />
4DHhrSNWCDgaAhtdZDsEHZvu.Q1Mah9z6gIOd<br />
&#8212;&#8212;&#8212;&#8211;end_max5_patcher&#8212;&#8212;&#8212;&#8211;</em></p>
<p><em><span class="MsgBodyText"> Ciao<strong>&#8220;</strong></span></em></p>
<p>After some googling and download of the trial version of Max 5, I opened the file and discovered it worked.</p>
<p>This is what it looks like in a patcher window in Max 5.</p>
<p><img class="alignnone size-full wp-image-621" title="2008-06-01_1" src="http://uploads.craigmdennis.com/2008/06/2008-06-01_1.jpg" alt="" width="118" height="229" /></p>
<p>The answer is a small yet surprisingly powerful object called [onebang] which only allows one &#8216;bang&#8217; if it meets the requirements of the object above, in this case &#8216;sel 1&#8242;.</p>
<p>Below is an image from Max 4.6 which I am using for the project.</p>
<p><a href="http://uploads.craigmdennis.com/2008/06/2008-06-01_2.jpg"><img class="alignnone size-medium wp-image-622" title="2008-06-01_2" src="http://uploads.craigmdennis.com/2008/06/2008-06-01_2-235x149.jpg" alt="" width="235" height="149" /></a></p>
<p>1: The [onebang] object in action.<br />
2: Selection for playing back the sounds &#8211; simply select a number and &#8216;bang&#8217;, this will be linked up to flash to pull the sounds out and play them when an object collides with another.</p>
]]></content:encoded>
			<wfw:commentRss>http://craigmdennis.com/if-in-doubt-ask/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

