<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014-12-19 5:26 GMT+01:00 i go bananas <span dir="ltr"><<a href="mailto:hard.off@gmail.com" target="_blank">hard.off@gmail.com</a>></span>:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span class="">><span style="font-size:13px">I'm surprised about this "double bang", but I suppose this means "do compute one audio block and only one" (here 1024 samples).</span><div><span style="font-size:13px"><br></span></div></span><div><span style="font-size:13px">actually, i have NO idea why i needed to do the double bang.  For some weird reason, a single bang was triggering the [switch~], but then the next bang did nothing.  Only every second bang was triggering.  So, i used [t b b] just to send 2 bangs and trigger every time.  </span></div><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px">if you remove one cable from one outlet of the [t b b], you will see what i mean. </span></div><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px">not sure if there's a bug in the implementation, or what, but yeah...seems weird. </span></div><span class=""><div><span style="font-size:13px"><br></span></div></span></div></blockquote><div><br></div>yes, i tried to use your trick using only one bang, and behavior was *not always* the same (sometimes seemed not switching...<br></div><div class="gmail_quote">however, i use the following and it works for me :<br><br></div><div class="gmail_quote">[bang~]<br></div><div class="gmail_quote"> |<br></div><div class="gmail_quote">[del 0]<br> |<br></div><div class="gmail_quote">[0 (    [1 (<br> [     /<br></div><div class="gmail_quote">[switch~]<br><br><br></div><div class="gmail_quote">clicking the [1 ( computes one block and then DSP get switched off by [bang~]<br></div><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span class=""><div><span style="font-size:13px"></span></div><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px">></span><span style="font-size:13px">I wonder if switching the DSP off does mess up with overlapping (as i understand "overlapping with previous audio block").</span></div><br style="font-size:13px"></span><div> sorry, i don't actually know how the overlap is implemented, but I did some trial and error tests, sending various signals through the switched off subpatch, and through a subpatch with no [switch~] object.   The outputs of each [env~] in the different subpatches seems to be the same.  </div><div><br></div><div><br></div></div></blockquote><div><br></div><div>yes i'm curious too... <br>let's say i want to get the RMS amplitude of a 2048-samples "grain" of audio.<br>if i use [env~ 2048] however i'm using a 2048-samples window length in argument, i get two RMS amplitude results spaced by 1024 samples. so i'm sitting there and wondering : am looking to the RMS amplitude of first and second half of my 2048 samples ?<br></div><div> </div><br></div></div></div>