if i wanted an envelope in chucK with 6 breakpoints, how could i do this? i only see two ugens, both stk, envelope and adsr. could i somehow use an array and loop with multiple linear envelopes pasted together? (i think an array would be best, but could just also redifine values over and over). has anyone a sample code of this? has anyone else run across this problem in modular synthesis? i think more ugens would be great! thanks brian
I made a class for generating gaussian envelopes. However I don't
think my approach is neither the best nor the fastest nor the most
suitable for what you want to do.
But anyway you'll find the code attached below.
Modifying the gain member of your oscillators at a control rate
according to the "function" you want should work. Alternatively you
can modify a separate gain ugen where your oscillators are connected to.
hope it helps.
eduard

On Aug 14, 2006, at 6:01 AM,
if i wanted an envelope in chucK with 6 breakpoints, how could i do this? i only see two ugens, both stk, envelope and adsr. could i somehow use an array and loop with multiple linear envelopes pasted together? (i think an array would be best, but could just also redifine values over and over). has anyone a sample code of this? has anyone else run across this problem in modular synthesis? i think more ugens would be great! thanks brian
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (2)
-
babiakb@bellsouth.net
-
eduard aylon