<?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[How can I create a switchable filter?]]></title><description><![CDATA[<p>Suppose I want to create a radio button with which the user can control which filter an audio signal gets passed through. Something like this, conceptually (the red lines are connections I want to make, but are invalid)...</p>
<p><img src="/uploads/files/1618946068229-slsxslg.png" alt="sLsxsLG.png" class="img-responsive img-markdown" /></p>
<p>The problem is that I cannot pass the audio signal through the Hradio control because the variable typings are incorrect. I have tried some setups with Moses and Spigot, but I have not been able to figure out how to pass the audio signal through a conditional check in this way.</p>
<p>How can I set this patch up correctly?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13409/how-can-i-create-a-switchable-filter</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 18:20:09 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/13409.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 20 Apr 2021 19:14:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How can I create a switchable filter? on Tue, 20 Apr 2021 19:14:54 GMT]]></title><description><![CDATA[<p>Suppose I want to create a radio button with which the user can control which filter an audio signal gets passed through. Something like this, conceptually (the red lines are connections I want to make, but are invalid)...</p>
<p><img src="/uploads/files/1618946068229-slsxslg.png" alt="sLsxsLG.png" class="img-responsive img-markdown" /></p>
<p>The problem is that I cannot pass the audio signal through the Hradio control because the variable typings are incorrect. I have tried some setups with Moses and Spigot, but I have not been able to figure out how to pass the audio signal through a conditional check in this way.</p>
<p>How can I set this patch up correctly?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13409/how-can-i-create-a-switchable-filter</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13409/how-can-i-create-a-switchable-filter</guid><dc:creator><![CDATA[Metronome]]></dc:creator><pubDate>Tue, 20 Apr 2021 19:14:54 GMT</pubDate></item><item><title><![CDATA[Reply to How can I create a switchable filter? on Tue, 20 Apr 2021 21:01:33 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/metronome">@Metronome</a> I would use <code>[multiplex~]</code> from zexy. then you can just route your radio into it. like so:<br />
<img src="/uploads/files/1618952172465-screen-shot-2021-04-20-at-1.55.49-pm.png" alt="Screen Shot 2021-04-20 at 1.55.49 PM.png" class="img-responsive img-markdown" /><br />
I also have a version <code>[siglinterp~]</code> in my library shadylib that fades linearly between the inlets using a signal, and there's also <code>[clean_selector~]</code> in lyonpotpourri that does the same thing but with a settable fade time</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13409/how-can-i-create-a-switchable-filter/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13409/how-can-i-create-a-switchable-filter/2</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Tue, 20 Apr 2021 21:01:33 GMT</pubDate></item><item><title><![CDATA[Reply to How can I create a switchable filter? on Sat, 22 Mar 2025 12:05:11 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/metronome">@Metronome</a><br />
the vanilla way is to use [==] as condition and [*~] as amplifier.</p>
<p><img src="/uploads/files/1618967644903-vanillamux.png" alt="vanillamux.png" class="img-responsive img-markdown" /></p>
<p>In your use case the signals won't be uncorrelated, so don't use [pow~ 0.5]<br />
(late edit: if timing must be exact: use [vline~])</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13409/how-can-i-create-a-switchable-filter/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13409/how-can-i-create-a-switchable-filter/3</guid><dc:creator><![CDATA[lacuna]]></dc:creator><pubDate>Sat, 22 Mar 2025 12:05:11 GMT</pubDate></item><item><title><![CDATA[Reply to How can I create a switchable filter? on Wed, 21 Apr 2021 08:11:35 GMT]]></title><description><![CDATA[<p>I'm extremely partial to <a href="https://github.com/alexdrymonitis/filter_abstractions" rel="nofollow">https://github.com/alexdrymonitis/filter_abstractions</a> by Alexandros (based on MMB abstractions). Very nice sounding filters and you can switch the type by sending a symbol to the rightmost inlet.</p>
<p>hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13409/how-can-i-create-a-switchable-filter/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13409/how-can-i-create-a-switchable-filter/4</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Wed, 21 Apr 2021 08:11:35 GMT</pubDate></item><item><title><![CDATA[Reply to How can I create a switchable filter? on Wed, 21 Apr 2021 20:23:53 GMT]]></title><description><![CDATA[<p>subtracting a lowpassed signal from its' original results in a highpass (and vice versa):<br />
<img src="/uploads/files/1619036585163-hiplop.png" alt="hiplop.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13409/how-can-i-create-a-switchable-filter/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13409/how-can-i-create-a-switchable-filter/5</guid><dc:creator><![CDATA[lacuna]]></dc:creator><pubDate>Wed, 21 Apr 2021 20:23:53 GMT</pubDate></item></channel></rss>