<?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"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: Drw wave with serial data from Ardino, analyse with Max/msp</title>
		<atom:link href="http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 21:59:24 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-53718</guid>
					<title><![CDATA[Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-53718</link>
					<pubDate>Mon, 06 Dec 2010 19:12:07 +0000</pubDate>
					<dc:creator>chrislaw</dc:creator>

					<description>
						<![CDATA[
						<p>I aim to measure heart rates through the arduino using an infra red led and a IR phototransistor to detect the pulse in my finger. This creates a data list in the serial window. From there i need to transform the data into a visually identifiable wave form using processing, send the wave to Max/ Msp which can analyse the waves for peaks and troughs, and then control the speed of a captured sound file of waves crashing against the beach using the frequency of the heart beat. There is 10 days to do this. I am sort of hoping that its not quite as difficult as it sounds. I have discovered pachube. Any help or advice would be gold dust, thanks everyone.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193213</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193213</link>
					<pubDate>Mon, 06 Dec 2010 22:42:23 +0000</pubDate>
					<dc:creator>n00b_meister</dc:creator>

					<description>
						<![CDATA[
						<p>There&#8217;s some example code and a patch here, relating to graphing analog input to Processing and Max:</p>
<p><a href="http://arduino.cc/en/Tutorial/Graph" rel="nofollow">http://arduino.cc/en/Tutorial/Graph</a></p>
<p>If you&#8217;re happy with this, then look at [peak] and [trough] and related objects</p>
<p>Brendan</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193214</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193214</link>
					<pubDate>Tue, 07 Dec 2010 04:57:05 +0000</pubDate>
					<dc:creator>chrislaw</dc:creator>

					<description>
						<![CDATA[
						<p></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193215</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193215</link>
					<pubDate>Tue, 07 Dec 2010 05:07:25 +0000</pubDate>
					<dc:creator>chrislaw</dc:creator>

					<description>
						<![CDATA[
						<p>thanks very much Brendan, Ill check that out now.</p>
<p>Heres a few posts I have found to help me with the processing/ arduino side of things.</p>
<p><a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1233536778" rel="nofollow">http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1233536778</a><br />
<a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1286747908" rel="nofollow">http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1286747908</a> </p>
<p>i&#8217;ve also been looking at jitter tutorial 28 which looks at tracking msp sound waves amplitudes. Hopefully i&#8217;m  going down the right track with this</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193216</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193216</link>
					<pubDate>Tue, 07 Dec 2010 06:06:06 +0000</pubDate>
					<dc:creator>llumen</dc:creator>

					<description>
						<![CDATA[
						<p>nice project, it is more or less exactly what I did, although I used synthesis to create the waves instead of a .wav and using vbap to spatialize the sound.<br />
I&#8217;m not sure why you want to include processing and not take the whole thing into max though.<br />
just ask if you need more help</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193217</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193217</link>
					<pubDate>Tue, 07 Dec 2010 18:02:47 +0000</pubDate>
					<dc:creator>chrislaw</dc:creator>

					<description>
						<![CDATA[
						<p>Hi llumen, most definitely could do with any help I can get.<br />
This is the project sketch I am starting with for the arduino which records the heartbeat as serial data in the serial monitor;</p>
<p>int ledPin = 13;<br />
int sensorPin = 0;</p>
<p>double alpha = 0.75;<br />
int period = 20;<br />
double change = 0.0;</p>
<p>void setup()<br />
{<br />
  pinMode(ledPin, OUTPUT);<br />
}</p>
<p>void loop()<br />
{<br />
  static double oldValue = 0;<br />
  static double oldChange = 0;<br />
  int rawValue =<br />
    analogRead(sensorPin);<br />
// smooths wave form using alpha value for level of smoothing<br />
  double value = alpha * oldValue<br />
    + (1 &#8211; alpha) * rawValue;</p>
<p>  digitalWrite(ledPin, (change < 0.0 &#038;&#038; oldChange > 0.0));</p>
<p>  oldValue = value;<br />
  oldChange = change;<br />
  delay(period);<br />
}</p>
<p> [attachment=148320,1502]</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193218</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193218</link>
					<pubDate>Tue, 07 Dec 2010 18:03:52 +0000</pubDate>
					<dc:creator>chrislaw</dc:creator>

					<description>
						<![CDATA[
						<p>ill check out the details you have posted now and hopefully come up with something, thanks</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193219</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193219</link>
					<pubDate>Tue, 07 Dec 2010 19:17:03 +0000</pubDate>
					<dc:creator>llumen</dc:creator>

					<description>
						<![CDATA[
						<p>what I suggest is that you take a look at the icubeX website (<a href="http://infusionsystems.com/catalog/" rel="nofollow">http://infusionsystems.com/catalog/</a>), they have heartbeat sensors that fit their system (but they fit arduino&#8217;s too). In any case are they normal adc sensors with a 0-1024 scale.   </p>
<p>They have maxpatches <a href="http://infusionsystems.com/catalog/product_info.php/products_id/197" rel="nofollow">http://infusionsystems.com/catalog/product_info.php/products_id/197</a> (look at software) that readout the full signal and turn it into BPM etc (very handy) </p>
<p>also, why don&#8217;t you use firmata on the arduino <a href="http://www.arduino.cc/playground/Interfacing/Firmata" rel="nofollow">http://www.arduino.cc/playground/Interfacing/Firmata</a> and maxuino <a href="http://www.maxuino.org/" rel="nofollow">http://www.maxuino.org/</a></p>
<p>all of this will make sure you can work on the fun stuff instead of the tedious stuff</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193220</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193220</link>
					<pubDate>Tue, 07 Dec 2010 22:41:24 +0000</pubDate>
					<dc:creator>chrislaw</dc:creator>

					<description>
						<![CDATA[
						<p>Hi. the heart rate monitor is a little out of my budget. Its good to struggle though as its an educational project. I have previously installed the maxuino library but im really sweating it trying to see the bigger picture of how to bring things together. My heart rate monitor does scale between 0- 1024 though. My previous patch above was the wrong one, here is the one im using to collect serial data.</p>
<p>int ledPin = 13;<br />
int sensorPin = 0;</p>
<p>double alpha = 0.75;<br />
int period = 20;<br />
double change = 0.0;</p>
<p>void setup()<br />
{<br />
 pinMode(ledPin, OUTPUT);<br />
 Serial.begin(115200);<br />
}</p>
<p>void loop()<br />
{<br />
 static double oldValue = 0;<br />
 static double oldChange = 0;<br />
 int rawValue =<br />
   analogRead(sensorPin);<br />
 double value = alpha * oldValue<br />
   + (1 &#8211; alpha) * rawValue;</p>
<p> Serial.print(rawValue);<br />
 Serial.print(&#8220;,&#8221;);<br />
 Serial.println(value);</p>
<p> oldValue = value;<br />
 delay(period);<br />
}</p>
<p>Brendans link above has a viable option although I have not got it working with my sketch yet.</p>
<p>max</p>
<p> {<br />
    &#8220;boxes&#8221; : [         {<br />
            "box" :             {<br />
                "maxclass" : "comment",<br />
                "text" : "GraphnnThis patch takes a string, containing ASCII formatted number from 0 to 1023, with a carriage return and linefeed at the end.  It converts the string to an integer and graphs it.nncreated 2006nby David A. Mellisnmodified 14 Apr 2009nby Scott Fitzgerald and Tom Igoe",<br />
                "linecount" : 10,<br />
                "patching_rect" : [ 479.0, 6.0, 344.0, 144.0 ],<br />
                &#8220;numoutlets&#8221; : 0,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;id&#8221; : &#8220;obj-32&#8243;,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;numinlets&#8221; : 1<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;newobj&#8221;,<br />
                &#8220;text&#8221; : &#8220;select 0 1&#8243;,<br />
                &#8220;patching_rect&#8221; : [ 327.0, 80.0, 62.0, 20.0 ],<br />
                &#8220;numoutlets&#8221; : 3,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;outlettype&#8221; : [ "bang", "bang", "" ],<br />
                &#8220;id&#8221; : &#8220;obj-30&#8243;,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;numinlets&#8221; : 1<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;comment&#8221;,<br />
                &#8220;text&#8221; : &#8220;click here to close the serial port&#8221;,<br />
                &#8220;patching_rect&#8221; : [ 412.0, 231.0, 206.0, 20.0 ],<br />
                &#8220;numoutlets&#8221; : 0,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;id&#8221; : &#8220;obj-26&#8243;,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;numinlets&#8221; : 1<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;comment&#8221;,<br />
                &#8220;text&#8221; : &#8220;click here to open the serial port&#8221;,<br />
                &#8220;patching_rect&#8221; : [ 412.0, 205.0, 206.0, 20.0 ],<br />
                &#8220;numoutlets&#8221; : 0,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;id&#8221; : &#8220;obj-27&#8243;,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;numinlets&#8221; : 1<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;message&#8221;,<br />
                &#8220;text&#8221; : &#8220;close&#8221;,<br />
                &#8220;patching_rect&#8221; : [ 327.0, 231.0, 39.0, 18.0 ],<br />
                &#8220;numoutlets&#8221; : 1,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;outlettype&#8221; : [ "" ],<br />
                &#8220;id&#8221; : &#8220;obj-21&#8243;,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;numinlets&#8221; : 2<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;message&#8221;,<br />
                &#8220;text&#8221; : &#8220;port a&#8221;,<br />
                &#8220;patching_rect&#8221; : [ 349.0, 205.0, 41.0, 18.0 ],<br />
                &#8220;numoutlets&#8221; : 1,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;outlettype&#8221; : [ "" ],<br />
                &#8220;id&#8221; : &#8220;obj-19&#8243;,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;numinlets&#8221; : 2<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;multislider&#8221;,<br />
                &#8220;candicane7&#8243; : [ 0.878431, 0.243137, 0.145098, 1.0 ],<br />
                &#8220;patching_rect&#8221; : [ 302.0, 450.0, 246.0, 167.0 ],<br />
                &#8220;contdata&#8221; : 1,<br />
                &#8220;numoutlets&#8221; : 2,<br />
                &#8220;peakcolor&#8221; : [ 0.498039, 0.498039, 0.498039, 1.0 ],<br />
                &#8220;slidercolor&#8221; : [ 0.066667, 0.058824, 0.776471, 1.0 ],<br />
                &#8220;candicane8&#8243; : [ 0.027451, 0.447059, 0.501961, 1.0 ],<br />
                &#8220;outlettype&#8221; : [ "", "" ],<br />
                &#8220;setminmax&#8221; : [ 0.0, 1023.0 ],<br />
                &#8220;settype&#8221; : 0,<br />
                &#8220;candicane6&#8243; : [ 0.733333, 0.035294, 0.788235, 1.0 ],<br />
                &#8220;setstyle&#8221; : 3,<br />
                &#8220;bgcolor&#8221; : [ 0.231373, 0.713726, 1.0, 1.0 ],<br />
                &#8220;id&#8221; : &#8220;obj-1&#8243;,<br />
                &#8220;candicane4&#8243; : [ 0.439216, 0.619608, 0.070588, 1.0 ],<br />
                &#8220;candicane5&#8243; : [ 0.584314, 0.827451, 0.431373, 1.0 ],<br />
                &#8220;candicane2&#8243; : [ 0.145098, 0.203922, 0.356863, 1.0 ],<br />
                &#8220;candicane3&#8243; : [ 0.290196, 0.411765, 0.713726, 1.0 ],<br />
                &#8220;numinlets&#8221; : 1<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;comment&#8221;,<br />
                &#8220;text&#8221; : &#8220;Click here to get a list of serial ports&#8221;,<br />
                &#8220;patching_rect&#8221; : [ 412.0, 179.0, 207.0, 20.0 ],<br />
                &#8220;numoutlets&#8221; : 0,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;id&#8221; : &#8220;obj-2&#8243;,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;numinlets&#8221; : 1<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;comment&#8221;,<br />
                &#8220;text&#8221; : &#8220;Here&#8217;s the number from Arduino&#8217;s analog input&#8221;,<br />
                &#8220;linecount&#8221; : 2,<br />
                &#8220;patching_rect&#8221; : [ 153.0, 409.0, 138.0, 34.0 ],<br />
                &#8220;numoutlets&#8221; : 0,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;id&#8221; : &#8220;obj-3&#8243;,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;numinlets&#8221; : 1<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;comment&#8221;,<br />
                &#8220;text&#8221; : &#8220;Convert ASCII to symbol&#8221;,<br />
                &#8220;patching_rect&#8221; : [ 379.0, 378.0, 147.0, 20.0 ],<br />
                &#8220;numoutlets&#8221; : 0,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;id&#8221; : &#8220;obj-4&#8243;,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;numinlets&#8221; : 1<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;comment&#8221;,<br />
                &#8220;text&#8221; : &#8220;Convert integer to ASCII&#8221;,<br />
                &#8220;patching_rect&#8221; : [ 379.0, 355.0, 147.0, 20.0 ],<br />
                &#8220;numoutlets&#8221; : 0,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;id&#8221; : &#8220;obj-5&#8243;,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;numinlets&#8221; : 1<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;number&#8221;,<br />
                &#8220;patching_rect&#8221; : [ 302.0, 414.0, 37.0, 20.0 ],<br />
                &#8220;numoutlets&#8221; : 2,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;outlettype&#8221; : [ "int", "bang" ],<br />
                &#8220;bgcolor&#8221; : [ 0.866667, 0.866667, 0.866667, 1.0 ],<br />
                &#8220;id&#8221; : &#8220;obj-6&#8243;,<br />
                &#8220;triscale&#8221; : 0.9,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;htextcolor&#8221; : [ 0.870588, 0.870588, 0.870588, 1.0 ],<br />
                &#8220;numinlets&#8221; : 1<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;newobj&#8221;,<br />
                &#8220;text&#8221; : &#8220;fromsymbol&#8221;,<br />
                &#8220;patching_rect&#8221; : [ 302.0, 378.0, 74.0, 20.0 ],<br />
                &#8220;numoutlets&#8221; : 1,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;outlettype&#8221; : [ "" ],<br />
                &#8220;id&#8221; : &#8220;obj-7&#8243;,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;color&#8221; : [ 1.0, 0.890196, 0.090196, 1.0 ],<br />
                &#8220;numinlets&#8221; : 1<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;newobj&#8221;,<br />
                &#8220;text&#8221; : &#8220;itoa&#8221;,<br />
                &#8220;patching_rect&#8221; : [ 302.0, 355.0, 46.0, 20.0 ],<br />
                &#8220;numoutlets&#8221; : 1,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;outlettype&#8221; : [ "int" ],<br />
                &#8220;id&#8221; : &#8220;obj-8&#8243;,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;color&#8221; : [ 1.0, 0.890196, 0.090196, 1.0 ],<br />
                &#8220;numinlets&#8221; : 3<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;newobj&#8221;,<br />
                &#8220;text&#8221; : &#8220;zl group 4&#8243;,<br />
                &#8220;patching_rect&#8221; : [ 302.0, 332.0, 64.0, 20.0 ],<br />
                &#8220;numoutlets&#8221; : 2,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;outlettype&#8221; : [ "", "" ],<br />
                &#8220;id&#8221; : &#8220;obj-9&#8243;,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;numinlets&#8221; : 2<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;newobj&#8221;,<br />
                &#8220;text&#8221; : &#8220;select 10 13&#8243;,<br />
                &#8220;patching_rect&#8221; : [ 244.0, 281.0, 77.0, 20.0 ],<br />
                &#8220;numoutlets&#8221; : 3,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;outlettype&#8221; : [ "bang", "bang", "" ],<br />
                &#8220;id&#8221; : &#8220;obj-10&#8243;,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;numinlets&#8221; : 1<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;toggle&#8221;,<br />
                &#8220;patching_rect&#8221; : [ 244.0, 43.0, 15.0, 15.0 ],<br />
                &#8220;numoutlets&#8221; : 1,<br />
                &#8220;outlettype&#8221; : [ "int" ],<br />
                &#8220;id&#8221; : &#8220;obj-11&#8243;,<br />
                &#8220;numinlets&#8221; : 1<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;newobj&#8221;,<br />
                &#8220;text&#8221; : &#8220;qmetro 10&#8243;,<br />
                &#8220;patching_rect&#8221; : [ 244.0, 80.0, 65.0, 20.0 ],<br />
                &#8220;numoutlets&#8221; : 1,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;outlettype&#8221; : [ "bang" ],<br />
                &#8220;id&#8221; : &#8220;obj-12&#8243;,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;numinlets&#8221; : 2<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;message&#8221;,<br />
                &#8220;text&#8221; : &#8220;print&#8221;,<br />
                &#8220;patching_rect&#8221; : [ 369.0, 179.0, 36.0, 18.0 ],<br />
                &#8220;numoutlets&#8221; : 1,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;outlettype&#8221; : [ "" ],<br />
                &#8220;id&#8221; : &#8220;obj-13&#8243;,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;numinlets&#8221; : 2<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;newobj&#8221;,<br />
                &#8220;text&#8221; : &#8220;serial a 9600&#8243;,<br />
                &#8220;patching_rect&#8221; : [ 244.0, 255.0, 84.0, 20.0 ],<br />
                &#8220;numoutlets&#8221; : 2,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;outlettype&#8221; : [ "int", "" ],<br />
                &#8220;id&#8221; : &#8220;obj-14&#8243;,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;numinlets&#8221; : 1<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;comment&#8221;,<br />
                &#8220;text&#8221; : &#8220;Read serial input buffer every 10 milliseconds&#8221;,<br />
                &#8220;linecount&#8221; : 2,<br />
                &#8220;patching_rect&#8221; : [ 53.0, 72.0, 185.0, 34.0 ],<br />
                &#8220;numoutlets&#8221; : 0,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;id&#8221; : &#8220;obj-15&#8243;,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;numinlets&#8221; : 1<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;comment&#8221;,<br />
                &#8220;text&#8221; : &#8220;If you get newline (ASCII 10), send the list. If you get return (ASCII 13) do nothing. Any other value, add to the list&#8221;,<br />
                &#8220;linecount&#8221; : 3,<br />
                &#8220;patching_rect&#8221; : [ 332.0, 269.0, 320.0, 48.0 ],<br />
                &#8220;numoutlets&#8221; : 0,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;id&#8221; : &#8220;obj-16&#8243;,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;numinlets&#8221; : 1<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;box&#8221; :             {<br />
                &#8220;maxclass&#8221; : &#8220;comment&#8221;,<br />
                &#8220;text&#8221; : &#8220;Click to open/close serial port and start/stop patch&#8221;,<br />
                &#8220;linecount&#8221; : 2,<br />
                &#8220;patching_rect&#8221; : [ 271.0, 32.0, 199.0, 34.0 ],<br />
                &#8220;numoutlets&#8221; : 0,<br />
                &#8220;fontsize&#8221; : 12.0,<br />
                &#8220;id&#8221; : &#8220;obj-17&#8243;,<br />
                &#8220;fontname&#8221; : &#8220;Arial&#8221;,<br />
                &#8220;numinlets&#8221; : 1<br />
            }</p>
<p>        }<br />
 ],<br />
    &#8220;lines&#8221; : [         {<br />
            "patchline" :           {<br />
                "source" : [ "obj-6", 0 ],<br />
                &#8220;destination&#8221; : [ "obj-1", 0 ],<br />
                &#8220;hidden&#8221; : 0,<br />
                &#8220;midpoints&#8221; : [  ]<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;patchline&#8221; :           {<br />
                &#8220;source&#8221; : [ "obj-7", 0 ],<br />
                &#8220;destination&#8221; : [ "obj-6", 0 ],<br />
                &#8220;hidden&#8221; : 0,<br />
                &#8220;midpoints&#8221; : [  ]<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;patchline&#8221; :           {<br />
                &#8220;source&#8221; : [ "obj-8", 0 ],<br />
                &#8220;destination&#8221; : [ "obj-7", 0 ],<br />
                &#8220;hidden&#8221; : 0,<br />
                &#8220;midpoints&#8221; : [  ]<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;patchline&#8221; :           {<br />
                &#8220;source&#8221; : [ "obj-9", 0 ],<br />
                &#8220;destination&#8221; : [ "obj-8", 0 ],<br />
                &#8220;hidden&#8221; : 0,<br />
                &#8220;midpoints&#8221; : [  ]<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;patchline&#8221; :           {<br />
                &#8220;source&#8221; : [ "obj-10", 0 ],<br />
                &#8220;destination&#8221; : [ "obj-9", 0 ],<br />
                &#8220;hidden&#8221; : 0,<br />
                &#8220;midpoints&#8221; : [ 253.5, 308.0, 311.5, 308.0 ]<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;patchline&#8221; :           {<br />
                &#8220;source&#8221; : [ "obj-10", 2 ],<br />
                &#8220;destination&#8221; : [ "obj-9", 0 ],<br />
                &#8220;hidden&#8221; : 0,<br />
                &#8220;midpoints&#8221; : [ 311.5, 320.0, 311.5, 320.0 ]<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;patchline&#8221; :           {<br />
                &#8220;source&#8221; : [ "obj-14", 0 ],<br />
                &#8220;destination&#8221; : [ "obj-10", 0 ],<br />
                &#8220;hidden&#8221; : 0,<br />
                &#8220;midpoints&#8221; : [  ]<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;patchline&#8221; :           {<br />
                &#8220;source&#8221; : [ "obj-12", 0 ],<br />
                &#8220;destination&#8221; : [ "obj-14", 0 ],<br />
                &#8220;hidden&#8221; : 0,<br />
                &#8220;midpoints&#8221; : [  ]<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;patchline&#8221; :           {<br />
                &#8220;source&#8221; : [ "obj-11", 0 ],<br />
                &#8220;destination&#8221; : [ "obj-12", 0 ],<br />
                &#8220;hidden&#8221; : 0,<br />
                &#8220;midpoints&#8221; : [  ]<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;patchline&#8221; :           {<br />
                &#8220;source&#8221; : [ "obj-13", 0 ],<br />
                &#8220;destination&#8221; : [ "obj-14", 0 ],<br />
                &#8220;hidden&#8221; : 0,<br />
                &#8220;midpoints&#8221; : [ 378.5, 200.5, 253.5, 200.5 ]<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;patchline&#8221; :           {<br />
                &#8220;source&#8221; : [ "obj-19", 0 ],<br />
                &#8220;destination&#8221; : [ "obj-14", 0 ],<br />
                &#8220;hidden&#8221; : 0,<br />
                &#8220;midpoints&#8221; : [ 358.5, 228.5, 253.5, 228.5 ]<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;patchline&#8221; :           {<br />
                &#8220;source&#8221; : [ "obj-21", 0 ],<br />
                &#8220;destination&#8221; : [ "obj-14", 0 ],<br />
                &#8220;hidden&#8221; : 0,<br />
                &#8220;midpoints&#8221; : [ 336.5, 251.5, 253.5, 251.5 ]<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;patchline&#8221; :           {<br />
                &#8220;source&#8221; : [ "obj-30", 0 ],<br />
                &#8220;destination&#8221; : [ "obj-21", 0 ],<br />
                &#8220;hidden&#8221; : 0,<br />
                &#8220;midpoints&#8221; : [  ]<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;patchline&#8221; :           {<br />
                &#8220;source&#8221; : [ "obj-30", 1 ],<br />
                &#8220;destination&#8221; : [ "obj-19", 0 ],<br />
                &#8220;hidden&#8221; : 0,<br />
                &#8220;midpoints&#8221; : [  ]<br />
            }</p>
<p>        }<br />
 ,      {<br />
            &#8220;patchline&#8221; :           {<br />
                &#8220;source&#8221; : [ "obj-11", 0 ],<br />
                &#8220;destination&#8221; : [ "obj-30", 0 ],<br />
                &#8220;hidden&#8221; : 0,<br />
                &#8220;midpoints&#8221; : [ 253.0, 71.0, 336.5, 71.0 ]<br />
            }</p>
<p>        }<br />
 ]<br />
 }</p>
<p>arduino</p>
<p>void setup() {<br />
  // initialize the serial communication:<br />
  Serial.begin(9600);<br />
}</p>
<p>void loop() {<br />
  // send the value of analog input 0:<br />
  Serial.println(analogRead(A0));<br />
  // wait a bit for the analog-to-digital converter<br />
  // to stabilize after the last reading:<br />
  delay(10);<br />
}</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193221</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193221</link>
					<pubDate>Sun, 12 Dec 2010 05:51:20 +0000</pubDate>
					<dc:creator>chrislaw</dc:creator>

					<description>
						<![CDATA[
						<p>This paart of the project is now up and running. Thanks brendan for that link. The serial data from the arduino can now be indeed be translated into a graph using the the patch found at <a href="http://arduino.cc/en/Tutorial/Graph" rel="nofollow">http://arduino.cc/en/Tutorial/Graph</a>. I am now looking to analyse the graph for peaks and use this to drive the speed of a sound file (containing the sound of waves hitting the beach) within the Max/ Msp patch. My project will be completed and handed into university by the 17th and I will publish my entire project on the forum. Its only a creative beginners project but hopefully someone may find something of interest. In the mean time, anyone who can help us with the task in hand please add a post. Thanks to everyone on the forum, your all stars</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193222</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193222</link>
					<pubDate>Sun, 12 Dec 2010 14:07:25 +0000</pubDate>
					<dc:creator>n00b_meister</dc:creator>

					<description>
						<![CDATA[
						<p>&#8220;I am now looking to analyse the graph for peaks and use this to drive the speed of a sound file (containing the sound of waves hitting the beach) within the Max/ Msp patch&#8221;</p>
<p>Is this the remaining task you need help with? How do you wish to apply the data peaks, as a discrete trigger or continuous control value?</p>
<p>Here is a quick mock-up of how to evaluate peaks, and extract control data for playback speed; there are better (more aesthetic) ways to do this, this is a demo of the kind of thing you can easily do in Max:</p>
<p>
<div><span id="toggle193222-0" class="patchtoggle" onmousedown="toggleMaxPatch('post193222-0', 'er193222-0');">&#8211; Pasted Max <span id="maxversion193222-0"></span> Patch, click to <span id="er193222-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="text=----------begin_max5_patcher----------%0A2592.3oc6c87qihiD9bFo4%2BATNs6nrQ1Fa9wpQizbeOrRqzdo0nVDvIOll.Q%0Afya5dFs8e6KXSR.hM3jWRvj26BIwPvU8YWe1tJSwe8i%2Bvr4qx9JsXt0%2Bz5SV%0Ayl8WkkLiWVUIyNTvr4aC9ZXRPA%2BBmukVTDrgNeQ8IYzux3mvd4wxhi3kjs52%0A%2BGH2iktKfE9Rb5lOmSCYhJ0FYuDrvx1Ew%2B.sjrvB5sDX8aG9So62FmlPY7JG%0A0nzr8rCECOT75rTVZvVJu1%2Buz7nfzfiUu3Ov91NpntmO%2BTsT8GKh%2BS9Yfvk.%0Adw%2Bue7Gp9r7iEuczArzUJ73zG7fvdB3A9rCOvkHovCoO3A5Bd2.ORQGbeniO%0AQ.N1OIfSJ8OJU5ywlh3MeWJ5f5suiMGdv0DP7ef.JgG3MEdJE4zfjGZOnjrr%0AckhqUAKHmU8CoPFrWHiHfLet4FDH93YrKURVPzpfzMxvHnuNXjCe.MG3CsaE%0AWjuCvTX11szT143TXRb3Wr1dp6VRbJMLaeJqU6eSzq2dX9tU3ke0AWb0QxEC%0Ac.sftJMHLKIKWTufk9.hmGZQ42.PhimSyuAaJCqy2r5x%2BSkxx5fP5YssGadp%0AFmut7UaZIYDrOfWGNUUFl%2BM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Z1qUjxIuqY5Jg%0Akd8yP6Umoqz3tbuyzUv2VltpSawG42pOcW1U%2B4Aa2UrMKi8x2qdx.A.wQkOJ%0AHP81qw0OIHPG221l7W8SiY29GyzIIlK0n8g9TTDrp36JAWM2H20OhI192vGw%0AjIC1xGYtMDVJIcrZloHQPO.tJlC4ojXxsNyEbI35hyFsouQbD.UVjfj5g1i9%0AmJINJGZQUmZW8v95ThKg71v9mN9heRIagil.qqyoWtFe.rMF3KMprm6RWkOw%0AQZhuBZXGm2ijwChu.03KVymdm5jRxG.bG.N7agITkrC1Z93pBEIjDr66Pd29%0AeXifCm2QDYxdB3o5YMRau3CMyc4u1gRzPikq1OjEl4VRR6PnXlAh9RPeCLDb%0AZGAKyLHtxnTTP9XlajAOc2IIPrwGAwy7.2ft46hha3Y292bzBg2hnER%2BynfP%0Aour958kplvW%2BhTAOlb33k8Vm6M7J0qDghKRhijGzBjF9SGVmFa.74Y64ObPK%0AJnrxhKkiFdPFVkJja8GkEWiyew4sn0KOux6bA6aBuwZe0fhZ7.pAd3Kzm5rT%0AxMLjamGWJwct8r3pUwtDPGTzye3LaQmnhzoMquDBGEjMRgeskstUqhMEhykJ%0AbPeGtSMDu2bf.xwecSD6pWDKV1CJ1iBjxkMzPxFY7jM3Pxl83IaCam3Zv1Ic%0Aa5ePBWWyydDtQ.4.ZKbvGuvQzpO23.b5HZnwQz70R1FGbCoEvMNC2hPlqr0k%0AYUQi53vhXqkrMNCppEGBxYTjMsFSEMNiohzS3FGJNsFu2%2BhmVLFWMQXhXoKX%0AD37eI1WPG95sAnIFLPibLYgy8AIbUET9w%2BGv2birq%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post193222-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode193222-0">----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0fhZ7.pAd3Kzm5rT
xMLjamGWJwct8r3pUwtDPGTzye3LaQmnhzoMquDBGEjMRgeskstUqhMEhykJ
bPeGtSMDu2bf.xwecSD6pWDKV1CJ1iBjxkMzPxFY7jM3Pxl83IaCam3Zv1Ic
a5ePBWWyydDtQ.4.ZKbvGuvQzpO23.b5HZnwQz70R1FGbCoEvMNC2hPlqr0k
YUQi53vhXqkrMNCppEGBxYTjMsFSEMNiohzS3FGJNsFu2+hmVLFWMQXhXoKX
D37eI1WPG95sAnIFLPibLYgy8AIbUET9w+Gv2birq
-----------end_max5_patcher-----------</code></pre></div>
</div>
</p><p>Brendan</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193223</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193223</link>
					<pubDate>Sun, 12 Dec 2010 15:04:58 +0000</pubDate>
					<dc:creator>n00b_meister</dc:creator>

					<description>
						<![CDATA[
						<p>ps</p>
<p>there is a valuable object called [past] which, imo, may work more intuitively than [peak] or [maximum] in this context</p>
<p>
<div><span id="toggle193223-0" class="patchtoggle" onmousedown="toggleMaxPatch('post193223-0', 'er193223-0');">&#8211; Pasted Max <span id="maxversion193223-0"></span> Patch, click to <span id="er193223-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.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fKbQ.GzHlyKxhAGFXyfCZ%0AwfCY0LGZYhs5YjAAxlsVWnrRLJBgmMqy4sLVqHiB7ir4HDnkIBAxn74PKiAg%0AQ1CKjiDhIXagrFLBZ%2B2MFZZP93eQHdbaA%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post193223-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode193223-0">----------begin_max5_patcher----------
1551.3oc0ZsriihCEccZo9e.wxVYJYar4wrX9IFoYSqVkLfqTdJdDANUWc2Z
pu8wXCIPBj3jIE3YSHxOO2iuu7E90m+zJ23x2X0tN+tyWcVs5WxVVoZqokUc
MrxMm9VRFsVMP2B12Ki+a20s8IXuITsWyxbf6adKUj7LuXyiUrDgdCvQfG.q
c77hTOBZ9EIax4acSpbmHiID+XKSOC2XZwF20NttGFySkEhBZtZDt+EqJkVP
2uqE6x4ExkPgTzdrTwpYEBpfWVzCOA.nBHDTyCP6OC2oZ9OU6DrYnssySU6s
jD9MBr+VqguduUs9Oe9SMOkOVOCzqGzpnWebfld8tc5EXOzqWfcQujPeM8Rt
Y5EGYQzKzaYnWS3ov6NOEuSHJKLwaYfx6j29euDgbn+AxKbL4xaB4B9QJWst
o9HkK7BHWc9G9HkKxRHWsFlejxUvcWtlxOze3.Q.SL6TtBbvXC7CwKDe3tf7
hlQJJBXhALDZrm54fgvfYjgH.SbEXaLDbNMy.l3Tw1XHzB3fEAv5LeBuuNXm
HuwPnNsb7D25ouSGzrovrkVKtjq4NhRqzPhLMEwaQqAdM9lWhznfXxbp0DPz
6C16xZMf4Uq47Qq53oVkFj0nz.W.klvYUmwOpUmAeQcFT37pyb932g1oJCJZ
IhNELqpLXfwpLdybvIfAzj0oxb+8EmTlmKO4NkkRx3Iu3Hkftdx3Erjxc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tV
hUwOzEJ0qWiRQVhnd0RF17x.uhO+Qzc+UPXLen+XGgsuvxy+dculunSS+3Fz
K4vr3ZEwi8.0Inml0yP+IS30AOL77Hdblvayn7uwfq4617xf6XQXl.GAXDyg
WDvgMBbGKByE3L5XESVFvYlAQzx.tPi.Wvx.NjQfKbQ.GzHlyKxhAGFXyfCZ
wfCY0LGZYhs5YjAAxlsVWnrRLJBgmMqy4sLVqHiB7ir4HDnkIBAxn74PKiAg
Q1CKjiDhIXagrFLBZ+2MFZZP93eQHdbaA
-----------end_max5_patcher-----------</code></pre></div>
</div>
</p><p>Brendan</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193224</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193224</link>
					<pubDate>Sun, 12 Dec 2010 22:28:59 +0000</pubDate>
					<dc:creator>chrislaw</dc:creator>

					<description>
						<![CDATA[
						<p>Hey Brendan, in response to your post,&#8221;discrete trigger or continuous control value&#8221;; i&#39;m not entirely sure. I&#39;m thinking it would be a discrete trigger as I am using a prerecorded audio file. Ive taking some screen shots to show you what i have been up to. My first problem has been the graph patches interpretation of the wave. The serial data enters the patch as two values; the raw value and the value (check arduino sketch, 5th post). This is separated by a delimiter(,). Pic 1 shows how a used a 2 axis graph to display the heart beat using a spread sheet.<br />
This led me to look at max basics tutorials, Data 2. I was trying to incorporate the part of the patch showing in pic2 so that the patch could read the .wav file and display it to the full potential in the graph by using the Peak and Trough objects to Analyse the beats range of values, adapting the graph to only show the minimum and maximum values ignoring those out of range. This would let me see what was going on better.<br />
Pic 3 shows how i have added your patch which is working with the audio file, I&#39;m so happy. I guess I just need to adjust the button argument values which are triggered to control the rate. Is that what the patch is doing? I really need to fix my graph readings. This is a massive help. I think ones I fix my incoming serial data for the graph and make a few tweaks to the values I will be up and running with this. Having thought this through discrete values would be fine.<br />
thanks Brendan for all your help</p>
<p> [attachment=148896,1531] [attachment=148896,1532]</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193225</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193225</link>
					<pubDate>Sun, 12 Dec 2010 22:40:34 +0000</pubDate>
					<dc:creator>chrislaw</dc:creator>

					<description>
						<![CDATA[
						<p>this is the 3rd pic as i could only load 2 pictures at a time.<br />
Also the serial data prints as in the txt file,</p>
<p> [attachment=148897,1533]</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193226</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193226</link>
					<pubDate>Sun, 12 Dec 2010 22:56:47 +0000</pubDate>
					<dc:creator>chrislaw</dc:creator>

					<description>
						<![CDATA[
						<p></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193227</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193227</link>
					<pubDate>Sun, 12 Dec 2010 23:20:10 +0000</pubDate>
					<dc:creator>chrislaw</dc:creator>

					<description>
						<![CDATA[
						<p>The first patch is for pic 2 left hand side and the 2nd is for pic 3.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193228</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193228</link>
					<pubDate>Mon, 13 Dec 2010 00:24:37 +0000</pubDate>
					<dc:creator>chrislaw</dc:creator>

					<description>
						<![CDATA[
						<p>sorry about this, patch one seems to be crashing my computer as i pasted some patches together without thinking and Im getting some sort of conflict disabling my keyboard and stalling Max. Don&#8217;t open it, thanks</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193229</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193229</link>
					<pubDate>Mon, 13 Dec 2010 01:36:19 +0000</pubDate>
					<dc:creator>chrislaw</dc:creator>

					<description>
						<![CDATA[
						<p>this is the max window</p>
<p> [attachment=148910,1538]</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193230</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193230</link>
					<pubDate>Mon, 13 Dec 2010 02:17:36 +0000</pubDate>
					<dc:creator>chrislaw</dc:creator>

					<description>
						<![CDATA[
						<p>Im looking at 3 things at the moment. 1.Is the multislider capable of displaying this data<br />
2. are the two values in each line in the serial data x, Y coordinates<br />
3. How can I change the patch to recognise two values in the same line separated by the delimiter (,), and how can I graph them</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193231</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193231</link>
					<pubDate>Mon, 13 Dec 2010 02:53:28 +0000</pubDate>
					<dc:creator>chrislaw</dc:creator>

					<description>
						<![CDATA[
						<p>I modified the arduino sketch by deleting two of the lines;</p>
<p>int sensorPin = 0;</p>
<p>double alpha = 0.9;<br />
int period = 20;<br />
double change = 0.0;</p>
<p>void setup()<br />
{<br />
  Serial.begin(115200);<br />
}</p>
<p>void loop()<br />
{<br />
  static double oldValue = 0;<br />
  static double oldChange = 0;<br />
  int rawValue =<br />
    analogRead(sensorPin);<br />
    // smoothing operation<br />
  double value = alpha * oldValue<br />
    + (1 &#8211; alpha) * rawValue;<br />
  // the following two lines were removed<br />
  //Serial.print(rawValue);<br />
  //Serial.print(&#8220;,&#8221;);<br />
  //The last line was kept but now prints out<br />
  //the rawValue,<br />
  Serial.println(rawValue);</p>
<p>  oldValue = value;<br />
  delay(period);<br />
}</p>
<p>This makes the input compatible with the MAx/Msp patch which expects one value per line. Ive figured there was no need for the other printed values. I  keep the raw value and it seems to be working to some degree of success although further calibration of the alpha value is needed. Hope I dont get into trouble for posting to much here, lol, its turning into a blogg</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193232</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193232</link>
					<pubDate>Wed, 15 Dec 2010 01:07:34 +0000</pubDate>
					<dc:creator>chrislaw</dc:creator>

					<description>
						<![CDATA[
						<p>Hi, the problem im facing is that the out put from the multislider is measuring the peak amplitude of the waves while I need to measure the frequency. Does anyone know how I could approach this dilemma? Im sure there has to be something in MSP, some sort of counter</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193233</guid>
					<title><![CDATA[Re: Drw wave with serial data from Ardino, analyse with Max/msp]]></title>
					<link>http://cycling74.com/forums/topic/drw-wave-with-serial-data-from-ardino-analyse-with-maxmsp/#post-193233</link>
					<pubDate>Fri, 14 Jan 2011 00:53:59 +0000</pubDate>
					<dc:creator>George Khut</dc:creator>

					<description>
						<![CDATA[
						<p>Hi all</p>
<p>Interesting thread. I know the initial call was a few months ago now, but this is a recurring area on this forum, so I thought I&#8217;d share my own recent work, using Pulse Oximenters with Arduino FIO, Xbee etc.</p>
<p>You can download the collective and a sample data file via my blog</p>
<p><a href="http://georgekhut.com/2011/01/heart-and-breath-sensing-w-max-msp/" rel="nofollow">http://georgekhut.com/2011/01/heart-and-breath-sensing-w-max-msp/</a></p>
<p>It uses Pulse and Breath data measured by GP-4u PPG and GP-Resp (purchased from Dr. Philip Brotman, Allied Products/Biofeedback Instrument Corp, and manufactured by J&#038;J Engineering).</p>
<p>The sensors are connected to two Arduino FIO’s, and this data is transmitted to my Mac using XBee based Zigbee wireless connection. The Max patch includes the Arduino code for both the Breath sensor and Pulse sensor (they are different!).</p>
<p>I use the “dot.schmitt” schmitt trigger object by Joseph Malloch, Stephen Sinclair, and Marlon Schumacher, to determine beats and inter beat intervals, then extract various parameters from there…</p>
<p>I&#8217;m still looking for help to implement Frequency Domain (LOMB) analysis of the heart RATE variations… any suggestions?</p>
<p>Hope its useful to other exploring this area. Always happy to discuss issues, opportunities etc.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

