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: 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. 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? 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. -- *Chuck Ivy,* research artist chuckivy@gmail.com 323.842.0357 http://www.chuckivy.com/
Yep, check out the UGen Dyno. Either the preset .limit() or .comp() should suit your needs. Andrew On Dec 2, 2010, at 6:21 PM, Chuck Ivy wrote:
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:
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.
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?
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.
-- Chuck Ivy, research artist chuckivy@gmail.com 323.842.0357 http://www.chuckivy.com/ _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (2)
-
Andrew C. Smith
-
Chuck Ivy