<?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[Hold function]]></title><description><![CDATA[<p>Hi!</p>
<p>Is there a way to filter out sudden jumps of values? Let me be more specific; I need to control oscillator's frequency with a ribbon resistor. Everything sound ok until I lift my finger off the resistor, actually, the output suddenly jumps to it's highest value. Ideally, it should stay at the last note I played, something like &quot;hold&quot; function on some keyboards. I know that it can be done in electronic part of my controller, but I wonder is there a way to do it in a patch. I'd like to make it in vanilla since it's much more responsive in my system (winxp).<br />
thank you.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5949/hold-function</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Mar 2026 14:34:47 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/5949.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 04 Feb 2012 18:59:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hold function on Sat, 04 Feb 2012 18:59:06 GMT]]></title><description><![CDATA[<p>Hi!</p>
<p>Is there a way to filter out sudden jumps of values? Let me be more specific; I need to control oscillator's frequency with a ribbon resistor. Everything sound ok until I lift my finger off the resistor, actually, the output suddenly jumps to it's highest value. Ideally, it should stay at the last note I played, something like &quot;hold&quot; function on some keyboards. I know that it can be done in electronic part of my controller, but I wonder is there a way to do it in a patch. I'd like to make it in vanilla since it's much more responsive in my system (winxp).<br />
thank you.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5949/hold-function</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5949/hold-function</guid><dc:creator><![CDATA[sinewave]]></dc:creator><pubDate>Sat, 04 Feb 2012 18:59:06 GMT</pubDate></item><item><title><![CDATA[Reply to Hold function on Sat, 04 Feb 2012 23:13:34 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>every time you receive a value from the controller, you could substract it from the latest control value (stored in a [f ]) and then make it positive using [abs ]. This computed positive difference could be tested with a [&lt; ] triggering a [gate 1] in order to send it to an ouput only if the increments between ctrl values are smaller than a desired threshold value.</p>
<p>This should work.</p>
<p>Nau</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5949/hold-function/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5949/hold-function/2</guid><dc:creator><![CDATA[nau]]></dc:creator><pubDate>Sat, 04 Feb 2012 23:13:34 GMT</pubDate></item><item><title><![CDATA[Reply to Hold function on Sun, 05 Feb 2012 11:34:45 GMT]]></title><description><![CDATA[<p>Hi Nau<br />
thank you for your suggestion... but, I think I wasn't clear enough, so I will attach the patch. You'll see in a &quot;ribbon_substitute&quot; subpatch, there is an array with stored data from the ribbon resistor. In the second half of it, there are three sudden jumps which happened at the times I lifted my finger off the resistor.</p>
<p>As longer I think about the problem, I am more and more sure that it is not possible to solve that problem in a patch. How to distinguish sudden jumps in actual melody from the ones happened by lifting the finger or stylus off the ribbon? But who knows, this forum is a great place...</p>
<p><a href="http://www.pdpatchrepo.info/hurleur/ribbon_forum1.zip" rel="nofollow">http://www.pdpatchrepo.info/hurleur/ribbon_forum1.zip</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5949/hold-function/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5949/hold-function/3</guid><dc:creator><![CDATA[sinewave]]></dc:creator><pubDate>Sun, 05 Feb 2012 11:34:45 GMT</pubDate></item><item><title><![CDATA[Reply to Hold function on Sun, 05 Feb 2012 23:15:15 GMT]]></title><description><![CDATA[<p>Ok, now I fully understand. It should be possible to detect 'sudden large rises' anyway in the signal domain, but it is clearly complicated to 'tailor' the control value when such peaks arise, i.e. cut the spikes leaving a smooth signal.<br />
It seems much more interresting to work on the ribbon side, as you mentionned.</p>
<p>What kind of signals do you receive from it ? I've tested a 'dj-style' touch ribbon, it was giving two midi controllers values : one was the position value, and another one acted as a bit (0 or 127) in order to indicate if the finger was touching or lifted.<br />
For sure the ribbon must be the solution...</p>
<p>Nau</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5949/hold-function/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5949/hold-function/4</guid><dc:creator><![CDATA[nau]]></dc:creator><pubDate>Sun, 05 Feb 2012 23:15:15 GMT</pubDate></item><item><title><![CDATA[Reply to Hold function on Sun, 05 Feb 2012 23:57:24 GMT]]></title><description><![CDATA[<blockquote>
<p>What kind of signals do you receive from it ?</p>
</blockquote>
<p>It's a membrane linear potentiometer, connected to arduino, so it is giving desired 0-1 range.</p>
<blockquote>
<p>I've tested a 'dj-style' touch ribbon, it was giving two midi controllers values : one was the position value, and another one acted as a bit (0 or 127) in order to indicate if the finger was touching or lifted.<br />
For sure the ribbon must be the solution...</p>
</blockquote>
<p>Yes, two ribbon setup (pressure and position) could solve the problem, something like this:<br />
<a href="http://www.coagula.org/content/pages/coagula-midi-ribbon-controller-20-1" rel="nofollow">http://www.coagula.org/content/pages/coagula-midi-ribbon-controller-20-1</a></p>
<p>thank you for your time!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5949/hold-function/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5949/hold-function/5</guid><dc:creator><![CDATA[sinewave]]></dc:creator><pubDate>Sun, 05 Feb 2012 23:57:24 GMT</pubDate></item><item><title><![CDATA[Reply to Hold function on Mon, 06 Feb 2012 12:12:30 GMT]]></title><description><![CDATA[<p>Hello everybody:</p>
<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/sinewave">@sinewave</a> said:</p>
<blockquote>
<p>Hi!<br />
[...] I'd like to make it in vanilla since it's much more responsive in my system (winxp).<br />
thank you.</p>
</blockquote>
<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/sinewave">@sinewave</a>: What do you mean by saying that vanilla is more responsive in winxp? Is it faster o consumes less resources than pd-extended? Do you know if vanilla is 'more responsive' than pd-extended in other OS, like GNU/Linux? Interesting matter...<br />
All the best.</p>
<p>Sumidero</p>
<p>Ps: &quot;Na rubu povijesti&quot;: nice track. Reminds me of &quot;A warm place&quot; from NIN.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5949/hold-function/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5949/hold-function/6</guid><dc:creator><![CDATA[sumidero]]></dc:creator><pubDate>Mon, 06 Feb 2012 12:12:30 GMT</pubDate></item><item><title><![CDATA[Reply to Hold function on Mon, 06 Feb 2012 14:08:13 GMT]]></title><description><![CDATA[<p>Hi Sumidero!</p>
<p>Yes, pd-vanilla is &quot;faster&quot; than extended, I can tune it to about 6 ms of audio latency which is more than ok for me and my needs. But I have to say I didn't tested it on different OS. I've read somewhere that Linux users don't suffer of high latency problem, so maybe it's just a combination of OS and hardware I'm using. Since I am just an average computer user, I cannot tell why the vanilla package is better for audio on my system. Regarding the CPU performance, I can't tell the difference because the meter showed the same reading on the same patch in both vanilla and extended, though I didn't tested nothing more than my own patches which are very simple. I'll put some coarse comparison here, maybe someone find it useful;</p>
<p>pd-extended pd-vanilla<br />
min latency (ms) 36 6<br />
number of audio channels available 2in 2out 26in 26out (hardw. max)</p>
<p>tested on winxp and RME HDSP 9652.</p>
<p>Hope that helps someone who is struggling with latency...</p>
<p>Ps: thanks for listening the track</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5949/hold-function/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5949/hold-function/7</guid><dc:creator><![CDATA[sinewave]]></dc:creator><pubDate>Mon, 06 Feb 2012 14:08:13 GMT</pubDate></item></channel></rss>