That’s perfectly fine!
Each Env needs to go through asSignal → asWavetable → transmit to buffer (setnMsg). collect
is a loop and allocConsecutive
is implicitly a loop. It doesn’t matter which loop does asSignal and asWavetable (could be both in the first loop, or both in the second, or as you have it).
I was looking for them to be together; reading the code on my phone, I just overlooked it.
Also the 512*2
is correct.
hjh