<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Controlling moving light pan with Myo (joy and problems)]]></title><description><![CDATA[<p dir="auto">Dear collective wisdom,</p>
<div>I am trying to control a moving light with Myo through a max patch that transforms a dancer movement into light movement. When the dancer starts rotating th light does it too. Everything is fine but I have a problem that also happens with a infinite rotation potentiometer. When the dancer slowly turns Myo orientation values go from 0 to 127 (a full tour on himself) and the light does the same. But if the dancer wants to go on rotating in the same directions values go back to 0 and the light.... also comes back quickly to the initial position.</div>
<div>Any idea on how to solve this?</div>
<div>Thanks</div>]]></description><link>https://community.troikatronix.com/topic/3096/controlling-moving-light-pan-with-myo-joy-and-problems</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 17:35:33 GMT</lastBuildDate><atom:link href="https://community.troikatronix.com/topic/3096.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 24 Jan 2017 19:50:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Controlling moving light pan with Myo (joy and problems) on Mon, 20 Mar 2017 18:20:21 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/6">@Armando</a> - Yes, yes, yes (i uploaded the patch when that feature of the new forum wasn't working)</p><p>here it is, let me know if it works for you,</p><p>all the best,</p><p>john</p><p><a href="/uploads/files/1490033964966-myo-joystick-control.izz">OSC joystick</a><br /></p>]]></description><link>https://community.troikatronix.com/post/22821</link><guid isPermaLink="true">https://community.troikatronix.com/post/22821</guid><dc:creator><![CDATA[dbini]]></dc:creator><pubDate>Mon, 20 Mar 2017 18:20:21 GMT</pubDate></item><item><title><![CDATA[Reply to Controlling moving light pan with Myo (joy and problems) on Sun, 19 Mar 2017 19:56:55 GMT]]></title><description><![CDATA[<p>Hello <a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/229">@dbini</a></p><p>thanks for the hint. Is there a patch to understand well? Can't see it</p><p>Thanks</p>]]></description><link>https://community.troikatronix.com/post/22817</link><guid isPermaLink="true">https://community.troikatronix.com/post/22817</guid><dc:creator><![CDATA[Armando]]></dc:creator><pubDate>Sun, 19 Mar 2017 19:56:55 GMT</pubDate></item><item><title><![CDATA[Reply to Controlling moving light pan with Myo (joy and problems) on Mon, 13 Mar 2017 18:50:21 GMT]]></title><description><![CDATA[<p>I've been working on how to solve this problem and have come up with something I think may be useful to share. The Macro in here converts OSC from the MYO into joystick control that outputs a constant signal if the MYO is moving, but nothing if it is still. I've included a counter to be able to convert this signal back into numerical data, if that is necessary. It gives a nice, organic ramping to the data and can cope with the data thresholds.</p><p>John</p>]]></description><link>https://community.troikatronix.com/post/22665</link><guid isPermaLink="true">https://community.troikatronix.com/post/22665</guid><dc:creator><![CDATA[dbini]]></dc:creator><pubDate>Mon, 13 Mar 2017 18:50:21 GMT</pubDate></item><item><title><![CDATA[Reply to Controlling moving light pan with Myo (joy and problems) on Thu, 26 Jan 2017 03:09:35 GMT]]></title><description><![CDATA[<p dir="auto">Thanks a lot folks. I think that Jacques has a solution but I don't have the light any more now. As soon as I have it again. What encoders are you referring too Jacques?</p>
]]></description><link>https://community.troikatronix.com/post/22637</link><guid isPermaLink="true">https://community.troikatronix.com/post/22637</guid><dc:creator><![CDATA[Armando]]></dc:creator><pubDate>Thu, 26 Jan 2017 03:09:35 GMT</pubDate></item><item><title><![CDATA[Reply to Controlling moving light pan with Myo (joy and problems) on Wed, 25 Jan 2017 12:23:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/6">@Armando</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/229">@dbini</a> @ DusX</p>
<div>I think I understand your problem. The problem is you have to increment the output with 100 when you pass 0 in positive way and decrease it by 100 when you pass 0 in negative way to avoid the gap, so you need to know the instant speed.</div>
<div>I made a quick (working) proposition, it would be much easier in Python :-) less in javascript because you cannot easily manage real time inside the script.</div>
<div>Here is the patch and the screen capture.</div>
<div>PS that's the reason because I use encoders instead of infinite potentiometer, you know instantly in which side you are rotating.</div>
<div>Hope that helps,</div>
<div>Jacques</div>
<p dir="auto"><img src="/uploads/files/FileUpload/ae/1c2d0c-armandocounter.jpg" alt="1c2d0c-armandocounter.jpg" class=" img-responsive img-markdown" /> <a href="/uploads/files/FileUpload/2c/84d3c6-forarmando.izz">84d3c6-forarmando.izz</a></p>
]]></description><link>https://community.troikatronix.com/post/22633</link><guid isPermaLink="true">https://community.troikatronix.com/post/22633</guid><dc:creator><![CDATA[jhoepffner]]></dc:creator><pubDate>Wed, 25 Jan 2017 12:23:36 GMT</pubDate></item><item><title><![CDATA[Reply to Controlling moving light pan with Myo (joy and problems) on Wed, 25 Jan 2017 10:22:47 GMT]]></title><description><![CDATA[<p dir="auto">Armando,</p>
<div>I cannot understand exactly where is your problem? Can you give what is the Myo output and what do you need for numbers?</div>
<div>Jacques</div>]]></description><link>https://community.troikatronix.com/post/22631</link><guid isPermaLink="true">https://community.troikatronix.com/post/22631</guid><dc:creator><![CDATA[jhoepffner]]></dc:creator><pubDate>Wed, 25 Jan 2017 10:22:47 GMT</pubDate></item><item><title><![CDATA[Reply to Controlling moving light pan with Myo (joy and problems) on Wed, 25 Jan 2017 06:52:50 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/124">@DusX</a> and <a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/6">@Armando</a>:</p>
<div>I found a solution, using Ryan's ramping idea - this gives a particular outcome that is smooth, but half the time, the output doesn't correlate with the input.</div>
<div>is there a way of patching something so that an increasing input gives an increasing output, ignoring the jump back to zero, and a decreasing input gives a decreasing output, ignoring the jump back to 127? I can't get my head around it. ;)</div>
<div>John</div>
<p dir="auto"><img src="/uploads/files/FileUpload/b3/d21f52-ramping-myo-patch.jpg" alt="d21f52-ramping-myo-patch.jpg" class=" img-responsive img-markdown" /></p>
]]></description><link>https://community.troikatronix.com/post/22628</link><guid isPermaLink="true">https://community.troikatronix.com/post/22628</guid><dc:creator><![CDATA[dbini]]></dc:creator><pubDate>Wed, 25 Jan 2017 06:52:50 GMT</pubDate></item><item><title><![CDATA[Reply to Controlling moving light pan with Myo (joy and problems) on Wed, 25 Jan 2017 06:15:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/124">@DusX</a> - this problem has also been confusing me for a while now. with your advice, I think I can build a solution. Thanks Ryan.</p>
<div>John</div>]]></description><link>https://community.troikatronix.com/post/22627</link><guid isPermaLink="true">https://community.troikatronix.com/post/22627</guid><dc:creator><![CDATA[dbini]]></dc:creator><pubDate>Wed, 25 Jan 2017 06:15:20 GMT</pubDate></item><item><title><![CDATA[Reply to Controlling moving light pan with Myo (joy and problems) on Tue, 24 Jan 2017 21:35:29 GMT]]></title><description><![CDATA[<p dir="auto">you are mapping an up ramp, but no down ramp.</p>
<div>You need to map range X to the Up (0 to 127) and range Y to Down(127 to 0)</div>
<div>Setup so that X and Y ranges alternate at the thresholds.</div>]]></description><link>https://community.troikatronix.com/post/22625</link><guid isPermaLink="true">https://community.troikatronix.com/post/22625</guid><dc:creator><![CDATA[DusX]]></dc:creator><pubDate>Tue, 24 Jan 2017 21:35:29 GMT</pubDate></item></channel></rss>