<div dir="ltr"><div dir="ltr">Hmmm... It seems that occasionally, the bang into the subpatch doesn't get there in the actual start of the block, but in the middle of it. Hence it gives us the illusion of being synced up with the parent. But it's not, it's just that the printed output is in fact delayed already. But that doesn't mean the actual block is delayed, of course.<br></div><div dir="ltr"><br></div><div>Now I made sense of it, right? :)</div><div><br></div><div>thanks!</div></div><br><div class="gmail_quote"><div dir="ltr">Em sex, 11 de jan de 2019 às 18:57, Alexandre Torres Porres <<a href="mailto:porres@gmail.com">porres@gmail.com</a>> escreveu:<br></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"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Em sex, 11 de jan de 2019 às 18:23, Christof Ressi <<a href="mailto:christof.ressi@gmx.at" target="_blank">christof.ressi@gmx.at</a>> escreveu:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
the reason is that a reblocked subpatch has to wait for (subpatch blocksize - parent blocksize) samples until it has enough samples to process its first block. before that it will output zeroes.</blockquote><div><br></div><div>Ok, my intuition was telling me that it needs to wait for "subpatch's blocksize" samples until it has enough samples to process its first block. But trying to make sense, it seems that for the first processing round it waits and fills with zeros until it can receive the block of 64 samples from the parent so it completes its block size, so we actually have the first bigger block of samples containing the 64 sample block from the parent! If you measure the difference, the latency is actually a bit shorter. Yeah, that makes sense in the end, phew...</div><div><br></div><div>The confusion comes from expecting that the larger reblocked subpatch needed to start and get its first samples from the incoming signal sent by the parent. Then you'd have to wait until a whole block is filled until it gets output next. Then the delay would be the block size, right?</div><div><br></div><div>Now onto the other part, which I can't figure out yet. Cause in my attached example, what I just mentioned in the last paragraph actually happens. You can have the blocks synced up and you can see in the output of print~ that the incoming block from the parent counts from 1 to 64, here's the console print.</div><div><br></div><div><b>input:<br></b></div><div><div>1  2  3  4  5  6  7  8  </div><div>9  10  11  12  13  14  15  16  </div><div>17  18  19  20  21  22  23  24  </div><div>25  26  27  28  29  30  31  32  </div><div>33  34  35  36  37  38  39  40  </div><div>41  42  43  44  45  46  47  48  </div><div>49  50  51  52  53  54  55  56  </div><div>57  58  59  60  61  62  63  64  </div></div><div><br></div><div>The reblocked subpatch then counts from 1 to 128!</div><div><br></div><div><b>subpatch:</b><br></div><div><div>1  2  3  4  5  6  7  8  </div><div>9  10  11  12  13  14  15  16  </div><div>17  18  19  20  21  22  23  24  </div><div>25  26  27  28  29  30  31  32  </div><div>33  34  35  36  37  38  39  40  </div><div>41  42  43  44  45  46  47  48  </div><div>49  50  51  52  53  54  55  56  </div><div>57  58  59  60  61  62  63  64  </div><div>65  66  67  68  69  70  71  72  </div><div>73  74  75  76  77  78  79  80  </div><div>81  82  83  84  85  86  87  88  </div><div>89  90  91  92  93  94  95  96  </div><div>97  98  99  100  101  102  103  104  </div><div>105  106  107  108  109  110  111  112  </div><div>113  114  115  116  117  118  119  120  </div><div>121  122  123  124  125  126  127  128 </div></div><div><br></div><div>But the output is actually still delayed by (blocksize - 64). In the output I need a [delay 1 64 samp] object to get the same incoming block.</div><div><br></div><div>And I can't actually get my head around that, just seems weird and I can't make sense.</div><div><br></div><div>Cheers</div></div></div></div></div></div></div></div>
</blockquote></div>