2014-12-18 2:46 GMT+01:00 i go bananas hard.off@gmail.com:
here Raphael, using [switch~]. you can do what you originally asked for. An [env~] object is put inside a subpatch, and that subpatch is explicitly forced to compute one block by banging the [switch~] object.
you can see in this example that you can change the order of execution by sending your original control bangs in different order.
Thank you for your suggestion.
In [env~] documentation (Miller's C.07) it is said that there is some overlapping in the inner working of RMS calculations. I wonder if switching the DSP off does mess up with overlapping (as i understand "overlapping with previous audio block").
Also, first time I see :
[t b b] | / [switch~ 1024 1 1]
I'm surprised about this "double bang", but I suppose this means "do compute one audio block and only one" (here 1024 samples).
cheers, Raphaël