[PD] Granular Synth

Spencer Russell Spencer.Russell at oberlin.edu
Thu Apr 28 18:21:58 CEST 2005


On Thu, Apr 28, 2005 at 02:43:19PM +0200, julien.breval at tremplin-utc.net wrote:
> 
> 2. use cos~ for making the envelope (adapted from an old example in pd-0.36):
> 
> [r~ phase] <--- sent by the scheduling phasor
>  |
> [-~ 0.5]
>  |
> [wrap~]
>  |
> [-~ 0.5]
>  |
>  | [r~ sharpness] <-- 0 for silence, float >= 1 for getting the envelope 
>  |  |
> [*~  ]
>  |
> [clip~ -0.5 0.5]
>  |
> [cos~]
>  |
> [-~ 1]
>  |
> [*~ -0.5]
>  |
> [outlet~] <--- output of the envelope (multiply your signal by it)
> 
Thanks for all the info! I ended up simplifying a bit(but I think
this patch does pretty much the same thing):

[phasor~]
|
[*~ 0.5]
|
[-~ 0.25]
|
[cos~]
|
|  [r sharpness]
|  |
[*~]
|
[clip~ 0 1]
|
[outlet]




More information about the Pd-list mailing list