<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Yep, check out the UGen Dyno. Either the preset .limit() or .comp() should suit your needs.</div><div><br></div><div>Andrew</div><br><div><div>On Dec 2, 2010, at 6:21 PM, Chuck Ivy wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello, chuckers. I'm new to the language and am working on my first project (code to perform Terry Riley's "In C"), and I've got two related questions:<div><br></div><div>First, is there a way to regulate, compress or limit the cumulative volume of shreds? Through the tutorial/documentation, I saw the .gain operator, but I'm thinking that I'll have a variable number of shreds, so figuring out the cumulative gain cuts in advance wouldn't make sense, and really, I'll mostly be in danger of clipping when the additive waves are in phase and frequency, but perhaps not elsewhere, but I wasn't seeing any obvious unit analyzers for compression or gain control.</div>
<div><br></div><div>Second, and parallel to that, is there a way to globally change the gain of the master dac for dynamics when the generators are in different shreds?</div><div><br></div><div>Thanks... I'm just getting started, and I'm sure I'll have more interesting questions down the line once I've gotten beyond my simple note player project.<br clear="all">
<br>-- <br><font color="#660000"><b><font face="'arial black', sans-serif">Chuck Ivy,</font></b> <font face="'arial narrow', sans-serif">research artist</font></font><br><a href="mailto:chuckivy@gmail.com" target="_blank">chuckivy@gmail.com</a><br>
323.842.0357<br><a href="http://www.chuckivy.com/" target="_blank">http://www.chuckivy.com/</a><br>
</div>
_______________________________________________<br>chuck-users mailing list<br><a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>https://lists.cs.princeton.edu/mailman/listinfo/chuck-users<br></blockquote></div><br></body></html>