<?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[Porting Max code to Pd - Filterbank with tap delay]]></title><description><![CDATA[<p>Hi all!</p>
<p>How can I port this patch to Pd?</p>
<p><img src="/uploads/files/1678569431343-image.png" alt="image.png" class="img-responsive img-markdown" /> from <div class="embed-container"><iframe src="//www.youtube.com/embed/PNa7-d_ZLg8" rel="nofollow">here" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div></p>
<p>I could not find any proper alternative to [fffb~] (filterbank external is not accepting freq, Q and gain values). The alternative for [uzi] and [zl] is only throught cyclone external?</p>
<p>thanks!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 18:34:52 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/14285.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 11 Mar 2023 21:20:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Porting Max code to Pd - Filterbank with tap delay on Sat, 11 Mar 2023 21:20:21 GMT]]></title><description><![CDATA[<p>Hi all!</p>
<p>How can I port this patch to Pd?</p>
<p><img src="/uploads/files/1678569431343-image.png" alt="image.png" class="img-responsive img-markdown" /> from <div class="embed-container"><iframe src="//www.youtube.com/embed/PNa7-d_ZLg8" rel="nofollow">here" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div></p>
<p>I could not find any proper alternative to [fffb~] (filterbank external is not accepting freq, Q and gain values). The alternative for [uzi] and [zl] is only throught cyclone external?</p>
<p>thanks!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay</guid><dc:creator><![CDATA[inum]]></dc:creator><pubDate>Sat, 11 Mar 2023 21:20:21 GMT</pubDate></item><item><title><![CDATA[Reply to Porting Max code to Pd - Filterbank with tap delay on Sun, 12 Mar 2023 08:41:17 GMT]]></title><description><![CDATA[<p>I don't know what [fffb~] does, but [uzi] can be replaced by [until] connected to a counter (which can be created with [f ] and [+ 1]). What does [zl group] do?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/2</guid><dc:creator><![CDATA[alexandros]]></dc:creator><pubDate>Sun, 12 Mar 2023 08:41:17 GMT</pubDate></item><item><title><![CDATA[Reply to Porting Max code to Pd - Filterbank with tap delay on Sun, 12 Mar 2023 17:49:04 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/inum">@inum</a> <a href="https://lists.puredata.info/pipermail/pd-list/2009-05/070317.html" rel="nofollow">https://lists.puredata.info/pipermail/pd-list/2009-05/070317.html</a><br />
It looks as though you are controlling [fffb~] with messages so [biquad~] should work.<br />
You will need [equalizer] from the ggee library to write the coefficients to [biquad~] and I suppose you will need 8 copies as it is a single filter.</p>
<p>Pretty sure [delwrite~] and [delread~] can replace [tapin~] and [tapout~]</p>
<p>A lot of useful [list] abstractions can be found in the list-abs library.... mainly abstractions and so Vanilla Pd...<br />
And so you will find a clone of [zl group] in that library......... [list-group]</p>
<p>A lot of Max clones can be found in the cyclone library.... [uzi] is there, [maximum~] also, and maybe some others you are looking for..... but audio-rate clones are likely to be externals.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/3</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Sun, 12 Mar 2023 17:49:04 GMT</pubDate></item><item><title><![CDATA[Reply to Porting Max code to Pd - Filterbank with tap delay on Sun, 12 Mar 2023 21:15:41 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/inum">@inum</a> I was thinking that [zl group] isn't necessary if you consider its function in the larger context.  It's just preparing a list of 8 random numbers to be arguments to [fffb~ 8].  In Pd, I'd instead make an abstraction that has some kind of resonant bandpass filter in it.  When it's banged, it would randomize its freq, Q, and gain.  Clone that 8 times and bang them all.  That would cover everything from the [uzi] through [fffb~ 8].  I have a favorite [click~] translation that I'm dying to share, but you didn't ask <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
<p>(<a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/alexandros">@alexandros</a> I just Google &quot;max msp &lt;object name&gt;&quot; for each object's doc page in order to maintain the illusion that I've used Max/MSP <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /> )</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/4</guid><dc:creator><![CDATA[jameslo]]></dc:creator><pubDate>Sun, 12 Mar 2023 21:15:41 GMT</pubDate></item><item><title><![CDATA[Reply to Porting Max code to Pd - Filterbank with tap delay on Sun, 12 Mar 2023 23:13:06 GMT]]></title><description><![CDATA[<p>Is that original max patch feeding the same list of numbers into cutoff, Q and gain?</p>
<p>Q and gain values up to 50*55 = 2750?</p>
<p>Cover your ears...</p>
<p>hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/5</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Sun, 12 Mar 2023 23:13:06 GMT</pubDate></item><item><title><![CDATA[Reply to Porting Max code to Pd - Filterbank with tap delay on Tue, 14 Mar 2023 02:28:56 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ddw_music">@ddw_music</a> eh, worst case it'll just clip (as I learned by embarrassing myself on this forum)</p>
<p>Edit: doesn't even sound clipped to me<br />
<a href="/uploads/files/1678708491319-filterbank.zip">filterBank.zip</a></p>
<p><img src="/uploads/files/1678708445765-screenshot-2023-03-13-075131.png" alt="Screenshot 2023-03-13 075131.png" class="img-responsive img-markdown" /><br />
Edit 2:  oops, I missed that each clone should only generate one random number and use it for freq, Q, and gain</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/6</guid><dc:creator><![CDATA[jameslo]]></dc:creator><pubDate>Tue, 14 Mar 2023 02:28:56 GMT</pubDate></item><item><title><![CDATA[Reply to Porting Max code to Pd - Filterbank with tap delay on Mon, 13 Mar 2023 18:46:49 GMT]]></title><description><![CDATA[<p>Thanks a lot you all!!!</p>
<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ddw_music">@ddw_music</a> I asked myself the same, but I tested the Max patch and it did not explode... Maybe there is a internal protection in this [fffb~] object...</p>
<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> I was searching for a [fffb~] port because it is more efficient way of creating a filter banks. I guess you push it really further (hundreds of filters) then it makes a difference.</p>
<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jameslo">@jameslo</a> how did you make [inlet~] with a second outlet without having to pass a <code>fwd</code> message?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/7</guid><dc:creator><![CDATA[inum]]></dc:creator><pubDate>Mon, 13 Mar 2023 18:46:49 GMT</pubDate></item><item><title><![CDATA[Reply to Porting Max code to Pd - Filterbank with tap delay on Mon, 13 Mar 2023 19:48:20 GMT]]></title><description><![CDATA[<p>For connecting the [rand~] and [maximum~] path to the [delwrite~] they way to go is using [snapshot~], right?</p>
<p>Is there any alternative way to do what this branch is doing using only control rate and no audio signals?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/8</guid><dc:creator><![CDATA[inum]]></dc:creator><pubDate>Mon, 13 Mar 2023 19:48:20 GMT</pubDate></item><item><title><![CDATA[Reply to Porting Max code to Pd - Filterbank with tap delay on Mon, 13 Mar 2023 19:53:33 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/inum">@inum</a> I dunno, I didn't do anything, it just came out that way!  Pd 0.53.1 on Windows.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/9</guid><dc:creator><![CDATA[jameslo]]></dc:creator><pubDate>Mon, 13 Mar 2023 19:53:33 GMT</pubDate></item><item><title><![CDATA[Reply to Porting Max code to Pd - Filterbank with tap delay on Mon, 13 Mar 2023 22:36:55 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/inum">@inum</a> said:</p>
<blockquote>
<p>For connecting the [rand~] and [maximum~] path to the [delwrite~] the way to go is using [snapshot~], right?</p>
</blockquote>
<p>One way to go, yes.  You could also use [noise~], [samphold~], [phasor~], and [clip~} if you wanted to stay in signal domain.</p>
<blockquote>
<p>Is there any alternative way to do what this branch is doing using only control rate and no audio signals?</p>
</blockquote>
<p>Sure, it will be quantized by the block size period though, which may or may not be an issue.  {metro}-&gt;[random] with some range shifting and [clip]</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/10</guid><dc:creator><![CDATA[jameslo]]></dc:creator><pubDate>Mon, 13 Mar 2023 22:36:55 GMT</pubDate></item><item><title><![CDATA[Reply to Porting Max code to Pd - Filterbank with tap delay on Tue, 14 Mar 2023 00:51:07 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/inum">@inum</a> said:</p>
<blockquote>
<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ddw_music">@ddw_music</a> I asked myself the same, but I tested the Max patch and it did not explode...</p>
</blockquote>
<p>It occurred to me later that there is one possible reason why you might use the same value for Q and gain.</p>
<p>A standard bandpass filter produces a much quieter signal than the input (because it's filtering away most of the input's energy). Higher Q = narrower passband = more energy stripped away = quieter output. Scaling the output by Q -- <code>bandpass(signal, cutoff, Q) * Q</code> -- is sometimes called a &quot;constant skirt gain&quot; bandpass filter, where resonance can be louder than the input.</p>
<p>Also, and I haven't investigated this but it's a reasonable guess, a bandpass filter's ring time may be shorter at higher frequencies, for the same Q -- so it might make sense for Q to be proportional to frequency.</p>
<p>But, in the patch as given, you don't have any control over ring time. IMO Q should scale the frequencies by some factor (to make the ring time longer or shorter), and then use this Q value in gain as well (&quot;constant skirt gain&quot;).</p>
<blockquote>
<p>Maybe there is a internal protection in this [fffb~] object...</p>
</blockquote>
<p>There must be some protection because the original patch can generate a 0 frequency, which is bad when filtering. If the filter internally clips the frequency to a reasonable range, then you wouldn't hear anything bad -- but to be precise, it's a bit of careless math in the original patch. 0 frequency is not useful in this context and should be avoided.</p>
<p>PS I'm not familiar with &quot;the filterbank external&quot; -- searching did not reveal which filterbank external you tried.</p>
<p>hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/11</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/11</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Tue, 14 Mar 2023 00:51:07 GMT</pubDate></item><item><title><![CDATA[Reply to Porting Max code to Pd - Filterbank with tap delay on Tue, 14 Mar 2023 17:10:51 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ddw_music">@ddw_music</a> It's probably this from Pd Extended......<br />
A &quot;sort of&quot; graphic equaliser.<br />
64-bit update on Deken by lucarda.<br />
David.<br />
<img src="/uploads/files/1678778945396-capture.jpg" alt="Capture.JPG" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/12</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14285/porting-max-code-to-pd-filterbank-with-tap-delay/12</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Tue, 14 Mar 2023 17:10:51 GMT</pubDate></item></channel></rss>