<?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[Normalizing FFT magnitudes]]></title><description><![CDATA[<p>I've been trying to normalize the magnitude results of a FFT signal analysis in a range between 0 and 1.</p>
<p>What I'm doing now is to do list operations on the tables to find the maximum value of the current FFT results and divide all the values by it (see patch attached). This works nicely with Pd generated waves, but it doesn't look good with samples (it's very narrow on the lower frequencies and not spread at all, see picture below).</p>
<p>Here are my questions:</p>
<ol>
<li>Is there a way to normalize the values on the signal domain, without these table operations?</li>
<li>If not, why does the normalized FFT looks so narrow?</li>
</ol>
<p>Many thanks!</p>
<p><a href="/uploads/files/1562926902054-fft_normalization.pd">fft_normalization.pd</a></p>
<p><img src="/uploads/files/1562927220086-fft_normalization.jpg" alt="fft_normalization.jpg" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12161/normalizing-fft-magnitudes</link><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 03:58:14 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/12161.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 12 Jul 2019 10:27:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Normalizing FFT magnitudes on Fri, 12 Jul 2019 10:33:20 GMT]]></title><description><![CDATA[<p>I've been trying to normalize the magnitude results of a FFT signal analysis in a range between 0 and 1.</p>
<p>What I'm doing now is to do list operations on the tables to find the maximum value of the current FFT results and divide all the values by it (see patch attached). This works nicely with Pd generated waves, but it doesn't look good with samples (it's very narrow on the lower frequencies and not spread at all, see picture below).</p>
<p>Here are my questions:</p>
<ol>
<li>Is there a way to normalize the values on the signal domain, without these table operations?</li>
<li>If not, why does the normalized FFT looks so narrow?</li>
</ol>
<p>Many thanks!</p>
<p><a href="/uploads/files/1562926902054-fft_normalization.pd">fft_normalization.pd</a></p>
<p><img src="/uploads/files/1562927220086-fft_normalization.jpg" alt="fft_normalization.jpg" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12161/normalizing-fft-magnitudes</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12161/normalizing-fft-magnitudes</guid><dc:creator><![CDATA[dom1817]]></dc:creator><pubDate>Fri, 12 Jul 2019 10:33:20 GMT</pubDate></item><item><title><![CDATA[Reply to Normalizing FFT magnitudes on Fri, 12 Jul 2019 13:37:27 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/dom1817">@dom1817</a> for me it works when I use [array max $0-magnitude] instead of [list-max]...<br />
...or with the normalize message <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";)" alt=";)" /><br />
<img src="/uploads/files/1562938637531-array.png" alt="array.PNG" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12161/normalizing-fft-magnitudes/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12161/normalizing-fft-magnitudes/2</guid><dc:creator><![CDATA[Jona]]></dc:creator><pubDate>Fri, 12 Jul 2019 13:37:27 GMT</pubDate></item><item><title><![CDATA[Reply to Normalizing FFT magnitudes on Fri, 12 Jul 2019 22:05:50 GMT]]></title><description><![CDATA[<p>Thank you, I somehow didn't notice the [array max] object in the [array] help file.</p>
<p>I did a little research on the Pd list tonight and actually using a [log~] object with appropriate scaling is a good solution. Still not perfect but much better than before, will upload an updated patch soon.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12161/normalizing-fft-magnitudes/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12161/normalizing-fft-magnitudes/3</guid><dc:creator><![CDATA[dom1817]]></dc:creator><pubDate>Fri, 12 Jul 2019 22:05:50 GMT</pubDate></item></channel></rss>