<?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[send 0(zero) number if no bang for certain period of time]]></title><description><![CDATA[<p>HI,<br />
being quite new with PD, i am doing and art project where i'm implementing PD as a frequency oscillator. it's an interactive installation where (simply put) participants change the frequency of the sine-wave by pressing keys (N for down and M for up).<br />
What i want to do is that, when there is no one interacting with the piece for, let's say, 2 minutes, frequencies start to change randomly.<br />
I have everything sorted out except one thing and that is how to tell <strong>spigot</strong> (or should i use something else) to put it self in closed state when there is interaction (someone pressing keys) , and to open again after there is no interaction for a certain period of time.</p>
<p>I'm on mac PD vanilla 0.49-1)</p>
<p>thanks ivan</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11812/send-0-zero-number-if-no-bang-for-certain-period-of-time</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Nov 2026 05:09:38 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/11812.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 Dec 2018 20:49:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to send 0(zero) number if no bang for certain period of time on Mon, 10 Dec 2018 20:49:40 GMT]]></title><description><![CDATA[<p>HI,<br />
being quite new with PD, i am doing and art project where i'm implementing PD as a frequency oscillator. it's an interactive installation where (simply put) participants change the frequency of the sine-wave by pressing keys (N for down and M for up).<br />
What i want to do is that, when there is no one interacting with the piece for, let's say, 2 minutes, frequencies start to change randomly.<br />
I have everything sorted out except one thing and that is how to tell <strong>spigot</strong> (or should i use something else) to put it self in closed state when there is interaction (someone pressing keys) , and to open again after there is no interaction for a certain period of time.</p>
<p>I'm on mac PD vanilla 0.49-1)</p>
<p>thanks ivan</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11812/send-0-zero-number-if-no-bang-for-certain-period-of-time</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11812/send-0-zero-number-if-no-bang-for-certain-period-of-time</guid><dc:creator><![CDATA[VitaminK]]></dc:creator><pubDate>Mon, 10 Dec 2018 20:49:40 GMT</pubDate></item><item><title><![CDATA[Reply to send 0(zero) number if no bang for certain period of time on Mon, 10 Dec 2018 23:08:01 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/vitamink">@VitaminK</a> You can use [delay] which will hold your bang, and send it out later.<br />
Spigot is fine.<br />
Something like this should do it....... 10 seconds before the random messages are allowed through the spigot..........<br />
Change [delay 10000] to [delay 5000] for 5 seconds etc.<br />
For 2 minutes....... [delay 120000]<br />
<img src="/uploads/files/1544482921155-capture1.jpg" alt="Capture1.JPG" class="img-responsive img-markdown" /><br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11812/send-0-zero-number-if-no-bang-for-certain-period-of-time/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11812/send-0-zero-number-if-no-bang-for-certain-period-of-time/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Mon, 10 Dec 2018 23:08:01 GMT</pubDate></item><item><title><![CDATA[Reply to send 0(zero) number if no bang for certain period of time on Tue, 11 Dec 2018 00:34:52 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> Thanks David. in the mean time i figured some solution my self by using |delay| fed into |float}...|delay| is receiving bang from the key-strokes... will try your solution as well though.<br />
<img src="/uploads/files/1544488342449-screen-shot-2018-12-11-at-01.28.12.png" alt="Screen Shot 2018-12-11 at 01.28.12.png" class="img-responsive img-markdown" /></p>
<p>thanks once again...<br />
Ivan</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11812/send-0-zero-number-if-no-bang-for-certain-period-of-time/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11812/send-0-zero-number-if-no-bang-for-certain-period-of-time/3</guid><dc:creator><![CDATA[VitaminK]]></dc:creator><pubDate>Tue, 11 Dec 2018 00:34:52 GMT</pubDate></item></channel></rss>