@tyldurd Messaging is limited by the control-rate. [Messages( get processed between the blocks of 64 samples.
If you want to update the filters externally at signalrate, which is more expensive, you can use $1 inside the clones.
Some of many ways here:
each stage of packet- or audio-handling could add latency (we dont know your system).
@romulovieira-me see this audio latency tester by @katjav
With this approach, you need some sort of loop-back (and be aware of the audio i/o latency)
Instead of relying only on [metro]
with it's control rate resolution swing
for a steady clock,
without testing, I'd say
calculating with the output of
or a sample-counter and [samplerate~]
should do the trick.
Composing the delay-time-message for [vline~]
by substracting the expected exact time
from the actual time ( at block boundary )
There are many ways to build messages and trigger [vline~] accurately.
Am interested in what you come up with!
Also the time-stamping t3 objects in the iemlib could help!
You can run PD with the
Or load a patch as abstraction with [switch~ 0] in it.
But I doubt this would help here.
does not like that all my arrays are duplicated.
To avoid duplicates, rename your arrays with $0-arrayname
@djaleksei To make sure that you don't get one block of delay by the [s~] [r~] or [throw~} [catch~], add a dummy i/o and connect the sending and receiving objects:
This ensures [s~] is created before the corresponding [r~], just as described in help>audio examples>G05.execution order with delay lines and subpatches
[s~][r~] and [throw~] [catch~] might be the cheapest CPU- and patching-wise
(and [poly] might be part of your interest.
with [switch~] you can turn instances on/off)