It's right: there is a difference in the group delay of the analog and audio DACs. See here, the last two paragraphs in particular.
I think the difference is about 18 or 19 samples. Notice that the analogs will always be out of sync by a few (fewer than 22) microseconds with each other and with the audio, but that may not matter in your case?
[delread~]
+ [delwrite~]
are the objects you are looking for. [fexpr~]
or [rzero~]
are probably more costly than that. Make sure you check out Pd's own example G05 about execution order. (Although on Bela a block is 16 samples, so you should be able to do it even the read happens before the write)
jestern77 when I use 22050 sample rate, the two audio outs (L and R) are still at 44100? while all other 8 CVs are at 22050 is that correct?
That's correct.
PS:
lokki is bigger then the one from the bbb dac,
it's not the BBB DAC, it's the DAC on the Bela cape.