<?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[Problem with a simple sequencer]]></title><description><![CDATA[<p>Hi everyone,</p>
<p>I'm new to Pure Data and I'm making some beginner level exercises to learn the basics elements of this language.</p>
<p>I would like to make a simple sequencer where the four bangs blink one after another, from left to right every 1000 ms.</p>
<p>When the outlet which corresponds to the fourth parameter of the select box is reached, it should activate the message box and sending the number 0 to the float box, in order to resetting the latter.</p>
<p>The problem is that the message box doesn't send the 0 to the float box (unless I manually click on the message box) and the float box continues to be incremented, as shown by the number box wired to the outlet of the float box.</p>
<p>Here is the patch: <a href="/uploads/files/1466690286756-sequencer.pd">sequencer.pd</a></p>
<p>Have you an explaination for this kind of behavior?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10170/problem-with-a-simple-sequencer</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 03:49:26 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/10170.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 23 Jun 2016 13:59:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem with a simple sequencer on Thu, 23 Jun 2016 13:59:48 GMT]]></title><description><![CDATA[<p>Hi everyone,</p>
<p>I'm new to Pure Data and I'm making some beginner level exercises to learn the basics elements of this language.</p>
<p>I would like to make a simple sequencer where the four bangs blink one after another, from left to right every 1000 ms.</p>
<p>When the outlet which corresponds to the fourth parameter of the select box is reached, it should activate the message box and sending the number 0 to the float box, in order to resetting the latter.</p>
<p>The problem is that the message box doesn't send the 0 to the float box (unless I manually click on the message box) and the float box continues to be incremented, as shown by the number box wired to the outlet of the float box.</p>
<p>Here is the patch: <a href="/uploads/files/1466690286756-sequencer.pd">sequencer.pd</a></p>
<p>Have you an explaination for this kind of behavior?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10170/problem-with-a-simple-sequencer</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10170/problem-with-a-simple-sequencer</guid><dc:creator><![CDATA[Trive]]></dc:creator><pubDate>Thu, 23 Jun 2016 13:59:48 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with a simple sequencer on Thu, 23 Jun 2016 15:22:15 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/trive">@Trive</a> Hello Trive........<br />
It has to do with the order of operations..........<a href="http://puredata.info/docs/manuals/pd/x2.htm" rel="nofollow">http://puredata.info/docs/manuals/pd/x2.htm</a> chapter 2.3.2.<br />
It is sometimes not obvious why something doesn't work as expected.  The order of operations means that the next &quot;+ 1&quot; is banged into the &quot;f 0&quot; after the &quot;0&quot;.....<br />
Here is your patch with a small delay, so as to make sure that the &quot;0&quot; arrives later......<br />
<a href="/uploads/files/1466693066441-sequencer2.pd">sequencer2.pd</a><br />
and here it is fixed by fixing the order of operations using a trigger.......<br />
<a href="/uploads/files/1466693300791-sequencer3.pd">sequencer3.pd</a><br />
The second one (sequencer3) is the better solution.......<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10170/problem-with-a-simple-sequencer/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10170/problem-with-a-simple-sequencer/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Thu, 23 Jun 2016 15:22:15 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with a simple sequencer on Thu, 23 Jun 2016 15:43:04 GMT]]></title><description><![CDATA[<p>Thank you so much David for your precious info and patches!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10170/problem-with-a-simple-sequencer/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10170/problem-with-a-simple-sequencer/3</guid><dc:creator><![CDATA[Trive]]></dc:creator><pubDate>Thu, 23 Jun 2016 15:43:04 GMT</pubDate></item></channel></rss>