<?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 to construct a background noise filter in PD?]]></title><description><![CDATA[<p>This would be a useful function to have for live performances. I have two ideas off the top of my head, but am not too optimistic about them:</p>
<ol>
<li>
<p>subtract a loop of the 'quiet' room from the live input. This is simple but probably wouldn't work too well because, if there is any irregularity at all in the recording, this will create an audible pattern.</p>
</li>
<li>
<p>take the 'quiet' room recording and put it into a [sigmund~]. Keep the highest amplitude value in the loop for each frequency band and use this to set the strength of a notch filter for the respective band. I've got a bad feeling about this idea- like it'd work well with clear, isolated pitches, but probably not with noise (which is going to be the main thing you want to filter!)</p>
</li>
</ol>
]]></description><link>http://forum.pdpatchrepo.info/topic/14635/how-to-construct-a-background-noise-filter-in-pd</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 18:33:34 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/14635.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 Feb 2024 07:42:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to construct a background noise filter in PD? on Thu, 22 Feb 2024 07:42:12 GMT]]></title><description><![CDATA[<p>This would be a useful function to have for live performances. I have two ideas off the top of my head, but am not too optimistic about them:</p>
<ol>
<li>
<p>subtract a loop of the 'quiet' room from the live input. This is simple but probably wouldn't work too well because, if there is any irregularity at all in the recording, this will create an audible pattern.</p>
</li>
<li>
<p>take the 'quiet' room recording and put it into a [sigmund~]. Keep the highest amplitude value in the loop for each frequency band and use this to set the strength of a notch filter for the respective band. I've got a bad feeling about this idea- like it'd work well with clear, isolated pitches, but probably not with noise (which is going to be the main thing you want to filter!)</p>
</li>
</ol>
]]></description><link>http://forum.pdpatchrepo.info/topic/14635/how-to-construct-a-background-noise-filter-in-pd</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14635/how-to-construct-a-background-noise-filter-in-pd</guid><dc:creator><![CDATA[s.elliot.perez]]></dc:creator><pubDate>Thu, 22 Feb 2024 07:42:12 GMT</pubDate></item><item><title><![CDATA[Reply to How to construct a background noise filter in PD? on Thu, 22 Feb 2024 08:25:23 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/s-elliot-perez">@s.elliot.perez</a> This was an attempt from a few years ago....... not mine..... <a href="/uploads/files/1708589102078-background-noise-filter.zip">background noise filter.zip</a><br />
It might have some useful pointers.<br />
1 will not work.<br />
2 will work, especially if the room has frequencies that resonate, but will not filter all noise, which changes all the time.  It will be an automatic equaliser in effect.<br />
The patches posted above take that idea, and elaborate.<br />
Sabine &quot;feedback killers&quot; also used automatic notch filters.</p>
<p>You could try cancellation by phase inversion, bypassed as a threshold is met so as to pass &quot;non background&quot; noise, but it will be no more effective than a noise gate.... and will introduce nasty artefacts.</p>
<p>Noise cancelling headphones work by phase inversion, but the program material is known and so can bypass the function.  With live microphones that is not an option.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14635/how-to-construct-a-background-noise-filter-in-pd/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14635/how-to-construct-a-background-noise-filter-in-pd/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Thu, 22 Feb 2024 08:25:23 GMT</pubDate></item><item><title><![CDATA[Reply to How to construct a background noise filter in PD? on Thu, 22 Feb 2024 11:31:43 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/josepheoff">@JosephEoff</a> @svanya take the multiband filter approach: <a href="https://forum.pdpatchrepo.info/topic/10268/what-s-your-favorite-noisegate/6" rel="nofollow">https://forum.pdpatchrepo.info/topic/10268/what-s-your-favorite-noisegate/6</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14635/how-to-construct-a-background-noise-filter-in-pd/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14635/how-to-construct-a-background-noise-filter-in-pd/3</guid><dc:creator><![CDATA[lacuna]]></dc:creator><pubDate>Thu, 22 Feb 2024 11:31:43 GMT</pubDate></item><item><title><![CDATA[Reply to How to construct a background noise filter in PD? on Fri, 23 Feb 2024 18:27:38 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/s-elliot-perez">@s-elliot-perez</a> If you haven't already, you might want to check out I04.noisegate in Pd's documentation, which is an FFT-based approach to what you're looking for. It does produce artifacts if you push it too far, but I don't think any real-world noise filter can be perfect unless you live in a universe of only sin waves~~~~~</p>
<p>Also a +1 for <a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/lacuna">@lacuna</a>'s suggestion, I tried out that multiband filter to prevent feedback when using an open mic. It's computationally expensive, but it works nicely.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14635/how-to-construct-a-background-noise-filter-in-pd/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14635/how-to-construct-a-background-noise-filter-in-pd/4</guid><dc:creator><![CDATA[beep.beep]]></dc:creator><pubDate>Fri, 23 Feb 2024 18:27:38 GMT</pubDate></item></channel></rss>