[chuck-users] complex envelopes?

eduard aylon eduard.aylon at gmail.com
Mon Aug 14 09:40:42 EDT 2006


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, <babiakb at bellsouth.net>  
<babiakb at bellsouth.net> wrote:

> 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 at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20060814/64242908/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gaussian_env.ck
Type: application/octet-stream
Size: 1886 bytes
Desc: not available
Url : http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20060814/64242908/attachment.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20060814/64242908/attachment-0001.htm 


More information about the chuck-users mailing list