<?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[buggy step sequencing, halp!]]></title><description><![CDATA[<p>hello PD-brain..</p>
<p>i have this strange problem i can't figure out, maybe i just don't get it or this is one of the quirks of PD...</p>
<p>i'm working on a step sequencer. the sequencing bit is working as i want it to. no problem.<br />
it has two settings, normal counting and random counting ... 1, 2, 3, 4, 1, 2, 3, 4, etc. and random (in the range of 4). i have a switch between them to select which to run. easy.</p>
<p>my problem is, the hratio that i put in to illustrate which of the steps are active, only works on one of the two settings.</p>
<p>i tried putting in a hratio for each of the settings and that works fine, but it'd be silly to have two hratios when i can have one.</p>
<p>i have a feeling i'm overlooking something really simple. does anyone have an idea?</p>
<p><a href="https://pastie.iem.at/view/b0fa1761" rel="nofollow">https://pastie.iem.at/view/b0fa1761</a></p>
<p><a href="/uploads/files/1579891659151-buggy_step_sequencing.pd">buggy_step_sequencing.pd</a></p>
<p>thanks in advance,<br />
BOB</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Mar 2026 09:12:15 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/12535.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 24 Jan 2020 18:56:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to buggy step sequencing, halp! on Fri, 24 Jan 2020 18:56:18 GMT]]></title><description><![CDATA[<p>hello PD-brain..</p>
<p>i have this strange problem i can't figure out, maybe i just don't get it or this is one of the quirks of PD...</p>
<p>i'm working on a step sequencer. the sequencing bit is working as i want it to. no problem.<br />
it has two settings, normal counting and random counting ... 1, 2, 3, 4, 1, 2, 3, 4, etc. and random (in the range of 4). i have a switch between them to select which to run. easy.</p>
<p>my problem is, the hratio that i put in to illustrate which of the steps are active, only works on one of the two settings.</p>
<p>i tried putting in a hratio for each of the settings and that works fine, but it'd be silly to have two hratios when i can have one.</p>
<p>i have a feeling i'm overlooking something really simple. does anyone have an idea?</p>
<p><a href="https://pastie.iem.at/view/b0fa1761" rel="nofollow">https://pastie.iem.at/view/b0fa1761</a></p>
<p><a href="/uploads/files/1579891659151-buggy_step_sequencing.pd">buggy_step_sequencing.pd</a></p>
<p>thanks in advance,<br />
BOB</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp</guid><dc:creator><![CDATA[NOISEBOB]]></dc:creator><pubDate>Fri, 24 Jan 2020 18:56:18 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Fri, 24 Jan 2020 19:50:09 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/noisebob">@NOISEBOB</a> I do love Pd extended.  The &quot;Magic Glass&quot; is a thing of beauty.  Everyone should have a portable version on their windows computer.......<a href="http://puredata.info/downloads/pd-extended" rel="nofollow">http://puredata.info/downloads/pd-extended</a>..... the second one.... windows only.</p>
<p>You have a lot of zeros flying in from the [*] at the same time as the data and that is the problem.<br />
A couple of spigots will solve it..... <a href="/uploads/files/1579895337959-buggy.pd">buggy.pd</a><br />
Just changed.... I had the spigot defaults the wrong way around.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Fri, 24 Jan 2020 19:50:09 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Fri, 24 Jan 2020 19:51:22 GMT]]></title><description><![CDATA[<p>i think select or route can solve your problem, but perhaps select makes more sense in your case:<br />
<img src="/uploads/files/1579895305524-bildschirmfoto-vom-2020-01-24-20-46-50.png" alt="Bildschirmfoto vom 2020-01-24 20-46-50.png" class="img-responsive img-markdown" /><br />
edit: i think i misunderstood the problem <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";)" alt=";)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/3</guid><dc:creator><![CDATA[Jona]]></dc:creator><pubDate>Fri, 24 Jan 2020 19:51:22 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Fri, 24 Jan 2020 20:24:09 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> said:</p>
<blockquote>
<p>You have a lot of zeros flying in from the [*] at the same time as the data and that is the problem.<br />
A couple of spigots will solve it..... <a href="/uploads/files/1579895337959-buggy.pd">buggy.pd</a><br />
Just changed.... I had the spigot defaults the wrong way around.<br />
David.</p>
</blockquote>
<p>oh wow.. you are a hero!<br />
i learned something today... spigot, interesting object!</p>
<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jona">@Jona</a> said:</p>
<blockquote>
<p>i think select or route can solve your problem, but perhaps select makes more sense in your case:<br />
<img src="/uploads/files/1579895305524-bildschirmfoto-vom-2020-01-24-20-46-50.png" alt="Bildschirmfoto vom 2020-01-24 20-46-50.png" class="img-responsive img-markdown" /><br />
edit: i think i misunderstood the problem <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";)" alt=";)" /></p>
</blockquote>
<p>ooh, this looks fine. a bit less messy than my sequencing hack!</p>
<p>thanks ,</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/4</guid><dc:creator><![CDATA[NOISEBOB]]></dc:creator><pubDate>Fri, 24 Jan 2020 20:24:09 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Fri, 24 Jan 2020 20:25:24 GMT]]></title><description><![CDATA[<p>don't know if i gt you correctly, do you mean something like this? probably very awkward, just a quick try...</p>
<p><a href="/uploads/files/1579897349897-buggy2.pd">buggy2.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/5</guid><dc:creator><![CDATA[toxonic]]></dc:creator><pubDate>Fri, 24 Jan 2020 20:25:24 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Fri, 24 Jan 2020 20:27:06 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/noisebob">@NOISEBOB</a> Because I cannot resist....... <a href="/uploads/files/1579897619070-buggy2.pd">buggy2.pd</a><br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/6</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Fri, 24 Jan 2020 20:27:06 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Fri, 24 Jan 2020 20:29:28 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/toxonic">@toxonic</a> Ha Ha...... now we're playing snap....<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/7</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Fri, 24 Jan 2020 20:29:28 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Fri, 24 Jan 2020 20:32:36 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> yeah, but your one is more elegant! <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";-)" alt=";-)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/8</guid><dc:creator><![CDATA[toxonic]]></dc:creator><pubDate>Fri, 24 Jan 2020 20:32:36 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Fri, 24 Jan 2020 21:30:03 GMT]]></title><description><![CDATA[<p>Wouldn't it be straightforward to select the branch by the value of the radio? <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";)" alt=";)" /></p>
<p><a href="/uploads/files/1579901387443-working.pd">working.pd</a></p>
<p><img src="/uploads/files/1579901376526-bildschirmfoto-vom-2020-01-24-22-27-08.png" alt="Bildschirmfoto vom 2020-01-24 22-27-08.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/9</guid><dc:creator><![CDATA[ingox]]></dc:creator><pubDate>Fri, 24 Jan 2020 21:30:03 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Fri, 24 Jan 2020 22:32:18 GMT]]></title><description><![CDATA[<p>hah.. you people are amazing!</p>
<p>...and since you are so amazing, i have a quick follow-up question: how would i do so, in random mode, that it doesn't pick the same number twice in a row?</p>
<p><img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/astonished.png" title="astonished" alt=":astonished:" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/10</guid><dc:creator><![CDATA[NOISEBOB]]></dc:creator><pubDate>Fri, 24 Jan 2020 22:32:18 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Sat, 25 Jan 2020 02:01:17 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/noisebob">@NOISEBOB</a> The first number is selected from four possible numbers, so [random 4]. After that, only one out of three possible numbers can be chosen, so [random 3].</p>
<p>To the result of [random] the previous chosen number + 1 is added and this is taken modulo 4 to spread the range to four numbers while avoiding the previous chosen number. <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
<p>Another explanation: We have one number and we chose the following number as a starting point for our random number modulo 4. Since we only add 2 as maximum, the previously selected number cannot be reached again.</p>
<p>Result: No number is selected twice in a row and all numbers 0, 1, 2, 3 are statistically equally distributed. <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
<p><a href="/uploads/files/1579908608037-working.pd">working.pd</a></p>
<p><img src="/uploads/files/1579908621036-bildschirmfoto-vom-2020-01-25-00-29-46.png" alt="Bildschirmfoto vom 2020-01-25 00-29-46.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/11</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/11</guid><dc:creator><![CDATA[ingox]]></dc:creator><pubDate>Sat, 25 Jan 2020 02:01:17 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Sat, 25 Jan 2020 00:11:21 GMT]]></title><description><![CDATA[<p>neat! there's also [urn] in zexy library... just another idea...</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/12</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/12</guid><dc:creator><![CDATA[toxonic]]></dc:creator><pubDate>Sat, 25 Jan 2020 00:11:21 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Sat, 25 Jan 2020 00:21:49 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/toxonic">@toxonic</a> But [urn] has a different functionality, as it never repeats a number until the urn is empty <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";)" alt=";)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/13</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/13</guid><dc:creator><![CDATA[ingox]]></dc:creator><pubDate>Sat, 25 Jan 2020 00:21:49 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Sat, 25 Jan 2020 09:10:33 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ingox">@ingox</a> said:</p>
<blockquote>
<p><a href="/uploads/files/1579908608037-working.pd">working.pd</a></p>
<p><img src="/uploads/files/1579908621036-bildschirmfoto-vom-2020-01-25-00-29-46.png" alt="Bildschirmfoto vom 2020-01-25 00-29-46.png" class="img-responsive img-markdown" /></p>
</blockquote>
<p>very cool...</p>
<p>i see you changed pipe to delay.. is there any difference?<br />
i mean, they both delay.</p>
<p>i'm not sure why i used pipe in the first place., tho..</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/14</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/14</guid><dc:creator><![CDATA[NOISEBOB]]></dc:creator><pubDate>Sat, 25 Jan 2020 09:10:33 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Sat, 25 Jan 2020 09:34:00 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/noisebob">@NOISEBOB</a> You used [pipe] because it was receiving floats (numbers).  [delay] is for bangs.<br />
As the output goes to [0( it is transformed to &quot;0&quot; whether it is a number or a bang..... so it doesn't matter which you use......<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/15</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/15</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Sat, 25 Jan 2020 09:34:00 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Sat, 25 Jan 2020 09:59:43 GMT]]></title><description><![CDATA[<p>yeah, but this patch doesn't work like the one with [pipe] since the output of the radiobutton sets the delaytime of [del] (which are values between 0 and 3). you'd need to put a [bang( between it in order to get the desired delaytime of 300 ms.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/16</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/16</guid><dc:creator><![CDATA[toxonic]]></dc:creator><pubDate>Sat, 25 Jan 2020 09:59:43 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Sat, 25 Jan 2020 10:09:00 GMT]]></title><description><![CDATA[<p>yeh, i figured it out and set it back to pipe. it's a part of a much bigger project/hack.</p>
<p><a href="http://pd.noiselove.net/PELLE8001-1.6.2.pd" rel="nofollow">http://pd.noiselove.net/PELLE8001-1.6.2.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/17</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/17</guid><dc:creator><![CDATA[NOISEBOB]]></dc:creator><pubDate>Sat, 25 Jan 2020 10:09:00 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Sat, 25 Jan 2020 10:12:52 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/toxonic">@toxonic</a> Yes.  I should have looked at <a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ingox">@ingox</a> patch before commenting.<br />
A bang inserted before [delay] would fix that if you want to use [delay] instead of [pipe].... in earlier vanilla where it didn't exist if I remember correctly.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/18</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/18</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Sat, 25 Jan 2020 10:12:52 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Sun, 26 Jan 2020 02:06:10 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/toxonic">@toxonic</a> That's true, i should have used [t f b]: <a href="/uploads/files/1580004357899-working.pd">working.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/19</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/19</guid><dc:creator><![CDATA[ingox]]></dc:creator><pubDate>Sun, 26 Jan 2020 02:06:10 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Sun, 26 Jan 2020 23:33:23 GMT]]></title><description><![CDATA[<p>yes, this one works as expectetd. i thought, [urn] was, what <a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/noisebob">@NOISEBOB</a> was looking for... but to avoid direct repetitition of numbers, here's another approach... didn't think about statistics, but  i guess, it does the job in most cases... <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";-)" alt=";-)" /> <a href="/uploads/files/1580081168236-working.2.pd">working.2.pd</a></p>
<p>PS: Don't care about the $1, i once put that structure into an abstraction and just copied and pasted from there.... <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";-)" alt=";-)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/20</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/20</guid><dc:creator><![CDATA[toxonic]]></dc:creator><pubDate>Sun, 26 Jan 2020 23:33:23 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Mon, 27 Jan 2020 10:18:18 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/toxonic">@toxonic</a> The chance to get the following number should be higher than the other numbers <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";)" alt=";)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/21</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/21</guid><dc:creator><![CDATA[ingox]]></dc:creator><pubDate>Mon, 27 Jan 2020 10:18:18 GMT</pubDate></item><item><title><![CDATA[Reply to buggy step sequencing, halp! on Mon, 27 Jan 2020 14:47:32 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ingox">@ingox</a> correct.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/22</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12535/buggy-step-sequencing-halp/22</guid><dc:creator><![CDATA[toxonic]]></dc:creator><pubDate>Mon, 27 Jan 2020 14:47:32 GMT</pubDate></item></channel></rss>