<?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[Is this MSP patch &quot;amplitude gate&quot; possible in PD extended?]]></title><description><![CDATA[<p>I recently watched a youtube vid of someone using fast fourier transforms to manipulate audio in a very specific way; he called it an &quot;amplitude gate&quot; :</p>
<p><div class="embed-container"><iframe src="//www.youtube.com/embed/69A1kGNFYIc" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div></p>
<p>I am not necessarily wanting someone to do the work for me in translating this MSP patch to PD, but I really want to utilize this patch in my work. I am curious - for anyone with knowledge of both MSP and PD - if the libraries and extensions in PD cover the needs that this patch has, and what they would entail. Hopefully that isn't a demanding task, as it seems quite simple.</p>
<p>Also I am curious if there is a more commonplace term than &quot;amplitude gate&quot;, and if this patch is already abstracted in a PD depository under a different name. I think this patch has quite a lot of possibility! <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/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 17:46:11 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/9564.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 15 Oct 2015 20:50:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Is this MSP patch &quot;amplitude gate&quot; possible in PD extended? on Thu, 15 Oct 2015 20:50:00 GMT]]></title><description><![CDATA[<p>I recently watched a youtube vid of someone using fast fourier transforms to manipulate audio in a very specific way; he called it an &quot;amplitude gate&quot; :</p>
<p><div class="embed-container"><iframe src="//www.youtube.com/embed/69A1kGNFYIc" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div></p>
<p>I am not necessarily wanting someone to do the work for me in translating this MSP patch to PD, but I really want to utilize this patch in my work. I am curious - for anyone with knowledge of both MSP and PD - if the libraries and extensions in PD cover the needs that this patch has, and what they would entail. Hopefully that isn't a demanding task, as it seems quite simple.</p>
<p>Also I am curious if there is a more commonplace term than &quot;amplitude gate&quot;, and if this patch is already abstracted in a PD depository under a different name. I think this patch has quite a lot of possibility! <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/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended</guid><dc:creator><![CDATA[gummi]]></dc:creator><pubDate>Thu, 15 Oct 2015 20:50:00 GMT</pubDate></item><item><title><![CDATA[Reply to Is this MSP patch &quot;amplitude gate&quot; possible in PD extended? on Thu, 15 Oct 2015 21:25:13 GMT]]></title><description><![CDATA[<p>Mainly curious due to PFFT. I haven't explored much with FFT work in pd yet, but I've heard that this is one area where MSP shines in terms of ease and use and efficient computation.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended/2</guid><dc:creator><![CDATA[gummi]]></dc:creator><pubDate>Thu, 15 Oct 2015 21:25:13 GMT</pubDate></item><item><title><![CDATA[Reply to Is this MSP patch &quot;amplitude gate&quot; possible in PD extended? on Thu, 15 Oct 2015 21:48:38 GMT]]></title><description><![CDATA[<p><a href="http://www.pd-tutorial.com/english/ch03s08.html" rel="nofollow">http://www.pd-tutorial.com/english/ch03s08.html</a><br />
You'll find an example of spectral delay. It should be possible to turn it into a spectral gate.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended/3</guid><dc:creator><![CDATA[baptiste_c]]></dc:creator><pubDate>Thu, 15 Oct 2015 21:48:38 GMT</pubDate></item><item><title><![CDATA[Reply to Is this MSP patch &quot;amplitude gate&quot; possible in PD extended? on Sat, 17 Oct 2015 08:37:32 GMT]]></title><description><![CDATA[<p>Hi there,</p>
<p>As you saw in that video, the object <strong>[pfft~]</strong> is mainly a container (although it automatically takes care of block size, window type, etc. for you) and the magic actually happens when you use <strong>[fftin~]</strong> and <strong>[fftout~]</strong>. In Pd, we don't have a container object like that (although you can use a subpatch or abstraction of course) and the equivalents of <strong>[fftin~]</strong> and <strong>[fftout~]</strong> are <strong>[rfft~]</strong> and <strong>[rifft~]</strong>.</p>
<p>I recreated that patch of the video here, have a look:</p>
<p><img src="/uploads/files/1445008526418-screenshot-from-2015-10-16-17-13-08.png" alt="Screenshot from 2015-10-16 17:13:08.png" class="img-responsive img-markdown" /></p>
<p><img src="/uploads/files/1445008532401-screenshot-from-2015-10-16-17-13-10.png" alt="Screenshot from 2015-10-16 17:13:10.png" class="img-responsive img-markdown" /></p>
<p><a href="/uploads/files/1445010443772-example-of-spectral-gate.pd">example of spectral gate.pd</a></p>
<p>Take care,<br />
Gilberto</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended/4</guid><dc:creator><![CDATA[gsagostinho]]></dc:creator><pubDate>Sat, 17 Oct 2015 08:37:32 GMT</pubDate></item><item><title><![CDATA[Reply to Is this MSP patch &quot;amplitude gate&quot; possible in PD extended? on Fri, 16 Oct 2015 15:25:49 GMT]]></title><description><![CDATA[<p>By the way, you may have to play around with the scale of those horizontal sliders in the main patch.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended/5</guid><dc:creator><![CDATA[gsagostinho]]></dc:creator><pubDate>Fri, 16 Oct 2015 15:25:49 GMT</pubDate></item><item><title><![CDATA[Reply to Is this MSP patch &quot;amplitude gate&quot; possible in PD extended? on Fri, 16 Oct 2015 21:05:43 GMT]]></title><description><![CDATA[<p>Small update: it turns out <strong>[cartopol~]</strong> has a bug in which the rightmost outlet outputs a wrong value (-1 times the correct value). So if using pd-extended one must compensate for that (the bug isn't present in Pd-l2Ork, whic his why I didn't find it out immediately).</p>
<p>Anyway, I created an abstraction called <strong>[specgate~]</strong> for doing exactly what we have been talking here. It is available for both pd-extended and l2Ork in the following link: <a href="https://github.com/gilbertohasnofb/pd-abstractions-and-libraries" rel="nofollow">https://github.com/gilbertohasnofb/pd-abstractions-and-libraries</a></p>
<p>Cheers,<br />
Gilberto</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended/6</guid><dc:creator><![CDATA[gsagostinho]]></dc:creator><pubDate>Fri, 16 Oct 2015 21:05:43 GMT</pubDate></item><item><title><![CDATA[Reply to Is this MSP patch &quot;amplitude gate&quot; possible in PD extended? on Fri, 16 Oct 2015 21:35:01 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/gsagostinho">@gsagostinho</a> it might be prudent to window the fft as well.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended/7</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Fri, 16 Oct 2015 21:35:01 GMT</pubDate></item><item><title><![CDATA[Reply to Is this MSP patch &quot;amplitude gate&quot; possible in PD extended? on Fri, 16 Oct 2015 22:45:19 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/seb-harmonik-ar">@seb-harmonik-ar</a> The problem I had when using a Hanning window is that if I would set the arguments of the abstraction to 0 and 10000 -- that is, passing only frequencies with amplitudes larger than 0 and smaller than 10000, which is effectively allowing all signals through -- the original signal wasn't being reconstructed properly, it was full of artifacts. This effect could also be perceived if the values are closer to the extremes mentioned above (that is, if the sound is close to its original form).</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended/8</guid><dc:creator><![CDATA[gsagostinho]]></dc:creator><pubDate>Fri, 16 Oct 2015 22:45:19 GMT</pubDate></item><item><title><![CDATA[Reply to Is this MSP patch &quot;amplitude gate&quot; possible in PD extended? on Sat, 17 Oct 2015 09:23:09 GMT]]></title><description><![CDATA[<p>Please ignore my last comment, the window function wasn't being created properly due to my own noobness, which is the reason the signals were being affected. I have updated the abstractions in my repository and they now have a proper window function:</p>
<p><img src="/uploads/files/1445073767593-screenshot-from-2015-10-17-11-22-35.png" alt="Screenshot from 2015-10-17 11:22:35.png" class="img-responsive img-markdown" /></p>
<p><img src="/uploads/files/1445073771364-screenshot-from-2015-10-17-11-22-39.png" alt="Screenshot from 2015-10-17 11:22:39.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended/9</guid><dc:creator><![CDATA[gsagostinho]]></dc:creator><pubDate>Sat, 17 Oct 2015 09:23:09 GMT</pubDate></item><item><title><![CDATA[Reply to Is this MSP patch &quot;amplitude gate&quot; possible in PD extended? on Fri, 23 Oct 2015 07:07:50 GMT]]></title><description><![CDATA[<p>I keep getting a lot of</p>
<p>&quot;______: no such object&quot;</p>
<p>errors when trying to open the specgate~.pd file, do I need anything special to open it? The original specgate file works, but as you said it has a missing piece and outputs sound incorrectly</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended/10</guid><dc:creator><![CDATA[gummi]]></dc:creator><pubDate>Fri, 23 Oct 2015 07:07:50 GMT</pubDate></item><item><title><![CDATA[Reply to Is this MSP patch &quot;amplitude gate&quot; possible in PD extended? on Fri, 23 Oct 2015 12:42:00 GMT]]></title><description><![CDATA[<blockquote>
<p>I keep getting a lot of &quot;______: no such object&quot; errors when trying to open the specgate~.pd file, do I need anything special to open it?</p>
</blockquote>
<p>I don't know, I just tested again my <strong>[specgate~]</strong> with pd-extended and it works flawlessly here. Which OS and which pd version are you using?</p>
<blockquote>
<p>The original specgate file works, but as you said it has a missing piece and outputs sound incorrectly</p>
</blockquote>
<p>Well, you can do a little hack to fix it (just like I did with the abstraction <strong>[specgate~]</strong> for pd-extended):</p>
<p><img src="/uploads/files/1445604036816-screenshot-from-2015-10-23-14-40-24.png" alt="Screenshot from 2015-10-23 14:40:24.png" class="img-responsive img-markdown" /></p>
<p>Just multiply the rightmost inlet of <strong>[cartopol~]</strong> by -1 and you should get rid of the sound problems.</p>
<p>But please note this is a hack, if you are serious about doing FFT in pd-extended I would recommend you to update your cyclone library to version the most recent version (alpha57 ): <a href="https://puredata.info/downloads/cyclone/releases/0.1-alpha57" rel="nofollow">https://puredata.info/downloads/cyclone/releases/0.1-alpha57</a></p>
<p>Cheers,<br />
Gilberto</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended/11</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9564/is-this-msp-patch-amplitude-gate-possible-in-pd-extended/11</guid><dc:creator><![CDATA[gsagostinho]]></dc:creator><pubDate>Fri, 23 Oct 2015 12:42:00 GMT</pubDate></item></channel></rss>