<div dir="ltr">Thanks Mario - I appreciate the guidance!<div><br></div><div>Uff... I see I left a clause dangling in my last sentence there! Oops!</div><div><br></div><div>Anyhow, since I posted, I happened to come across the idea of using a one pole filter to smooth the signal and was able to implement something... and then later refine the implementation with the help of colleagues who have more DSP knowledge than I do.</div><div><br></div><div>I&#39;ve got something working fairly well, but will certainly see what this paper has to offer... I&#39;m sure there&#39;s plenty of room for improvement.</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">сб, 29 февр. 2020 г. в 19:30, Mario Buoninfante &lt;<a href="mailto:mario.buoninfante@gmail.com">mario.buoninfante@gmail.com</a>&gt;:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Andrew,</div><div><br></div><div>It seems to me you need an envelope follower.</div><div>You can find more info about a possible implementation here:</div><div><a href="https://www.bbc.co.uk/rd/publications/rdreport_1983_17" target="_blank">https://www.bbc.co.uk/rd/publications/rdreport_1983_17</a></div><div><br></div><div>It&#39;s about dynamic range control (compressor, expander, limiter, gate), and all of them use an envelope follower.</div><div>In alternative, you could start from here as well:</div><div><a href="https://chuck.cs.princeton.edu/doc/examples/deep/follower.ck" target="_blank">https://chuck.cs.princeton.edu/doc/examples/deep/follower.ck</a></div><div><br></div><div>Cheers,</div><div>Mario<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 25 Feb 2020 at 02:38, Andrew Telichan Phillips &lt;<a href="mailto:a.telichanphillips@gmail.com" target="_blank">a.telichanphillips@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I&#39;m wanting to capture the amplitude envelope from a live source and generate feedback loops... I&#39;m starting by obtaining RMS values, as per the examples on the home site: <a href="https://chuck.cs.princeton.edu/doc/examples/analysis/features/rms.ck" target="_blank">https://chuck.cs.princeton.edu/doc/examples/analysis/features/rms.ck</a></div><div><br></div><div>First, does anyone have a preferred way of filtering the data that effectively captures transients and smoothes the decay?</div><div><br></div><div>Second, is there a way to scale the range of this smoothed data - that is, map it onto a defined range to use as a parametric control for another UGen?</div><div><br></div><div>While I&#39;m at it, does ChucK have a filter for DC leak? </div><div><br></div><div>I&#39;m new to ChucK and am used to work, so I appreciate any help (and patience). </div></div>
_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" rel="noreferrer" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</blockquote></div>
_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" rel="noreferrer" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</blockquote></div>