<?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[XY Slider, controls two variables at once]]></title><description><![CDATA[<p>I made a little tool for controlling two variables at once on a coordinate system, a bit like the controller of a Chaos pad. This might be useful for those looking to make advanced GUI designs.</p>
<p>It's very easy to use--basically the same as a regular hsl, except that the output is a list. Hold down the SHIFT key to move just one variable, and CTL key to jump to a position. (Presumably this won't work on a mac--you'll have to change the key selection in the [route] in the main patch). Use creation arguments to set the limits, and to turn off colour fading, if desired.</p>
<p>I hope you enjoy it!</p>
<p><a href="/uploads/upload-16c4de12-b09b-44e3-bce7-207a0cb38904.zip">xyslide.zip</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 22:50:09 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/8656.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 25 Sep 2014 17:42:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to XY Slider, controls two variables at once on Thu, 25 Sep 2014 17:42:30 GMT]]></title><description><![CDATA[<p>I made a little tool for controlling two variables at once on a coordinate system, a bit like the controller of a Chaos pad. This might be useful for those looking to make advanced GUI designs.</p>
<p>It's very easy to use--basically the same as a regular hsl, except that the output is a list. Hold down the SHIFT key to move just one variable, and CTL key to jump to a position. (Presumably this won't work on a mac--you'll have to change the key selection in the [route] in the main patch). Use creation arguments to set the limits, and to turn off colour fading, if desired.</p>
<p>I hope you enjoy it!</p>
<p><a href="/uploads/upload-16c4de12-b09b-44e3-bce7-207a0cb38904.zip">xyslide.zip</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once</guid><dc:creator><![CDATA[LiamG]]></dc:creator><pubDate>Thu, 25 Sep 2014 17:42:30 GMT</pubDate></item><item><title><![CDATA[Reply to XY Slider, controls two variables at once on Thu, 25 Sep 2014 18:53:07 GMT]]></title><description><![CDATA[<blockquote>
<p>I hope you enjoy it!</p>
</blockquote>
<p>I do!</p>
<p><img src="/uploads/upload-672e6882-28bb-4411-9110-44fd36b101ec.jpg" alt="xy.jpg" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once/2</guid><dc:creator><![CDATA[EEight]]></dc:creator><pubDate>Thu, 25 Sep 2014 18:53:07 GMT</pubDate></item><item><title><![CDATA[Reply to XY Slider, controls two variables at once on Thu, 25 Sep 2014 23:43:05 GMT]]></title><description><![CDATA[<p>This is fantastic, thanks for sharing!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once/3</guid><dc:creator><![CDATA[gsagostinho]]></dc:creator><pubDate>Thu, 25 Sep 2014 23:43:05 GMT</pubDate></item><item><title><![CDATA[Reply to XY Slider, controls two variables at once on Sat, 27 Sep 2014 10:39:35 GMT]]></title><description><![CDATA[<p>thanks. very useful.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once/4</guid><dc:creator><![CDATA[antonwoldhek]]></dc:creator><pubDate>Sat, 27 Sep 2014 10:39:35 GMT</pubDate></item><item><title><![CDATA[Reply to XY Slider, controls two variables at once on Sat, 27 Sep 2014 10:41:14 GMT]]></title><description><![CDATA[<p>btw the ctrl &amp; shift modifiers do not work for me on pd-extended win32.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once/5</guid><dc:creator><![CDATA[antonwoldhek]]></dc:creator><pubDate>Sat, 27 Sep 2014 10:41:14 GMT</pubDate></item><item><title><![CDATA[Reply to XY Slider, controls two variables at once on Sat, 27 Sep 2014 10:47:08 GMT]]></title><description><![CDATA[<p>For me (Linux 64-bit), the Ctrl modifier is quite buggy. I can't simply click in the position I want, I have to click and drag the mouse for a few pixels around before releasing, else nothing happens. Shift modifier works pretty well.</p>
<p>And one more problem that I found recently: after creating [xysl], if I move it somewhere else by clicking and dragging it, the object keeps changing the x and y positions (and feeding them to Pd). The same is not true when moving it via the keyboard arrows.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once/6</guid><dc:creator><![CDATA[gsagostinho]]></dc:creator><pubDate>Sat, 27 Sep 2014 10:47:08 GMT</pubDate></item><item><title><![CDATA[Reply to XY Slider, controls two variables at once on Mon, 29 Sep 2014 10:25:07 GMT]]></title><description><![CDATA[<p>Thanks for pointing out these bugs.</p>
<p><strong>Anton</strong><br />
Do you have the Zexy library installed? There's a [zl rev] object in the main window that might be giving you trouble. Otherwise, it might be that the [iemguts] object, which receives all information sent to the canvas, gives a different output on windows than it does in Linux (my OS). To test this, make the following patch:</p>
<p>[iemguts/receivecanvas 0]<br />
|<br />
|<br />
[print]</p>
<p>Press the control and shift buttons and see what you get. I get:</p>
<p>key 1 Control_L 0      = left control button pressed<br />
key 0 Control_L 0     = left control button depressed<br />
key 1 Shift_L 0          = left shift button pressed<br />
key 0 Shift_L 1 = left shift button depressed</p>
<p>and correspondingly with the right buttons.</p>
<p>If you get a different message, you'll have to adjust the code accordingly. This is set in the route object in the main window, which looks like this:</p>
<p>[route Control_L Control_R Shift_R Shift_L]</p>
<p>The objects above it, including the aforementioned [zl rev], might also need altering.</p>
<p><strong>gsagostinho</strong>:</p>
<p>I can't think what your CTRL problem is, especially because this is the simplest move function out of the three. Could it also a problem with the CTRL button being read differently by [iemguts]? This function is in the [pd mover3] subpatch, if you want to take a look.</p>
<p>As for your first problem, that the bars change when the object moves, I have noticed this also recently, but only under certain circumstances. For me it only happens when I switch to a different Ubuntu workspace, and then try to move the xysl canvas. I also find that scrolling the slider once resets this, so that I can move it normally again. Does it work like that for you, or do you get this problem every time you try to move the object?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once/7</guid><dc:creator><![CDATA[LiamG]]></dc:creator><pubDate>Mon, 29 Sep 2014 10:25:07 GMT</pubDate></item><item><title><![CDATA[Reply to XY Slider, controls two variables at once on Mon, 29 Sep 2014 15:27:55 GMT]]></title><description><![CDATA[<p>Hi Liam,</p>
<p>Thanks for your reply. I cannot create the object <strong>[iemguts]</strong> on my system, nor it is present in <strong>[pd mover3]</strong>. I just made some new experiments with your object, and it turns out that I always have to hold Ctrl, click and then move at least 1 single pixel in any direction in order to be able to use this function on my system.</p>
<p>As for the other problem (moving axes when dragging your object), for me it happens all the time, not only under the circumstances you mentioned. I am running pd-extended on a Linux Mint 64-bit, and I am working 99% of the time with a single workspace.</p>
<p>More about this problem: when I open pd, create a new patch, add <strong>[xysl]</strong> and try to move it, it display the problem mentioned. But if I open the help patch you created and I try to move one of the two <strong>[xysl]</strong> you have there, they move perfectly fine. Also, when I duplicate a <strong>[xysl]</strong>, if I drag one the other is also influenced by this bug.</p>
<p>Take care!<br />
Gilberto</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once/8</guid><dc:creator><![CDATA[gsagostinho]]></dc:creator><pubDate>Mon, 29 Sep 2014 15:27:55 GMT</pubDate></item><item><title><![CDATA[Reply to XY Slider, controls two variables at once on Wed, 01 Oct 2014 08:14:39 GMT]]></title><description><![CDATA[<p>[iemguts/receivecanvas] must be on your system, if this patch is working at all. Notice that you have to write the &quot;/receivecanvas x&quot; bit for it to work (where x is the canvas level that you want to monitor).</p>
<p>There is not [iemguts/receivecanvas] object in [pd mover3] because it is in the main patch (xysl.pd), at the very top. You can just put a [print] object here, then open the xysl-help.pd file and see what happens with the CTRL and SHIFT buttons.</p>
<p>Thanks for your help with the movement bug. You are right that any newly created [xysl] is affected by this, although moving the slider sets it straight. I believe that this is something to do with the loadbangs, although I cannot be sure. I'm pretty sure that it's fixable, though, and I'll look into it as soon as I get the time.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once/9</guid><dc:creator><![CDATA[LiamG]]></dc:creator><pubDate>Wed, 01 Oct 2014 08:14:39 GMT</pubDate></item><item><title><![CDATA[Reply to XY Slider, controls two variables at once on Thu, 02 Oct 2014 00:27:27 GMT]]></title><description><![CDATA[<p>Hi Liam, thanks for your message. Indeed I have <strong>[iemguts/receivecanvas]</strong> on top of your patch, I was looking for it in the wrong place. When I hold CTRL, click, then release CTRL, I get the following messages (just as expected):</p>
<pre><code>print: key 1 Control_L 0
print: mouse 215 144 1 2
print: mouseup 215 144 1
print: key 0 Control_L 0
</code></pre>
<p>But still it does not move the cursor to the current mouse position. On the other hand, if I move the mouse at least one pixel, I get:</p>
<pre><code>print: key 1 Control_L 0
print: mouse 215 144 1 2
print: motion 216 144 2
print: motion 216 144 2
print: mouseup 216 144 1
print: key 0 Control_L 0
</code></pre>
<p>And then your object snap to the cursor's position.</p>
<p>Thanks again for your efforts, take care!<br />
Gilberto</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once/10</guid><dc:creator><![CDATA[gsagostinho]]></dc:creator><pubDate>Thu, 02 Oct 2014 00:27:27 GMT</pubDate></item></channel></rss>