Hi there, this is a technique for calculating the noise floor of a spectrum, and extracting the peaks.<div><br></div><div>It&#39;d be used pretty much like I04.Noie Gate Miller&#39;s example, that has the &quot;mask&quot; table with a constant multiplier. We&#39;d have instead this &quot;noise-floor&quot; block of audio, also multiplied by a constant.</div>
<div><br></div><div>To get the noise floor, we take the magnitude (or power) spectrum and get the median of small bits of it, like every 32 samples. So the values of every 32 samples would be the median of that section...</div>
<div><br></div><div>this is where I got this from, check page 4 and 5 <a href="http://homepages.cae.wisc.edu/~sethares/software/SpectralTools.pdf">http://homepages.cae.wisc.edu/~sethares/software/SpectralTools.pdf</a></div>
<div><br></div><div>this would be kinda like using the [median] or [median_n] objects, but over audio blocks and not number lists.</div><div><br></div><div>Since there&#39;s the need of calculating this in and using the result back in the same block round into the audio chain, I can&#39;t put the spectrum into a table, and then calculate the median over bits of it.</div>
<div><br></div><div>But then, how to do it? Should I be able to pull this out only if I write a &quot;median~&quot; or [noise_floor~] external?</div><div><br></div><div>Or somehow there&#39;s another way to do this with some existing external, or a similar technique, or even some audio math trick using [fexpr~] or something?</div>
<div><br></div><div>This has to do with the other post I did about a project that attempts to isolate notes into a chord in a spectrum, something like melodyne is does.</div><div><br></div><div>thanks</div><div>Alex </div>